/external/chromium_org/third_party/boringssl/src/ssl/test/runner/ |
D | runner.go | 156 var testCases = []testCase{ var 855 testCases = append(testCases, testCase{ 867 testCases = append(testCases, testCase{ 883 testCases = append(testCases, testCase{ 895 testCases = append(testCases, testCase{ 917 testCases = append(testCases, testCase{ 935 testCases = append(testCases, testCase{ 945 testCases = append(testCases, testCase{ 958 testCases = append(testCases, testCase{ 974 testCases = append(testCases, testCase{ [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | MediaValuesTest.cpp | 27 TestCase testCases[] = { in TEST() local 47 for (unsigned i = 0; testCases[i].viewportWidth; ++i) { in TEST() 49 bool success = MediaValues::computeLength(testCases[i].value, in TEST() 50 testCases[i].type, in TEST() 51 testCases[i].fontSize, in TEST() 52 testCases[i].viewportWidth, in TEST() 53 testCases[i].viewportHeight, in TEST() 55 ASSERT_EQ(testCases[i].success, success); in TEST() 57 ASSERT_EQ(testCases[i].output, output); in TEST()
|
D | MediaQuerySetTest.cpp | 47 TestCase testCases[] = { in TEST() local 165 for (unsigned i = 0; testCases[i].input; ++i) { in TEST() 166 … RefPtrWillBeRawPtr<MediaQuerySet> oldParserQuerySet = MediaQuerySet::create(testCases[i].input); in TEST() 167 …eRawPtr<MediaQuerySet> threadSafeQuerySet = MediaQuerySet::createOffMainThread(testCases[i].input); in TEST() 168 testMediaQuery(testCases[i], *oldParserQuerySet, true); in TEST() 169 testMediaQuery(testCases[i], *threadSafeQuerySet, false); in TEST()
|
D | MediaQueryEvaluatorTest.cpp | 78 void testMQEvaluator(TestCase* testCases, const MediaQueryEvaluator& mediaQueryEvaluator) in testMQEvaluator() argument 80 for (unsigned i = 0; testCases[i].input; ++i) { in testMQEvaluator() 81 RefPtrWillBeRawPtr<MediaQuerySet> querySet = MediaQuerySet::create(testCases[i].input); in testMQEvaluator() 82 ASSERT_EQ(testCases[i].output, mediaQueryEvaluator.eval(querySet.get())); in testMQEvaluator()
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
D | SizesCalcParserTest.cpp | 53 TestCase testCases[] = { in TEST() local 118 for (unsigned i = 0; testCases[i].input; ++i) { in TEST() 120 MediaQueryTokenizer::tokenize(testCases[i].input, tokens); in TEST() 122 ASSERT_EQ(testCases[i].valid, calcParser.isValid()); in TEST() 124 ASSERT_EQ(testCases[i].output, calcParser.result()); in TEST() 125 ASSERT_EQ(testCases[i].viewportDependant, calcParser.viewportDependant()); in TEST() 129 for (unsigned i = 0; testCases[i].input; ++i) { in TEST() 130 if (testCases[i].dontRunInCSSCalc) in TEST() 132 …verifyCSSCalc(testCases[i].input, testCases[i].output, testCases[i].valid, data.defaultFontSize, d… in TEST()
|
D | MediaQueryTokenizerTest.cpp | 27 TestCase testCases[] = { in TEST() local 63 for (int i = 0; testCases[i].input; ++i) { in TEST() 65 MediaQueryTokenizer::tokenize(testCases[i].input, tokens); in TEST() 69 ASSERT_STREQ(testCases[i].output, output.toString().ascii().data()); in TEST() 75 BlockTestCase testCases[] = { in TEST() local 104 for (int i = 0; testCases[i].input; ++i) { in TEST() 106 MediaQueryTokenizer::tokenize(testCases[i].input, tokens); in TEST() 116 ASSERT_EQ(testCases[i].maxLevel, maxLevel); in TEST() 117 ASSERT_EQ(testCases[i].finalLevel, level); in TEST()
|
D | SizesAttributeParserTest.cpp | 23 TestCase testCases[] = { in TEST() local 84 for (unsigned i = 0; testCases[i].input; ++i) { in TEST() 85 SizesAttributeParser parser(mediaValues, testCases[i].input); in TEST() 86 ASSERT_EQ(testCases[i].effectiveSize, parser.length()); in TEST() 87 ASSERT_EQ(testCases[i].viewportDependant, parser.viewportDependant()); in TEST()
|
D | MediaConditionTest.cpp | 28 TestCase testCases[] = { in TEST() local 41 for (unsigned i = 0; testCases[i].input; ++i) { in TEST() 43 MediaQueryTokenizer::tokenize(testCases[i].input, tokens); in TEST() 50 ASSERT_STREQ(testCases[i].output, queryText.ascii().data()); in TEST()
|
D | BisonCSSParserTest.cpp | 39 } testCases[] = { in TEST() local 50 for (unsigned i = 0; i < ARRAY_SIZE(testCases); ++i) { in TEST() 51 … RefPtrWillBeRawPtr<StyleRuleBase> rule = parser.parseRule(nullptr, String(testCases[i].input)); in TEST() 54 … testMediaQuery(testCases[i].output, *static_cast<StyleRuleMedia*>(rule.get())->mediaQueries()); in TEST()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cg7coll.c | 68 const static UChar testCases[][MAX_TOKEN_LEN] = { variable 190 doTest(myCollation, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); in TestG7Locales() 222 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); in TestDemo1() 252 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); in TestDemo2() 282 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); in TestDemo3() 311 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], UCOL_LESS); in TestDemo4()
|
D | putiltst.c | 305 const char *testCases[] = { in TestCompareVersions() local 320 for(j=0;testCases[j]!=NULL;j+=3) { in TestCompareVersions() 321 v1str = testCases[j+0]; in TestCompareVersions() 322 opstr = testCases[j+1]; in TestCompareVersions() 323 v2str = testCases[j+2]; in TestCompareVersions() 550 } testCases[] = { in toolutil_findBasename() local 568 int32_t count=(sizeof(testCases)/sizeof(testCases[0])); in toolutil_findBasename() 575 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename() 576 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findBasename() 578 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename() [all …]
|
D | cloctst.c | 1677 } testCases[] = { in TestKeywordVariants() local 1716 for(i = 0; i < sizeof(testCases)/sizeof(testCases[0]); i++) { in TestKeywordVariants() 1719 keywords = uloc_openKeywords(testCases[i].localeID, &status); in TestKeywordVariants() 1721 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1723 testCases[i].localeID, in TestKeywordVariants() 1724 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1728 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1729 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1734 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1735 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() [all …]
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cg7coll.c | 67 const static UChar testCases[][MAX_TOKEN_LEN] = { variable 178 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); in TestG7Locales() 211 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); in TestDemo1() 241 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); in TestDemo2() 271 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); in TestDemo3() 300 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], UCOL_LESS); in TestDemo4()
|
D | putiltst.c | 305 const char *testCases[] = { in TestCompareVersions() local 320 for(j=0;testCases[j]!=NULL;j+=3) { in TestCompareVersions() 321 v1str = testCases[j+0]; in TestCompareVersions() 322 opstr = testCases[j+1]; in TestCompareVersions() 323 v2str = testCases[j+2]; in TestCompareVersions() 550 } testCases[] = { in toolutil_findBasename() local 568 int32_t count=(sizeof(testCases)/sizeof(testCases[0])); in toolutil_findBasename() 575 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename() 576 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findBasename() 578 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename() [all …]
|
D | cloctst.c | 1676 } testCases[] = { in TestKeywordVariants() local 1715 for(i = 0; i < sizeof(testCases)/sizeof(testCases[0]); i++) { in TestKeywordVariants() 1718 keywords = uloc_openKeywords(testCases[i].localeID, &status); in TestKeywordVariants() 1720 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1722 testCases[i].localeID, in TestKeywordVariants() 1723 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1727 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1728 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1733 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1734 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | g7coll.cpp | 19 static const UChar testCases[][G7CollationTest::MAX_TOKEN_LEN] = { variable 149 … doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); in TestG7Locales() 184 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); in TestDemo1() 218 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); in TestDemo2() 252 … doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); in TestDemo3() 281 … doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS); in TestDemo4()
|
D | loctest.cpp | 1597 } testCases[] = { in TestKeywordVariants() local 1627 for(i = 0; i < (int32_t)(sizeof(testCases)/sizeof(testCases[0])); i++) { in TestKeywordVariants() 1629 Locale l(testCases[i].localeID); in TestKeywordVariants() 1632 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1634 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1638 if((keyCount = keywords->count(status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1639 err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1647 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1648 … err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() 1654 if(*keywordString != UnicodeString(testCases[i].expectedKeywords[j], "")) { in TestKeywordVariants() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | g7coll.cpp | 20 static const UChar testCases[][G7CollationTest::MAX_TOKEN_LEN] = { variable 142 …doTest(myCollation.getAlias(), testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); in TestG7Locales() 174 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); in TestDemo1() 208 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); in TestDemo2() 242 … doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); in TestDemo3() 271 … doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS); in TestDemo4()
|
D | loctest.cpp | 1597 } testCases[] = { in TestKeywordVariants() local 1627 for(i = 0; i < (int32_t)(sizeof(testCases)/sizeof(testCases[0])); i++) { in TestKeywordVariants() 1629 Locale l(testCases[i].localeID); in TestKeywordVariants() 1632 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1634 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1638 if((keyCount = keywords->count(status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1639 err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1647 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1648 … err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() 1654 if(*keywordString != UnicodeString(testCases[i].expectedKeywords[j], "")) { in TestKeywordVariants() [all …]
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 542 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testMatchesWithPossibleLeniency() local 543 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); in testMatchesWithPossibleLeniency() 544 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); in testMatchesWithPossibleLeniency() 545 testCases.addAll(Arrays.asList(VALID_CASES)); in testMatchesWithPossibleLeniency() 546 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); in testMatchesWithPossibleLeniency() 547 doTestNumberMatchesForLeniency(testCases, Leniency.POSSIBLE); in testMatchesWithPossibleLeniency() 551 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testNonMatchesWithPossibleLeniency() local 552 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); in testNonMatchesWithPossibleLeniency() 553 doTestNumberNonMatchesForLeniency(testCases, Leniency.POSSIBLE); in testNonMatchesWithPossibleLeniency() 557 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testMatchesWithValidLeniency() local [all …]
|
/external/deqp/execserver/tools/ |
D | xsTest.cpp | 205 void runCases (const std::vector<TestCase*>& testCases); 221 void TestExecutor::runCases (const std::vector<TestCase*>& testCases) in runCases() argument 224 int numCases = (int)testCases.size(); in runCases() 226 for (std::vector<TestCase*>::const_iterator i = testCases.begin(); i != testCases.end(); i++) in runCases() 891 std::vector<TestCase*> testCases; in runExecServerTests() local 892 testCases.push_back(new ConnectTest(testCtx)); in runExecServerTests() 893 testCases.push_back(new HelloTest(testCtx)); in runExecServerTests() 894 testCases.push_back(new ExecFailTest(testCtx)); in runExecServerTests() 895 testCases.push_back(new SimpleExecTest(testCtx)); in runExecServerTests() 896 testCases.push_back(new InfoTest(testCtx)); in runExecServerTests() [all …]
|
/external/chromium_org/ui/webui/resources/js/ |
D | webui_resource_test.js | 126 var testCases = []; 147 testCases.push(name); 149 if (!testCases.length) { 170 if (testCases.length > 0) { 171 var fn = testCases.pop();
|
/external/deqp/android/scripts/ |
D | GenAndroidCTSXMLFromTestList.py | 9 self.testCases = [] 37 for test in self.testCases: 43 for test in self.testCases: 49 return len(self.testCases) != 0 55 return self.testCases 66 self.parent.testCases.append(self)
|
D | GenAndroidCTSXML.py | 9 self.testCases = {} 31 return testName in self.testCases 34 return self.testCases[testName] 37 return len(self.testCases) != 0 43 return self.testCases.values() 53 assert not name in self.parent.testCases 54 self.parent.testCases[name] = self
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
D | HTMLSrcsetParserTest.cpp | 34 TestCase testCases[] = { in TEST() local 100 for (unsigned i = 0; testCases[i].srcInput; ++i) { in TEST() 101 TestCase test = testCases[i]; in TEST()
|