Searched refs:expectedToken (Results 1 – 2 of 2) sorted by relevance
/external/smali/smali/src/test/java/org/jf/smali/ |
D | LexerTest.java | 187 ExpectedToken expectedToken = expectedTokens.get(expectedTokenIndex++); in runTest() local 188 if (!tokenTypesByName.containsKey(expectedToken.tokenName)) { in runTest() 189 Assert.fail("Unknown token: " + expectedToken.tokenName); in runTest() 191 int expectedTokenType = tokenTypesByName.get(expectedToken.tokenName); in runTest() 195 … expectedTokenIndex-1, expectedToken.tokenName, getTokenName(token.getType()), token.getText())); in runTest() 198 if (expectedToken.tokenText != null) { in runTest() 199 if (!expectedToken.tokenText.equals(token.getText())) { in runTest() 202 … expectedTokenIndex - 1, expectedToken.tokenText, token.getText())); in runTest()
|
/external/icu/icu4c/source/tools/genrb/ |
D | parse.cpp | 250 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UStrin… in expect() argument 266 if (token != expectedToken) in expect() 269 error(line, "expecting %s, got %s", tokenNames[expectedToken], tokenNames[token]); in expect()
|