Searched refs:expectedKeys (Results 1 – 8 of 8) sorted by relevance
/third_party/node/test/parallel/ |
D | test-readline-keys.js | 24 function addTest(sequences, expectedKeys) { argument 29 if (!Array.isArray(expectedKeys)) { 30 expectedKeys = [ expectedKeys ]; 33 expectedKeys = expectedKeys.map(extend); 40 assert.deepStrictEqual(keys, expectedKeys); 52 const addKeyIntervalTest = (sequences, expectedKeys, interval = 550, argument 60 if (!Array.isArray(expectedKeys)) { 61 expectedKeys = [ expectedKeys ]; 64 expectedKeys = expectedKeys.map(extend); 76 assert.deepStrictEqual(keys, expectedKeys);
|
D | test-readline-emit-keypress-events.js | 12 const expectedKeys = [ variable 31 assert.deepStrictEqual(keys, expectedKeys); 47 assert.deepStrictEqual(keys, expectedKeys); 71 assert.deepStrictEqual(keys, expectedKeys);
|
D | test-path-parse-format.js | 160 const expectedKeys = Object.keys(expected); 161 let failed = (actualKeys.length !== expectedKeys.length); 165 if (!expectedKeys.includes(key) || actual[key] !== expected[key]) {
|
D | test-querystring.js | 190 const expectedKeys = Object.keys(expected).sort(); 195 `Expected keys: ${inspect(expectedKeys)}`; 197 assert.deepStrictEqual(actualKeys, expectedKeys, msg); 198 expectedKeys.forEach((key) => {
|
/third_party/typescript/src/harness/ |
D | virtualFileSystemWithWatch.ts | 129 export function getDiffInKeys<T>(map: ESMap<string, T>, expectedKeys: readonly string[]) { 130 if (map.size === expectedKeys.length) { 136 forEach(expectedKeys, expectedKey => { 156 …export function verifyMapSize(caption: string, map: ESMap<string, any>, expectedKeys: readonly str… 157 …expectedKeys.length, `${caption}: incorrect size of map: Actual keys: ${arrayFrom(map.keys())} Exp… 162 …ckMap<T, U = undefined>(caption: string, actual: MultiMap<string, T>, expectedKeys: ReadonlyESMap<… 163 …ckMap<T, U = undefined>(caption: string, actual: MultiMap<string, T>, expectedKeys: readonly strin… 164 …p<T>(caption: string, actual: ESMap<string, T> | MultiMap<string, T>, expectedKeys: readonly strin… 171 …const expectedKeys = isArray(expectedKeysMapOrArray) ? arrayToMap(expectedKeysMapOrArray, s => s, … constant 172 …actual, isArray(expectedKeysMapOrArray) ? expectedKeysMapOrArray : arrayFrom(expectedKeys.keys())); [all …]
|
/third_party/skia/tests/ |
D | GrClipStackTest.cpp | 2095 auto verifyKeys = [&](const std::vector<GrUniqueKey>& expectedKeys, in DEF_GPUTEST_FOR_CONTEXTS() 2103 SkASSERT(expectedKeys.size() > 0 || releasedKeys.size() > 0); in DEF_GPUTEST_FOR_CONTEXTS() 2104 const char* tag = expectedKeys.size() > 0 ? expectedKeys[0].tag() : releasedKeys[0].tag(); in DEF_GPUTEST_FOR_CONTEXTS() 2107 REPORTER_ASSERT(r, (int) expectedKeys.size() == numProxies, in DEF_GPUTEST_FOR_CONTEXTS() 2109 numProxies, (int) expectedKeys.size()); in DEF_GPUTEST_FOR_CONTEXTS() 2112 for (const auto& key : expectedKeys) { in DEF_GPUTEST_FOR_CONTEXTS()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | ULocaleTest.java | 4404 Set<String> expectedKeys = expectedKeywords.keySet(); in TestUnicodeLocaleExtension() local 4405 if (keys.size() != expectedKeys.size()) { in TestUnicodeLocaleExtension() 4407 + keys.size() + ", expected=" + expectedKeys.size() in TestUnicodeLocaleExtension() 4411 for (String expKey : expectedKeys) { in TestUnicodeLocaleExtension()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 4538 Set<String> expectedKeys = expectedKeywords.keySet(); in TestUnicodeLocaleExtension() local 4539 if (keys.size() != expectedKeys.size()) { in TestUnicodeLocaleExtension() 4541 + keys.size() + ", expected=" + expectedKeys.size() in TestUnicodeLocaleExtension() 4545 for (String expKey : expectedKeys) { in TestUnicodeLocaleExtension()
|