Home
last modified time | relevance | path

Searched refs:testKey (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/unittests/ADT/
DStringMapTest.cpp22 static const char testKey[]; member in __anonc95759f70111::StringMapTest
37 EXPECT_EQ(0u, testMap.count(testKey)); in assertEmptyMap()
40 EXPECT_TRUE(testMap.find(testKey) == testMap.end()); in assertEmptyMap()
54 EXPECT_STREQ(testKey, it->first().data()); in assertSingleItemMap()
60 EXPECT_EQ(1u, testMap.count(testKey)); in assertSingleItemMap()
63 EXPECT_TRUE(testMap.find(testKey) == testMap.begin()); in assertSingleItemMap()
70 const char StringMapTest::testKey[] = "key"; member in __anonc95759f70111::StringMapTest
72 const char* StringMapTest::testKeyFirst = testKey;
73 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
74 const std::string StringMapTest::testKeyStr(testKey);
[all …]
/external/llvm/unittests/ADT/
DStringMapTest.cpp24 static const char testKey[]; member in __anon4fa0284b0111::StringMapTest
39 EXPECT_EQ(0u, testMap.count(testKey)); in assertEmptyMap()
42 EXPECT_TRUE(testMap.find(testKey) == testMap.end()); in assertEmptyMap()
56 EXPECT_STREQ(testKey, it->first().data()); in assertSingleItemMap()
62 EXPECT_EQ(1u, testMap.count(testKey)); in assertSingleItemMap()
65 EXPECT_TRUE(testMap.find(testKey) == testMap.begin()); in assertSingleItemMap()
72 const char StringMapTest::testKey[] = "key"; member in __anon4fa0284b0111::StringMapTest
74 const char* StringMapTest::testKeyFirst = testKey;
75 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
76 const std::string StringMapTest::testKeyStr(testKey);
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedPreferencesTest.java185 final String testKey = "foo"; in shouldTriggerRegisteredListeners() local
196 anotherSharedPreferences.edit().putString(testKey, "bar").commit(); in shouldTriggerRegisteredListeners()
198 assertThat(transcript).containsExactly(testKey+ " called"); in shouldTriggerRegisteredListeners()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java1268 CollationKey testKey[] = new CollationKey[testStr.length];
1270 testKey[i] = coll.getCollationKey(testStr[i]);
1273 Arrays.sort(testKey);
1274 for(int i = 0; i < testKey.length - 1; i ++) {
1276 = testKey[i].getBound(CollationKey.BoundMode.LOWER,
1278 for (int j = i + 1; j < testKey.length; j ++) {
1280 = testKey[j].getBound(CollationKey.BoundMode.UPPER,
1283 if (lower.compareTo(testKey[k]) > 0) {
1287 if (upper.compareTo(testKey[k]) <= 0) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java1271 CollationKey testKey[] = new CollationKey[testStr.length];
1273 testKey[i] = coll.getCollationKey(testStr[i]);
1276 Arrays.sort(testKey);
1277 for(int i = 0; i < testKey.length - 1; i ++) {
1279 = testKey[i].getBound(CollationKey.BoundMode.LOWER,
1281 for (int j = i + 1; j < testKey.length; j ++) {
1283 = testKey[j].getBound(CollationKey.BoundMode.UPPER,
1286 if (lower.compareTo(testKey[k]) > 0) {
1290 if (upper.compareTo(testKey[k]) <= 0) {
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java4474 byte[] testKey = "0123456789012345".getBytes(StandardCharsets.US_ASCII); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
4478 encCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(testKey, "AES")); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
4486 cipher.init(Cipher.DECRYPT_MODE, new SecretKeySpec(testKey, "AES")); in testDecryptBufferMultipleBlockSize_mustNotThrowException()