/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[] = { 163 for (unsigned i = 0; testCases[i].input; ++i) { 164 RefPtrWillBeRawPtr<MediaQuerySet> oldParserQuerySet = MediaQuerySet::create(testCases[i].input); 165 RefPtrWillBeRawPtr<MediaQuerySet> threadSafeQuerySet = MediaQuerySet::createOffMainThread(testCases[i].input); 166 testMediaQuery(testCases[i], *oldParserQuerySet, true); 167 testMediaQuery(testCases[i], *threadSafeQuerySet, false);
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
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());
|
SizesAttributeParserTest.cpp | 21 TestCase testCases[] = { 76 for (unsigned i = 0; testCases[i].input; ++i) { 77 int effectiveSize = SizesAttributeParser::findEffectiveSize(testCases[i].input, mediaValues); 78 ASSERT_EQ(testCases[i].output, effectiveSize);
|
SizesCalcParserTest.cpp | 53 TestCase testCases[] = { 119 for (unsigned i = 0; testCases[i].input; ++i) { 121 MediaQueryTokenizer::tokenize(testCases[i].input, tokens); 124 ASSERT_EQ(testCases[i].valid, valid); 126 ASSERT_EQ(testCases[i].output, output); 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[] = { 93 for (unsigned i = 0; testCases[i].srcInput; ++i) { 94 TestCase test = testCases[i];
|
/frameworks/base/test-runner/tests/src/android/test/ |
AndroidTestRunnerTest.java | 53 List<TestCase> testCases = mAndroidTestRunner.getTestCases(); 54 assertNotNull(testCases); 55 assertEquals(1, testCases.size()); 56 assertEquals("warning", testCases.get(0).getName()); 63 List<TestCase> testCases = mAndroidTestRunner.getTestCases(); 64 assertNotNull(testCases); 65 assertEquals(1, testCases.size()); 66 assertEquals("testOne", testCases.get(0).getName()); 107 List<TestCase> testCases = mAndroidTestRunner.getTestCases(); 108 for (TestCase testCase : testCases) { [all...] |
/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) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
InetSocketAddressTest.java | 113 Object[] testCases = { 117 SerializationTest.verifySelf(testCases, COMPARATOR); 125 Object[] testCases = { 129 SerializationTest.verifyGolden(this, testCases, COMPARATOR);
|
/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 | 294 const char *testCases[] = { 309 for(j=0;testCases[j]!=NULL;j+=3) { 310 v1str = testCases[j+0]; 311 opstr = testCases[j+1]; 312 v2str = testCases[j+2]; 539 } testCases[] = { 557 int32_t count=(sizeof(testCases)/sizeof(testCases[0])); 564 const char *input = STRNULL(testCases[i].inBuf); 565 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...] |
/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...] |
/frameworks/base/test-runner/src/android/test/ |
TestCaseUtil.java | 59 List<Test> testCases = Lists.newArrayList(); 83 testCases.addAll(getTests(childTest, flatten, seen)); 85 testCases.add(childTest); 89 testCases.add(workingTest); 92 return testCases;
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
PhoneNumberMatcherTest.java | 538 List<NumberTest> testCases = new ArrayList<NumberTest>(); 539 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); 540 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); 541 testCases.addAll(Arrays.asList(VALID_CASES)); 542 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); 543 doTestNumberMatchesForLeniency(testCases, Leniency.POSSIBLE); 547 List<NumberTest> testCases = new ArrayList<NumberTest>(); 548 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); 549 doTestNumberNonMatchesForLeniency(testCases, Leniency.POSSIBLE); 553 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
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestSuiteBuilder.java | 47 private List<TestCase> testCases; 68 this.testCases = Lists.newArrayList(); 80 this.testCases.addAll(atr.getTestCases()); 87 this.testCases.add(testCase); 185 if (testCases.size() > 0) { 186 for (TestCase testCase : testCases) {
|
/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...] |