| java.lang.Object com.ibm.icu.dev.test.AbstractTestLog com.ibm.icu.dev.test.TestFmwk com.ibm.icu.dev.test.translit.UnicodeSetTest
Inner Class :public class TokenSymbolTable implements SymbolTable | |
Method Summary | |
final static String | CharsToUnicodeString(String s) | void | CheckSpeed(SortedSet iset, SortedSet jset, String message, int iterations) | void | CheckSpeed2(SortedSet iset, SortedSet jset, String message, int iterations) | void | CheckSpeed3(SortedSet iset, SortedSet jset, String message, int iterations) | public void | SetSpeed2(int size) | public void | TestAPI() | public void | TestAddRemove() | public void | TestCategories() | public void | TestClone() | public void | TestCloseOver() Test closure API. | public void | TestContainsString() | public void | TestEscapePattern() | public void | TestExhaustive() | public void | TestFrozen() Test that frozen classes disallow changes. | public void | TestIndexOf() Test the indexOf() and charAt() methods. | public void | TestMinimalRep() Make sure minimal representation is maintained. | public void | TestPatterns() | public void | TestPosixClasses() Test that Posix style character classes [:digit:], etc. | public void | TestPrettyPrinting() | public void | TestPropertySet() Test the [:Latin:] syntax. | public void | TestScriptNames() Make sure each script name and abbreviated name can be used
to construct a UnicodeSet. | public void | TestScriptSet() Test the [:Latin:] syntax. | public void | TestSetRelation() | public void | TestSetSpeed() | public void | TestStrings() | public void | TestSurrogate() | public void | TestSymbolTable() | public void | TestToPattern() Test toPattern(). | public void | TestUnicodeSetStrings() | void | _testAdd(int a, int b) | void | _testComplement(int a) | void | _testRemove(int a, int b) | void | _testRetain(int a, int b) | void | _testXor(int a, int b) | UnicodeSet | bitsToSet(int a) Convert a bitmask to a UnicodeSet. | void | checkCanonicalRep(UnicodeSet set, String msg) Check that ranges are monotonically increasing and non-
overlapping. | boolean | checkEqual(UnicodeSet s, UnicodeSet t, String message) | public void | checkModification(UnicodeSet original, boolean isFrozen) | boolean | checkPat(String source, UnicodeSet testSet) | boolean | checkPat(String source, UnicodeSet testSet, String pat) | void | checkRoundTrip(UnicodeSet s) Basic consistency check for a few items. | void | checkSetRelation(SortedSet a, SortedSet b, String message) | UnicodeSet | copyWithIterator(UnicodeSet s, boolean withRange) | boolean | dumbHasRelation(Collection A, int filter, Collection B) | void | expectContainment(String pat, String charsIn, String charsOut) Expect the given set to contain the characters in charsIn and
to not contain those in charsOut. | void | expectContainment(UnicodeSet set, String charsIn, String charsOut) Expect the given set to contain the characters in charsIn and
to not contain those in charsOut. | void | expectEqual(String name, String pat1, String pat2) | void | expectPairs(UnicodeSet set, String expectedPairs) | void | expectPattern(UnicodeSet set, String pattern, String expectedPairs) | void | expectRelation(Object relationObj, Object set1Obj, Object set2Obj, String message) Test function. | void | expectToPattern(UnicodeSet set, String expPat, String[] expStrings) | static String | getPairs(UnicodeSet set) Return the representation of an inversion list based UnicodeSet
as a pairs list. | public static void | main(String[] args) | void | pick(int bits, Object[] examples, SortedSet output) | static int | setToBits(UnicodeSet x) Convert a UnicodeSet to a bitmask. | public boolean | toPatternAux(int start, int end) | public static int | unescapeAt(String s, int[] offset16) | public static String | unescapeLeniently(String s) Convert all escapes in a given string using unescapeAt(). |
I_ANYI_CONTAINSI_DISJOINTI_NO_BI_ISCONTAINEDI_EQUALSI_NO_AI_NONE | final static Integer I_ANYI_CONTAINSI_DISJOINTI_NO_BI_ISCONTAINEDI_EQUALSI_NO_AI_NONE(Code) | | |
OTHER_TOPATTERN_TESTS | static String[] OTHER_TOPATTERN_TESTS(Code) | | |
RELATION_NAME | final public static String[] RELATION_NAME(Code) | | |
SetSpeed2 | public void SetSpeed2(int size)(Code) | | |
TestAPI | public void TestAPI()(Code) | | |
TestAddRemove | public void TestAddRemove()(Code) | | |
TestCategories | public void TestCategories()(Code) | | |
TestClone | public void TestClone()(Code) | | Test cloning of UnicodeSet
|
TestCloseOver | public void TestCloseOver()(Code) | | Test closure API.
|
TestContainsString | public void TestContainsString()(Code) | | |
TestEscapePattern | public void TestEscapePattern()(Code) | | |
TestExhaustive | public void TestExhaustive()(Code) | | |
TestFrozen | public void TestFrozen()(Code) | | Test that frozen classes disallow changes. For 4217
|
TestIndexOf | public void TestIndexOf()(Code) | | Test the indexOf() and charAt() methods.
|
TestMinimalRep | public void TestMinimalRep()(Code) | | Make sure minimal representation is maintained.
|
TestPatterns | public void TestPatterns()(Code) | | |
TestPosixClasses | public void TestPosixClasses()(Code) | | Test that Posix style character classes [:digit:], etc.
have the Unicode definitions from TR 18.
|
TestPrettyPrinting | public void TestPrettyPrinting()(Code) | | |
TestPropertySet | public void TestPropertySet()(Code) | | Test the [:Latin:] syntax.
|
TestScriptNames | public void TestScriptNames()(Code) | | Make sure each script name and abbreviated name can be used
to construct a UnicodeSet.
|
TestScriptSet | public void TestScriptSet()(Code) | | Test the [:Latin:] syntax.
|
TestSetRelation | public void TestSetRelation()(Code) | | |
TestSetSpeed | public void TestSetSpeed()(Code) | | |
TestStrings | public void TestStrings()(Code) | | |
TestSurrogate | public void TestSurrogate()(Code) | | |
TestSymbolTable | public void TestSymbolTable()(Code) | | |
TestToPattern | public void TestToPattern() throws Exception(Code) | | Test toPattern().
|
TestUnicodeSetStrings | public void TestUnicodeSetStrings()(Code) | | |
_testAdd | void _testAdd(int a, int b)(Code) | | |
_testComplement | void _testComplement(int a)(Code) | | |
_testRemove | void _testRemove(int a, int b)(Code) | | |
_testRetain | void _testRetain(int a, int b)(Code) | | |
_testXor | void _testXor(int a, int b)(Code) | | |
checkCanonicalRep | void checkCanonicalRep(UnicodeSet set, String msg)(Code) | | Check that ranges are monotonically increasing and non-
overlapping.
|
checkModification | public void checkModification(UnicodeSet original, boolean isFrozen)(Code) | | |
checkRoundTrip | void checkRoundTrip(UnicodeSet s)(Code) | | Basic consistency check for a few items.
That the iterator works, and that we can create a pattern and
get the same thing back
|
expectContainment | void expectContainment(String pat, String charsIn, String charsOut)(Code) | | Expect the given set to contain the characters in charsIn and
to not contain those in charsOut.
|
expectContainment | void expectContainment(UnicodeSet set, String charsIn, String charsOut)(Code) | | Expect the given set to contain the characters in charsIn and
to not contain those in charsOut.
|
expectRelation | void expectRelation(Object relationObj, Object set1Obj, Object set2Obj, String message)(Code) | | Test function. Make sure that the sets have the right relation
|
getPairs | static String getPairs(UnicodeSet set)(Code) | | Return the representation of an inversion list based UnicodeSet
as a pairs list. Ranges are listed in ascending Unicode order.
For example, the set [a-zA-M3] is represented as "33AMaz".
|
setToBits | static int setToBits(UnicodeSet x)(Code) | | Convert a UnicodeSet to a bitmask. Only the characters
U+0000 to U+0020 are represented in the bitmask.
|
toPatternAux | public boolean toPatternAux(int start, int end)(Code) | | |
unescapeAt | public static int unescapeAt(String s, int[] offset16)(Code) | | |
unescapeLeniently | public static String unescapeLeniently(String s)(Code) | | Convert all escapes in a given string using unescapeAt().
Leave invalid escape sequences unchanged.
|
Fields inherited from com.ibm.icu.dev.test.TestFmwk | protected TestParams params(Code)(Java Doc)
|
Methods inherited from com.ibm.icu.dev.test.TestFmwk | protected boolean assertEquals(String message, boolean expected, boolean actual)(Code)(Java Doc) protected boolean assertEquals(String message, long expected, long actual)(Code)(Java Doc) protected boolean assertEquals(String message, float expected, float actual, double error)(Code)(Java Doc) protected boolean assertEquals(String message, double expected, double actual, double error)(Code)(Java Doc) protected boolean assertEquals(String message, Object expected, Object actual)(Code)(Java Doc) protected boolean assertFalse(String message, boolean condition)(Code)(Java Doc) protected boolean assertNotEquals(String message, Object expected, Object actual)(Code)(Java Doc) protected boolean assertNotNull(String message, Object actual)(Code)(Java Doc) protected boolean assertNotSame(String message, Object expected, Object actual)(Code)(Java Doc) protected boolean assertNull(String message, Object actual)(Code)(Java Doc) protected boolean assertSame(String message, Object expected, Object actual)(Code)(Java Doc) protected boolean assertTrue(String message, boolean condition)(Code)(Java Doc) protected int checkArray(String msg, String array, String expected)(Code)(Java Doc) protected int checkArray(String msg, Locale array, String expected)(Code)(Java Doc) protected int checkArray(String msg, ULocale array, String expected)(Code)(Java Doc) protected Random createRandom()(Code)(Java Doc) protected void fail(String message)(Code)(Java Doc) protected static synchronized java.util.Date getDate(int year, int month, int dom)(Code)(Java Doc) protected String getDescription()(Code)(Java Doc) protected int getErrorCount()(Code)(Java Doc) public PrintWriter getErrorLogPrintWriter()(Code)(Java Doc) public int getInclusion()(Code)(Java Doc) public PrintWriter getLogPrintWriter()(Code)(Java Doc) protected String getMethodDescription(String name)(Code)(Java Doc) protected TestFmwk getSubtest(String prefix) throws TestFmwkException(Code)(Java Doc) protected Target getTargets(String targetName)(Code)(Java Doc) public String getTranslitTestFilter()(Code)(Java Doc) protected void handleException(Throwable e)(Code)(Java Doc) public static String hex(char[] s)(Code)(Java Doc) public static String hex(byte[] s)(Code)(Java Doc) public static String hex(char ch)(Code)(Java Doc) public static String hex(int ch)(Code)(Java Doc) public static String hex(String s)(Code)(Java Doc) public static String hex(StringBuffer s)(Code)(Java Doc) protected void init() throws Exception(Code)(Java Doc) public boolean isDateAtLeast(int year, int month, int day)(Code)(Java Doc) public boolean isMemTracking()(Code)(Java Doc) public boolean isModularBuild()(Code)(Java Doc) public boolean isQuick()(Code)(Java Doc) public boolean isTiming()(Code)(Java Doc) public boolean isVerbose()(Code)(Java Doc) public void msg(String message, int level, boolean incCount, boolean newln)(Code)(Java Doc) public boolean noData()(Code)(Java Doc) public static String prettify(String s)(Code)(Java Doc) public static String prettify(StringBuffer s)(Code)(Java Doc) public Target resolveTarget(TestParams params)(Code)(Java Doc) public Target resolveTarget(TestParams params, String targetPath)(Code)(Java Doc) public void run(String[] args)(Code)(Java Doc) public int run(String[] args, PrintWriter log)(Code)(Java Doc) public int runTests(TestParams params, String[] tests)(Code)(Java Doc) protected TimeZone safeGetTimeZone(String id)(Code)(Java Doc) public void usage()(Code)(Java Doc) public static void usage(PrintWriter pw, String className)(Code)(Java Doc) protected boolean validate()(Code)(Java Doc) protected boolean validateMethod(String name)(Code)(Java Doc)
|
Fields inherited from com.ibm.icu.dev.test.AbstractTestLog | public static boolean dontSkipForVersion(Code)(Java Doc)
|
|
|