/external/chromium_org/third_party/WebKit/Source/core/css/ |
MediaValuesTest.cpp | 27 TestCase testCases[] = { 47 for (unsigned i = 0; testCases[i].viewportWidth; ++i) { 49 bool success = MediaValues::computeLength(testCases[i].value, 50 testCases[i].type, 51 testCases[i].fontSize, 52 testCases[i].viewportWidth, 53 testCases[i].viewportHeight, 55 ASSERT_EQ(testCases[i].success, success); 57 ASSERT_EQ(testCases[i].output, output);
|
MediaQuerySetTest.cpp | 47 TestCase testCases[] = { 165 for (unsigned i = 0; testCases[i].input; ++i) { 166 RefPtrWillBeRawPtr<MediaQuerySet> oldParserQuerySet = MediaQuerySet::create(testCases[i].input); 167 RefPtrWillBeRawPtr<MediaQuerySet> threadSafeQuerySet = MediaQuerySet::createOffMainThread(testCases[i].input); 168 testMediaQuery(testCases[i], *oldParserQuerySet, true); 169 testMediaQuery(testCases[i], *threadSafeQuerySet, false);
|
MediaQueryEvaluatorTest.cpp | 78 void testMQEvaluator(TestCase* testCases, const MediaQueryEvaluator& mediaQueryEvaluator) 80 for (unsigned i = 0; testCases[i].input; ++i) { 81 RefPtrWillBeRawPtr<MediaQuerySet> querySet = MediaQuerySet::create(testCases[i].input); 82 ASSERT_EQ(testCases[i].output, mediaQueryEvaluator.eval(querySet.get()));
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
SizesAttributeParserTest.cpp | 23 TestCase testCases[] = { 84 for (unsigned i = 0; testCases[i].input; ++i) { 85 SizesAttributeParser parser(mediaValues, testCases[i].input); 86 ASSERT_EQ(testCases[i].effectiveSize, parser.length()); 87 ASSERT_EQ(testCases[i].viewportDependant, parser.viewportDependant());
|
BisonCSSParserTest.cpp | 39 } testCases[] = { 50 for (unsigned i = 0; i < ARRAY_SIZE(testCases); ++i) { 51 RefPtrWillBeRawPtr<StyleRuleBase> rule = parser.parseRule(nullptr, String(testCases[i].input)); 54 testMediaQuery(testCases[i].output, *static_cast<StyleRuleMedia*>(rule.get())->mediaQueries());
|
MediaConditionTest.cpp | 28 TestCase testCases[] = { 41 for (unsigned i = 0; testCases[i].input; ++i) { 43 MediaQueryTokenizer::tokenize(testCases[i].input, tokens); 50 ASSERT_STREQ(testCases[i].output, queryText.ascii().data());
|
SizesCalcParserTest.cpp | 53 TestCase testCases[] = { 118 for (unsigned i = 0; testCases[i].input; ++i) { 120 MediaQueryTokenizer::tokenize(testCases[i].input, tokens); 122 ASSERT_EQ(testCases[i].valid, calcParser.isValid()); 124 ASSERT_EQ(testCases[i].output, calcParser.result()); 125 ASSERT_EQ(testCases[i].viewportDependant, calcParser.viewportDependant()); 129 for (unsigned i = 0; testCases[i].input; ++i) { 130 if (testCases[i].dontRunInCSSCalc) 132 verifyCSSCalc(testCases[i].input, testCases[i].output, testCases[i].valid, data.defaultFontSize, data.viewportWidth, data.viewportHeight) [all...] |
MediaQueryTokenizerTest.cpp | 27 TestCase testCases[] = { 63 for (int i = 0; testCases[i].input; ++i) { 65 MediaQueryTokenizer::tokenize(testCases[i].input, tokens); 69 ASSERT_STREQ(testCases[i].output, output.toString().ascii().data()); 75 BlockTestCase testCases[] = { 104 for (int i = 0; testCases[i].input; ++i) { 106 MediaQueryTokenizer::tokenize(testCases[i].input, tokens); 116 ASSERT_EQ(testCases[i].maxLevel, maxLevel); 117 ASSERT_EQ(testCases[i].finalLevel, level);
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLSrcsetParserTest.cpp | 34 TestCase testCases[] = { 100 for (unsigned i = 0; testCases[i].srcInput; ++i) { 101 TestCase test = testCases[i];
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
prepareParsedPatch.pl | 52 my @testCases = ( 124 my $testCasesCount = @testCases; 127 foreach my $testCase (@testCases) {
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cg7coll.c | 67 const static UChar testCases[][MAX_TOKEN_LEN] = { 178 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); 211 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); 241 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); 271 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); 300 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], UCOL_LESS) [all...] |
putiltst.c | 305 const char *testCases[] = { 320 for(j=0;testCases[j]!=NULL;j+=3) { 321 v1str = testCases[j+0]; 322 opstr = testCases[j+1]; 323 v2str = testCases[j+2]; 550 } testCases[] = { 568 int32_t count=(sizeof(testCases)/sizeof(testCases[0])); 575 const char *input = STRNULL(testCases[i].inBuf); 576 const char *expect = STRNULL(testCases[i].expectResult) [all...] |
cloctst.c | [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
g7coll.cpp | 19 static const UChar testCases[][G7CollationTest::MAX_TOKEN_LEN] = { 149 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); 184 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); 218 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); 252 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); 281 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS) [all...] |
loctest.cpp | [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cg7coll.c | 68 const static UChar testCases[][MAX_TOKEN_LEN] = { 190 doTest(myCollation, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); 222 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); 252 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); 282 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); 311 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], UCOL_LESS) [all...] |
putiltst.c | 305 const char *testCases[] = { 320 for(j=0;testCases[j]!=NULL;j+=3) { 321 v1str = testCases[j+0]; 322 opstr = testCases[j+1]; 323 v2str = testCases[j+2]; 550 } testCases[] = { 568 int32_t count=(sizeof(testCases)/sizeof(testCases[0])); 575 const char *input = STRNULL(testCases[i].inBuf); 576 const char *expect = STRNULL(testCases[i].expectResult) [all...] |
cloctst.c | [all...] |
/external/icu/icu4c/source/test/intltest/ |
g7coll.cpp | 20 static const UChar testCases[][G7CollationTest::MAX_TOKEN_LEN] = { 142 doTest(myCollation.getAlias(), testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); 174 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); 208 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); 242 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); 271 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS) [all...] |
loctest.cpp | [all...] |
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
PhoneNumberMatcherTest.java | 542 List<NumberTest> testCases = new ArrayList<NumberTest>(); 543 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); 544 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); 545 testCases.addAll(Arrays.asList(VALID_CASES)); 546 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); 547 doTestNumberMatchesForLeniency(testCases, Leniency.POSSIBLE); 551 List<NumberTest> testCases = new ArrayList<NumberTest>(); 552 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); 553 doTestNumberNonMatchesForLeniency(testCases, Leniency.POSSIBLE); 557 List<NumberTest> testCases = new ArrayList<NumberTest>() [all...] |
/external/deqp/android/scripts/ |
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 166 # \note Skips groups without testcases or child groups
|
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) 136 # \note Skips groups without testcases or child groups
|
/external/deqp/execserver/tools/ |
xsTest.cpp | 205 void runCases (const std::vector<TestCase*>& testCases); 221 void TestExecutor::runCases (const std::vector<TestCase*>& testCases) 224 int numCases = (int)testCases.size(); 226 for (std::vector<TestCase*>::const_iterator i = testCases.begin(); i != testCases.end(); i++) 891 std::vector<TestCase*> testCases; 892 testCases.push_back(new ConnectTest(testCtx)); 893 testCases.push_back(new HelloTest(testCtx)); 894 testCases.push_back(new ExecFailTest(testCtx)); 895 testCases.push_back(new SimpleExecTest(testCtx)) [all...] |
/cts/tools/utils/ |
CollectAllTests.java | 186 Map<String,TestClass> testCases = new LinkedHashMap<String, TestClass>(); 218 addToTests(expectations, architecture, testCases, klass); 229 addToTests(expectations, architecture, testCases, klass); 244 for (Iterator<TestClass> iterator = testCases.values().iterator(); iterator.hasNext();) { 368 Map<String,TestClass> testCases, 398 addToTests(expectations, architecture, testCases, testClass, testName); 404 Map<String,TestClass> testCases, 430 if (testCases.containsKey(testClassName)) { 431 testClass = testCases.get(testClassName); 434 testCases.put(testClassName, testClass) [all...] |