Home
last modified time | relevance | path

Searched refs:TEST_KEY (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/cache/
DMapMakerComparisonBenchmark.java30 private static final String TEST_KEY = "test key"; field in MapMakerComparisonBenchmark
40 map.put(TEST_KEY, TEST_VALUE); in setUp()
41 cache.put(TEST_KEY, TEST_VALUE); in setUp()
42 cacheNoStats.put(TEST_KEY, TEST_VALUE); in setUp()
48 map.get(TEST_KEY); in concurrentHashMap()
55 cache.getIfPresent(TEST_KEY); in cacheBuilder_stats()
62 cacheNoStats.getIfPresent(TEST_KEY); in cacheBuilder()
/external/guava/android/guava-tests/benchmark/com/google/common/cache/
DMapMakerComparisonBenchmark.java30 private static final String TEST_KEY = "test key"; field in MapMakerComparisonBenchmark
40 map.put(TEST_KEY, TEST_VALUE); in setUp()
41 cache.put(TEST_KEY, TEST_VALUE); in setUp()
42 cacheNoStats.put(TEST_KEY, TEST_VALUE); in setUp()
48 map.get(TEST_KEY); in concurrentHashMap()
55 cache.getIfPresent(TEST_KEY); in cacheBuilder_stats()
62 cacheNoStats.getIfPresent(TEST_KEY); in cacheBuilder()
/external/python/oauth2client/tests/contrib/
Dtest_xsrfutil.py26 TEST_KEY = b'test key' variable
56 token = xsrfutil.generate_token(TEST_KEY,
60 hmac.new.assert_called_once_with(TEST_KEY)
89 token = xsrfutil.generate_token(TEST_KEY,
93 hmac.new.assert_called_once_with(TEST_KEY)
226 token = xsrfutil.generate_token(TEST_KEY,
232 self.assertTrue(xsrfutil.validate_token(TEST_KEY,
240 self.assertTrue(xsrfutil.validate_token(TEST_KEY,
248 self.assertFalse(xsrfutil.validate_token(TEST_KEY,
262 self.assertFalse(xsrfutil.validate_token(TEST_KEY,
[all …]
/external/libxkbcommon/test/
Dstate.c598 #define TEST_KEY(key, expected_utf8, expected_utf32) do { \ in test_get_utf8_utf32() macro
606 TEST_KEY(KEY_A, "a", 0x61); in test_get_utf8_utf32()
607 TEST_KEY(KEY_ESC, "\x1B", 0x1B); in test_get_utf8_utf32()
608 TEST_KEY(KEY_1, "1", 0x31); in test_get_utf8_utf32()
611 TEST_KEY(XKB_KEYCODE_INVALID - 8, "", 0); in test_get_utf8_utf32()
612 TEST_KEY(300, "", 0); in test_get_utf8_utf32()
615 TEST_KEY(KEY_LEFTCTRL, "", 0); in test_get_utf8_utf32()
616 TEST_KEY(KEY_NUMLOCK, "", 0); in test_get_utf8_utf32()
619 TEST_KEY(KEY_6, "HELLO", 0); in test_get_utf8_utf32()
620 TEST_KEY(KEY_7, "YES THIS IS DOG", 0); in test_get_utf8_utf32()
[all …]
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/utils/
DIndentingPrintWriterTest.java34 private static final String TEST_KEY = "key"; field in IndentingPrintWriterTest
78 indentingPrintWriter.printPair(TEST_KEY, TEST_VALUE); in printPair_singlePair()
80 assertThat(stringWriter.toString()).isEqualTo(TEST_KEY + "=" + TEST_VALUE + "\n"); in printPair_singlePair()