ICU-11248 use '@ss=' and not x-uli

remove an old test hack.

X-SVN-Rev: 37940
This commit is contained in:
Steven R. Loomis 2015-09-10 07:00:30 +00:00
parent e12c286572
commit 98f5987b43
2 changed files with 1 additions and 22 deletions

View file

@ -1294,25 +1294,6 @@ void RBBITest::TestExtended() {
delete tp.bi;
tp.bi = BreakIterator::createSentenceInstance(locale, status);
skipTest = false;
// Interim hack - remove once http://bugs.icu-project.org/trac/ticket/11770 implemented
{
UErrorCode subStatus = status;
char buf[100];
int32_t len = locale.getKeywordValue("x-uli",buf,100,subStatus);
if(U_SUCCESS(subStatus) && len > 0) {
logKnownIssue("11770", "Remove 'x-uli' locale ID hack from rbbitst.cpp and rbbitst.txt, replace with ss=standard");
#if !UCONFIG_NO_FILTERED_BREAK_ITERATION
LocalPointer<FilteredBreakIteratorBuilder> builder(FilteredBreakIteratorBuilder::createInstance(locale, status), status);
if(U_SUCCESS(status)) {
tp.bi = builder->build(tp.bi, status);
}
#else
infoln("Skipping subtest due to UCONFIG_NO_FILTERED_BREAK_ITERATION");
skipTest = true;
#endif //!UCONFIG_NO_FILTERED_BREAK_ITERATION
}
}
charIdx += 5;
break;
}

View file

@ -40,9 +40,7 @@
<data>\
•In the meantime Mr. •Weston arrived with his small ship, which he had now recovered. •Capt. •Gorges, who informed the Sgt. here that one purpose of his going east was to meet with Mr. •Weston, took this opportunity to call him to account for some abuses he had to lay to his charge.•</data>
# Remove 'x-uli=true' when http://bugs.icu-project.org/trac/ticket/11770 fixed - replace wiht ss=standard
# also fix rbbitest.cpp
<locale en@x-uli=true&ss=standard>
<locale en@ss=standard>
<sent>
<data>\
•In the meantime Mr. Weston arrived with his small ship, which he had now recovered. •Capt. Gorges, who informed the Sgt. here that one purpose of his going east was to meet with Mr. Weston, took this opportunity to call him to account for some abuses he had to lay to his charge.•</data>