Searched refs:assertParserError (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParserTestsBase.java | 60 protected void assertParserError(final String message, final String keySpec, in assertParserError() method in KeySpecParserTestsBase 209 assertParserError("Illegal hexadecimal code", "a|0x100X", in testCodes() 217 assertParserError("Illegally escaped hexadecimal code", "a|0x1\\000", in testCodes() 266 assertParserError("Empty label with outputText", "|a", in testFormatError() 268 assertParserError("Empty label with code", "|" + CODE_SETTINGS, in testFormatError() 270 assertParserError("Empty outputText with label", "a|", in testFormatError() 272 assertParserError("Empty outputText with icon", ICON_SETTINGS + "|", in testFormatError() 274 assertParserError("Icon without code", ICON_SETTINGS, in testFormatError() 276 assertParserError("Non existing icon", ICON_NON_EXISTING + "|abc", in testFormatError() 278 assertParserError("Non existing code", "abc|" + CODE_NON_EXISTING, in testFormatError() [all …]
|
D | MoreKeySpecTests.java | 50 assertParserError("Null spec", null, in testEmptySpec() 52 assertParserError("Empty spec", "", in testEmptySpec()
|