/external/icu/icu4c/source/test/intltest/ |
D | uts46test.cpp | 587 const TestCase &testCase=testCases[i]; in TestSomeCases() local 588 UnicodeString input(ctou(testCase.s)); in TestSomeCases() 589 UnicodeString expected(ctou(testCase.u)); in TestSomeCases() 598 (int)i, testCase.o, testCase.s) in TestSomeCases() 603 uint32_t uniErrors=testCase.errors&~ in TestSomeCases() 607 char mode=testCase.o[0]; in TestSomeCases() 611 (int)i, testCase.s, (long)uNInfo.getErrors()); in TestSomeCases() 617 (int)i, testCase.s, buffer); in TestSomeCases() 620 if(aNInfo.getErrors()!=testCase.errors) { in TestSomeCases() 622 (int)i, testCase.s, (long)aNInfo.getErrors()); in TestSomeCases() [all …]
|
D | ssearch.cpp | 138 const UXMLElement *testCase; in searchTest() local 141 while((testCase = root->nextChildElement(tc)) != NULL) { in searchTest() 143 if (testCase->getTagName().compare("test-case") != 0) { in searchTest() 147 const UnicodeString *id = testCase->getAttribute("id"); in searchTest() 161 const UnicodeString *strength = testCase->getAttribute("strength"); in searchTest() 182 const UnicodeString *norm = testCase->getAttribute("norm"); in searchTest() 192 const UnicodeString *alt = testCase->getAttribute("alternate_handling"); in searchTest() 200 const UnicodeString *locale = testCase->getAttribute("locale"); in searchTest() 215 n = testCase->getChildElement("pattern"); in searchTest() 225 n = testCase->getChildElement("pre"); in searchTest() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | uts46test.cpp | 585 const TestCase &testCase=testCases[i]; in TestSomeCases() local 586 UnicodeString input(ctou(testCase.s)); in TestSomeCases() 587 UnicodeString expected(ctou(testCase.u)); in TestSomeCases() 596 (int)i, testCase.o, testCase.s) in TestSomeCases() 601 uint32_t uniErrors=testCase.errors&~ in TestSomeCases() 605 char mode=testCase.o[0]; in TestSomeCases() 609 (int)i, testCase.s, (long)uNInfo.getErrors()); in TestSomeCases() 615 (int)i, testCase.s, buffer); in TestSomeCases() 618 if(aNInfo.getErrors()!=testCase.errors) { in TestSomeCases() 620 (int)i, testCase.s, (long)aNInfo.getErrors()); in TestSomeCases() [all …]
|
D | ssearch.cpp | 138 const UXMLElement *testCase; in searchTest() local 141 while((testCase = root->nextChildElement(tc)) != NULL) { in searchTest() 143 if (testCase->getTagName().compare("test-case") != 0) { in searchTest() 147 const UnicodeString *id = testCase->getAttribute("id"); in searchTest() 161 const UnicodeString *strength = testCase->getAttribute("strength"); in searchTest() 182 const UnicodeString *norm = testCase->getAttribute("norm"); in searchTest() 192 const UnicodeString *alt = testCase->getAttribute("alternate_handling"); in searchTest() 200 const UnicodeString *locale = testCase->getAttribute("locale"); in searchTest() 215 n = testCase->getChildElement("pattern"); in searchTest() 225 n = testCase->getChildElement("pre"); in searchTest() [all …]
|
/external/icu/icu4c/source/test/perf/collperf2/ |
D | collperf2.cpp | 1562 Strcoll *testCase = new Strcoll(coll, getData16(status), TRUE /* useLen */); in TestStrcoll() local 1564 delete testCase; in TestStrcoll() 1567 return testCase; in TestStrcoll() 1573 Strcoll *testCase = new Strcoll(coll, getData16(status), FALSE /* useLen */); in TestStrcollNull() local 1575 delete testCase; in TestStrcollNull() 1578 return testCase; in TestStrcollNull() 1584 …Strcoll_2 *testCase = new Strcoll_2(coll, getData16(status), getModData16(status), TRUE /* useLen … in TestStrcollSimilar() local 1586 delete testCase; in TestStrcollSimilar() 1589 return testCase; in TestStrcollSimilar() 1595 StrcollUTF8 *testCase = new StrcollUTF8(coll, getData8(status), TRUE /* useLen */); in TestStrcollUTF8() local [all …]
|
/external/chromium_org/third_party/boringssl/src/ssl/test/runner/ |
D | runner.go | 105 type testCase struct { struct 156 var testCases = []testCase{ 489 func doExchange(test *testCase, config *Config, conn net.Conn, messageLen int, isResume bool) error… argument 651 func runTest(test *testCase, buildDir string) error { argument 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{ [all …]
|
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ |
D | ContextMenuUtils.java | 54 public static ContextMenu openContextMenu(ActivityInstrumentationTestCase2 testCase, in openContextMenu() argument 65 DOMUtils.longPressNode(testCase, tab.getContentViewCore(), openerDOMNodeId); in openContextMenu() 80 public static void selectContextMenuItem(ActivityInstrumentationTestCase2 testCase, in selectContextMenuItem() argument 83 ContextMenu menu = openContextMenu(testCase, tab, openerDOMNodeId); in selectContextMenuItem() 86 selectOpenContextMenuItem(testCase, menu, itemId); in selectContextMenuItem() 98 public static void selectContextMenuItemByTitle(ActivityInstrumentationTestCase2 testCase, in selectContextMenuItemByTitle() argument 102 ContextMenu menu = openContextMenu(testCase, tab, openerDOMNodeId); in selectContextMenuItemByTitle() 115 selectOpenContextMenuItem(testCase, menu, itemId); in selectContextMenuItemByTitle() 118 private static void selectOpenContextMenuItem(final ActivityInstrumentationTestCase2 testCase, in selectOpenContextMenuItem() argument 125 testCase.getInstrumentation().runOnMainSync(new Runnable() { in selectOpenContextMenuItem() [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
D | fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl | 80 foreach my $testCase (@testCaseHashRefs) { 81 …my $testNameStart = "setChangeLogDateAndReviewer(fixChangeLogPatch()): $testCase->{testName}: comp… 83 my $patch = $testCase->{patch}; 84 my $reviewer = $testCase->{reviewer}; 85 my $epochTime = $testCase->{epochTime}; 89 my $expectedReturn = $testCase->{expectedReturn};
|
D | setChangeLogDateAndReviewer.pl | 117 foreach my $testCase (@testCaseHashRefs) { 118 my $testNameStart = "setChangeLogDateAndReviewer(): $testCase->{testName}: comparing"; 120 my $patch = $testCase->{patch}; 121 my $reviewer = $testCase->{reviewer}; 122 my $epochTime = $testCase->{epochTime}; 125 my $expectedReturn = $testCase->{expectedReturn};
|
D | parseDiffHeader.pl | 107 foreach my $testCase (@testCaseHashRefs) { 108 my $testNameStart = "parseDiffHeader(): $testCase->{diffName}: comparing"; 111 open($fileHandle, "<", \$testCase->{inputText}); 115 my $expectedReturn = $testCase->{expectedReturn}; 120 is($gotNextLine, $testCase->{expectedNextLine}, "$testNameStart next read line.");
|
D | parseSvnDiffHeader.pl | 274 foreach my $testCase (@testCaseHashRefs) { 275 my $testNameStart = "parseSvnDiffHeader(): $testCase->{diffName}: comparing"; 278 open($fileHandle, "<", \$testCase->{inputText}); 282 my $expectedReturn = $testCase->{expectedReturn}; 287 is($gotNextLine, $testCase->{expectedNextLine}, "$testNameStart next read line.");
|
D | runCommand.pl | 68 foreach my $testCase (@testCaseHashRefs) { 69 my $testNameStart = "runCommand(): $testCase->{testName}: comparing"; 71 my $got = VCSUtils::runCommand(@{$testCase->{inputArgs}}); 72 my $expectedReturn = $testCase->{expectedReturn};
|
D | parseSvnPropertyValue.pl | 243 foreach my $testCase (@testCaseHashRefs) { 244 my $testNameStart = "parseSvnPropertyValue(): $testCase->{diffName}: comparing"; 247 open($fileHandle, "<", \$testCase->{inputText}); 251 my $expectedReturn = $testCase->{expectedReturn}; 256 is($gotNextLine, $testCase->{expectedNextLine}, "$testNameStart next read line.");
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | TextCodecUTF8Test.cpp | 51 const char testCase[] = "HelloWorld"; in TEST() local 52 size_t testCaseSize = sizeof(testCase) - 1; in TEST() 55 const String& result = codec->decode(testCase, testCaseSize, DataEOF, false, sawError); in TEST() 59 EXPECT_EQ(testCase[i], result[i]); in TEST() 69 const char testCase[] = "\xe6\xbc\xa2\xe5\xad\x97"; in TEST() local 70 size_t testCaseSize = sizeof(testCase) - 1; in TEST() 73 const String& result = codec->decode(testCase, testCaseSize, DataEOF, false, sawError); in TEST()
|
D | TextCodecReplacementTest.cpp | 40 const char testCase[] = "hello world"; in TEST() local 41 size_t testCaseSize = sizeof(testCase) - 1; in TEST() 43 const String result = codec->decode(testCase, testCaseSize, DataEOF, false, sawError); in TEST() 55 const UChar testCase[] = { 0x6F22, 0x5B57 }; in TEST() local 56 size_t testCaseSize = WTF_ARRAY_LENGTH(testCase); in TEST() 57 CString result = codec->encode(testCase, testCaseSize, QuestionMarksForUnencodables); in TEST()
|
/external/deqp/modules/gles31/ |
D | tes31TestCaseWrapper.cpp | 48 bool TestCaseWrapper::initTestCase (tcu::TestCase* testCase) in initTestCase() argument 50 return tcu::TestCaseWrapper::initTestCase(testCase); in initTestCase() 53 bool TestCaseWrapper::deinitTestCase (tcu::TestCase* testCase) in deinitTestCase() argument 57 if (!tcu::TestCaseWrapper::deinitTestCase(testCase)) in deinitTestCase() 75 tcu::TestNode::IterateResult TestCaseWrapper::iterateTestCase (tcu::TestCase* testCase) in iterateTestCase() argument 77 tcu::TestCase::IterateResult result = tcu::TestCaseWrapper::iterateTestCase(testCase); in iterateTestCase()
|
/external/junit/src/junit/textui/ |
D | TestRunner.java | 153 String testCase= ""; in start() local 161 testCase= extractClassName(args[++i]); in start() 165 testCase= arg.substring(0, lastIndex); in start() 170 testCase= args[i]; in start() 173 if (testCase.equals("")) in start() 178 return runSingleMethod(testCase, method, wait); in start() 179 Test suite= getTest(testCase); in start() 186 …protected TestResult runSingleMethod(String testCase, String method, boolean wait) throws Exceptio… in runSingleMethod() argument 187 Class<? extends TestCase> testClass= loadSuiteClass(testCase).asSubclass(TestCase.class); in runSingleMethod()
|
/external/deqp/scripts/ |
D | convert_case_list_to_xml.py | 34 def exportCase (doc, parent, testCase): argument 37 element.setAttribute("Name", testCase.casePath.rsplit(".", 2)[-1]) 38 element.setAttribute("Description", testCase.description) 39 element.setAttribute("CaseType", testCase.caseType) 41 for child in testCase.children: 70 for testCase in rootCase.children: 71 exportCase(doc, element, testCase)
|
/external/deqp/modules/gles2/ |
D | tes2TestCaseWrapper.cpp | 49 bool TestCaseWrapper::initTestCase (tcu::TestCase* testCase) in initTestCase() argument 51 return tcu::TestCaseWrapper::initTestCase(testCase); in initTestCase() 54 bool TestCaseWrapper::deinitTestCase (tcu::TestCase* testCase) in deinitTestCase() argument 58 if (!tcu::TestCaseWrapper::deinitTestCase(testCase)) in deinitTestCase() 76 tcu::TestNode::IterateResult TestCaseWrapper::iterateTestCase (tcu::TestCase* testCase) in iterateTestCase() argument 86 result = tcu::TestCaseWrapper::iterateTestCase(testCase); in iterateTestCase()
|
/external/deqp/modules/gles3/ |
D | tes3TestCaseWrapper.cpp | 48 bool TestCaseWrapper::initTestCase (tcu::TestCase* testCase) in initTestCase() argument 50 return tcu::TestCaseWrapper::initTestCase(testCase); in initTestCase() 53 bool TestCaseWrapper::deinitTestCase (tcu::TestCase* testCase) in deinitTestCase() argument 57 if (!tcu::TestCaseWrapper::deinitTestCase(testCase)) in deinitTestCase() 75 tcu::TestNode::IterateResult TestCaseWrapper::iterateTestCase (tcu::TestCase* testCase) in iterateTestCase() argument 86 result = tcu::TestCaseWrapper::iterateTestCase(testCase); in iterateTestCase()
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/ |
D | VideoTestUtil.java | 23 public static boolean runVideoTest(final AwTestBase testCase, final boolean requiredUserGesture, in runVideoTest() argument 28 testCase.createAwTestContainerViewOnMainSync(client).getAwContents(); in runVideoTest() 29 testCase.getInstrumentation().runOnMainSync(new Runnable() { in runVideoTest() 38 VideoTestWebServer webServer = new VideoTestWebServer(testCase.getActivity()); in runVideoTest() 49 testCase.loadDataAsync(awContents, data, "text/html", false); in runVideoTest()
|
/external/deqp/framework/common/ |
D | tcuTestCaseWrapper.cpp | 41 bool TestCaseWrapper::initTestCase (TestCase* testCase) in initTestCase() argument 52 testCase->init(); in initTestCase() 80 bool TestCaseWrapper::deinitTestCase (TestCase* testCase) in deinitTestCase() argument 87 testCase->deinit(); in deinitTestCase() 105 TestNode::IterateResult TestCaseWrapper::iterateTestCase (TestCase* testCase) in iterateTestCase() argument 113 iterateResult = testCase->iterate(); in iterateTestCase()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | CompositionUnderlineRangeFilterTest.cpp | 20 void initUnderlines(const String& testCase, Vector<CompositionUnderline>* underlines) in initUnderlines() argument 24 testCase.split('|', rangeList); in initUnderlines() 63 String testCase = "10,20"; // Semi-closed interval: {10, 11, ..., 19}. in TEST() local 65 initUnderlines(testCase, &underlines); in TEST() 78 String testCase = "0,2|0,5|1,3|1,10|3,5|5,8|7,8|8,10"; in TEST() local 80 initUnderlines(testCase, &underlines); in TEST()
|
/external/icu/icu4c/source/test/iotest/ |
D | iotest.cpp | 200 const DataMap *testCase; in DataDrivenPrintf() local 227 for(i=0; testData->nextCase(testCase, errorCode); ++i) { in DataDrivenPrintf() 242 tempStr=testCase->getString("format", errorCode); in DataDrivenPrintf() 244 tempStr=testCase->getString("result", errorCode); in DataDrivenPrintf() 246 tempStr=testCase->getString("argument", errorCode); in DataDrivenPrintf() 256 switch (testCase->getString("argumentType", errorCode)[0]) { in DataDrivenPrintf() 294 … log_err("Unknown type %c for test %d\n", testCase->getString("argumentType", errorCode)[0], i); in DataDrivenPrintf() 366 const DataMap *testCase; in DataDrivenScanf() local 393 for(i=0; testData->nextCase(testCase, errorCode); ++i) { in DataDrivenScanf() 407 tempStr=testCase->getString("format", errorCode); in DataDrivenScanf() [all …]
|
/external/chromium_org/third_party/icu/source/test/iotest/ |
D | iotest.cpp | 200 const DataMap *testCase; in DataDrivenPrintf() local 227 for(i=0; testData->nextCase(testCase, errorCode); ++i) { in DataDrivenPrintf() 242 tempStr=testCase->getString("format", errorCode); in DataDrivenPrintf() 244 tempStr=testCase->getString("result", errorCode); in DataDrivenPrintf() 246 tempStr=testCase->getString("argument", errorCode); in DataDrivenPrintf() 256 switch (testCase->getString("argumentType", errorCode)[0]) { in DataDrivenPrintf() 294 … log_err("Unknown type %c for test %d\n", testCase->getString("argumentType", errorCode)[0], i); in DataDrivenPrintf() 366 const DataMap *testCase; in DataDrivenScanf() local 393 for(i=0; testData->nextCase(testCase, errorCode); ++i) { in DataDrivenScanf() 407 tempStr=testCase->getString("format", errorCode); in DataDrivenScanf() [all …]
|