HomeSort by relevance Sort by last modified time
    Searched full:expectedtokens (Results 1 - 5 of 5) sorted by null

  /external/clang/unittests/Lex/
LexerTest.cpp 60 ArrayRef<tok::TokenKind> ExpectedTokens) {
82 EXPECT_EQ(ExpectedTokens.size(), toks.size());
83 for (unsigned i = 0, e = ExpectedTokens.size(); i != e; ++i) {
84 EXPECT_EQ(ExpectedTokens[i], toks[i].getKind());
112 std::vector<tok::TokenKind> ExpectedTokens;
113 ExpectedTokens.push_back(tok::identifier);
114 ExpectedTokens.push_back(tok::l_paren);
115 ExpectedTokens.push_back(tok::identifier);
116 ExpectedTokens.push_back(tok::r_paren);
120 ExpectedTokens);
    [all...]
  /external/smali/smali/src/test/java/
LexerTest.java 150 List<ExpectedToken> expectedTokens = expectedTokensParser.getExpectedTokens();
172 if (expectedTokenIndex >= expectedTokens.size()) {
181 ExpectedToken expectedToken = expectedTokens.get(expectedTokenIndex++);
201 if (expectedTokenIndex < expectedTokens.size()) {
202 Assert.fail(String.format("Not enough tokens. Expecting %d tokens, but got %d", expectedTokens.size(),
  /external/smali/smali/src/test/antlr3/org/jf/smali/
expectedTokensTestGrammar.g 98 private final ArrayList<ExpectedToken> expectedTokens = new ArrayList<ExpectedToken>();
101 return Collections.unmodifiableList(expectedTokens);
148 expectedTokens.add(new ExpectedToken($TOKEN_NAME.getText(), $STRING_LITERAL.getText()));
152 expectedTokens.add(new ExpectedToken($TOKEN_NAME.getText()));
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2Test.java     [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
SearchIndexManagerTest.java 487 private void checkSplitIntoFtsTokens(String input, String... expectedTokens) {
488 MoreAsserts.assertEquals(expectedTokens,
520 long contactId, String expectedContent, String expectedName, String expectedTokens) {
524 assertEquals(expectedTokens, dbHelper.querySearchIndexTokensForTest(contactId));

Completed in 1034 milliseconds