mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-1749 enhance string checking
X-SVN-Rev: 8529
This commit is contained in:
parent
f6c3d57ffc
commit
9c1e126acb
1 changed files with 12 additions and 3 deletions
|
@ -5,8 +5,8 @@
|
|||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/UnicodeSetTest.java,v $
|
||||
* $Date: 2002/03/18 01:08:46 $
|
||||
* $Revision: 1.27 $
|
||||
* $Date: 2002/04/26 21:30:48 $
|
||||
* $Revision: 1.28 $
|
||||
*
|
||||
*****************************************************************************************
|
||||
*/
|
||||
|
@ -1079,7 +1079,16 @@ public class UnicodeSetTest extends TestFmwk {
|
|||
in = false;
|
||||
continue;
|
||||
}
|
||||
// TODO
|
||||
boolean contained = set.contains(expStrings[i]);
|
||||
if (contained == in) {
|
||||
logln("Ok: " + expPat +
|
||||
(contained ? " contains {" : " does not contain {") +
|
||||
Utility.escape(expStrings[i]) + "}");
|
||||
} else {
|
||||
errln("FAIL: " + expPat +
|
||||
(contained ? " contains {" : " does not contain {") +
|
||||
Utility.escape(expStrings[i]) + "}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue