Home
last modified time | relevance | path

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

/external/llvm/unittests/ADT/
DStringMapTest.cpp24 static const char testKey[]; member in __anon95d438920111::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 __anon95d438920111::StringMapTest
74 const char* StringMapTest::testKeyFirst = testKey;
75 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
76 const std::string StringMapTest::testKeyStr(testKey);
[all …]
/external/llvm-project/llvm/unittests/ADT/
DStringMapTest.cpp24 static const char testKey[]; member in __anon076294400111::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 __anon076294400111::StringMapTest
74 const char* StringMapTest::testKeyFirst = testKey;
75 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
76 const std::string StringMapTest::testKeyStr(testKey);
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DModifierKeySimplifier.java326 ModifierKey testKey = allKeys.iterator().next(); in keysAreRelated() local
328 allKeys.remove(testKey); in keysAreRelated()
329 allKeys.remove(testKey.parent()); in keysAreRelated()
330 allKeys.remove(testKey.sibling()); in keysAreRelated()
331 allKeys.removeAll(testKey.children()); in keysAreRelated()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedPreferencesTest.java186 final String testKey = "foo"; in shouldTriggerRegisteredListeners() local
197 anotherSharedPreferences.edit().putString(testKey, "bar").commit(); in shouldTriggerRegisteredListeners()
199 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/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DClientCallImplTest.java501 final Context.Key<String> testKey = Context.key("testing"); in callerContextPropagatedToListener() local
502 Context context = Context.current().withValue(testKey, "testValue"); in callerContextPropagatedToListener()
518 context = Context.current().withValue(testKey, "badValue"); in callerContextPropagatedToListener()
553 if (!"testValue".equals(testKey.get())) { in callerContextPropagatedToListener()
DManagedChannelImplTest.java1394 final Context.Key<String> testKey = Context.key("testing"); in informationPropagatedToNewStreamAndCallCredentials() local
1395 Context ctx = Context.current().withValue(testKey, "testValue"); in informationPropagatedToNewStreamAndCallCredentials()
1412 assertEquals("testValue", testKey.get()); in informationPropagatedToNewStreamAndCallCredentials()
1415 assertNull(testKey.get()); in informationPropagatedToNewStreamAndCallCredentials()
1451 assertEquals("testValue", testKey.get(credsApplyContexts.poll())); in informationPropagatedToNewStreamAndCallCredentials()
1461 assertEquals("testValue", testKey.get(newStreamContexts.poll())); in informationPropagatedToNewStreamAndCallCredentials()
1463 assertNull(testKey.get()); in informationPropagatedToNewStreamAndCallCredentials()
1474 assertEquals("testValue", testKey.get(credsApplyContexts.poll())); in informationPropagatedToNewStreamAndCallCredentials()
1485 assertEquals("testValue", testKey.get(newStreamContexts.poll())); in informationPropagatedToNewStreamAndCallCredentials()
1487 assertNull(testKey.get()); in informationPropagatedToNewStreamAndCallCredentials()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsUnixLikeFileSystemTest.java1877 Object testKey = getFileKey("/test"); in testMove_withoutReplaceExisting_failsWhenTargetExists() local
1888 assertThatPath("/test").containsBytes(bytes).and().attribute("fileKey").is(testKey); in testMove_withoutReplaceExisting_failsWhenTargetExists()
1900 assertThatPath("/test").containsBytes(bytes).and().attribute("fileKey").is(testKey); in testMove_withoutReplaceExisting_failsWhenTargetExists()
/external/tensorflow/tensorflow/python/ops/
Dstateful_random_ops_test.py357 def testKey(self): member in StatefulRandomOpsTest
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java4544 byte[] testKey = "0123456789012345".getBytes(StandardCharsets.US_ASCII); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
4548 encCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(testKey, "AES")); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
4556 cipher.init(Cipher.DECRYPT_MODE, new SecretKeySpec(testKey, "AES")); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java4540 byte[] testKey = "0123456789012345".getBytes(StandardCharsets.US_ASCII); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
4544 encCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(testKey, "AES")); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
4552 cipher.init(Cipher.DECRYPT_MODE, new SecretKeySpec(testKey, "AES")); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
/external/python/pyasn1/tests/type/
Dtest_univ.py88 def testKey(self): member in NoValueTestCase