mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
Merge 7644adcaea
into 770c4b8042
This commit is contained in:
commit
b8a9c01d2e
2 changed files with 9 additions and 0 deletions
|
@ -156,6 +156,7 @@ void RBBITest::runIndexedTest( int32_t index, UBool exec, const char* &name, cha
|
|||
TESTCASE_AUTO(TestBug22585);
|
||||
TESTCASE_AUTO(TestBug22602);
|
||||
TESTCASE_AUTO(TestBug22636);
|
||||
TESTCASE_AUTO(TestBug22848);
|
||||
|
||||
#if U_ENABLE_TRACING
|
||||
TESTCASE_AUTO(TestTraceCreateCharacter);
|
||||
|
@ -4861,6 +4862,13 @@ void RBBITest::TestBug22636() {
|
|||
assertEquals(WHERE, ec, U_ZERO_ERROR);
|
||||
}
|
||||
|
||||
void RBBITest::TestBug22848() {
|
||||
if (quick || logKnownIssue("ICU-22848", "Very slow case")) { return; }
|
||||
UParseError pe {};
|
||||
UErrorCode ec {U_ZERO_ERROR};
|
||||
RuleBasedBreakIterator bi(u".*X..................;", pe, ec);
|
||||
}
|
||||
|
||||
void RBBITest::TestBug22584() {
|
||||
// Creating a break iterator from a rule consisting of a very long
|
||||
// literal input string caused a stack overflow when deleting the
|
||||
|
|
|
@ -106,6 +106,7 @@ public:
|
|||
void TestBug22585();
|
||||
void TestBug22602();
|
||||
void TestBug22636();
|
||||
void TestBug22848();
|
||||
|
||||
#if U_ENABLE_TRACING
|
||||
void TestTraceCreateCharacter();
|
||||
|
|
Loading…
Add table
Reference in a new issue