ICU-22707 disable UTS46 test for now

This commit is contained in:
Markus Scherer 2024-06-05 15:19:37 -07:00
parent 4312a4e5cb
commit f9d2d561a1
2 changed files with 8 additions and 0 deletions

View file

@ -1135,6 +1135,10 @@ U_DEFINE_LOCAL_OPEN_POINTER(LocalStdioFilePointer, FILE, fclose);
// http://www.unicode.org/Public/idna/latest/IdnaTest.txt
void UTS46Test::IdnaTest() {
if (logKnownIssue("ICU-22707",
"The UTS #46 spec is changing for Unicode 16; need to adjust ICU impl")) {
return;
}
IcuTestErrorCode errorCode(*this, "IdnaTest");
const char *sourceTestDataPath = getSourceTestData(errorCode);
if (errorCode.errIfFailureAndReset("unable to find the source/test/testdata "

View file

@ -841,6 +841,10 @@ public class UTS46Test extends CoreTestFmwk {
@Test
public void IdnaTest() throws IOException {
if (logKnownIssue("ICU-22707",
"The UTS #46 spec is changing for Unicode 16; need to adjust ICU impl")) {
return;
}
BufferedReader idnaTestFile = TestUtil.getDataReader("unicode/IdnaTestV2.txt", "UTF-8");
Pattern semi = Pattern.compile(";");
try {