Searched defs:testCase (Results 1 - 25 of 36) sorted by relevance

12

/external/compiler-rt/test/Unit/ppc/
H A Dfloatditf_test.h1 struct testCase { struct
7 struct testCase tests[] = {
[all...]
H A Dfloatunditf_test.h1 struct testCase { struct
7 struct testCase tests[] = {
[all...]
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
H A DJSUtils.java26 final InstrumentationTestCase testCase,
35 String linkIsNotNull = executeJavaScriptAndWaitForResult(testCase, awContents,
47 testCase.getInstrumentation().runOnMainSync(new Runnable() {
61 InstrumentationTestCase testCase,
65 testCase.getInstrumentation().runOnMainSync(new Runnable() {
25 clickOnLinkUsingJs( final InstrumentationTestCase testCase, final AwContents awContents, final OnEvaluateJavaScriptResultHelper onEvaluateJavaScriptResultHelper, final String linkId) argument
60 executeJavaScriptAndWaitForResult( InstrumentationTestCase testCase, final AwContents awContents, final OnEvaluateJavaScriptResultHelper onEvaluateJavaScriptResultHelper, final String code) argument
/external/skia/tests/
H A DAnnotationTest.cpp43 struct testCase { struct
60 testCase tests[] = {{(SkPDFDocument::Flags)0, true},
H A DClipStackTest.cpp251 int testCase = 0; local
285 SkASSERT(testCase < gNumCases);
286 REPORTER_ASSERT(reporter, devClipBound == gAnswerRectsBW[testCase]);
287 ++testCase;
H A DWArrayTest.cpp159 TestWData* testCase = (TestWData*)tc; local
160 if (gId >= 0 && gId < testCase->fAdvancesLen) {
161 *advance = testCase->fAdvances[gId];
/external/junit/src/junit/textui/
H A DTestRunner.java153 String testCase= "";
161 testCase= extractClassName(args[++i]);
165 testCase= arg.substring(0, lastIndex);
170 testCase= args[i];
173 if (testCase.equals(""))
178 return runSingleMethod(testCase, method, wait);
179 Test suite= getTest(testCase);
186 protected TestResult runSingleMethod(String testCase, String method, boolean wait) throws Exception { argument
187 Class<? extends TestCase> testClass= loadSuiteClass(testCase).asSubclass(TestCase.class);
/external/chromium_org/third_party/icu/source/test/letest/
H A Dgendata.cpp145 const UXMLElement *testCase; local
148 while((testCase = root->nextChildElement(tc)) != NULL) {
149 if (testCase->getTagName().compare(test_case) == 0) {
150 char *id = getCString(testCase->getAttribute(id_attr));
151 char *script = getCString(testCase->getAttribute(script_attr));
152 char *lang = getCString(testCase->getAttribute(lang_attr));
187 while((element = testCase->nextChildElement(ec)) != NULL) {
H A Dxmlreader.cpp163 const UXMLElement *testCase; local
166 while((testCase = root->nextChildElement(tc)) != NULL) {
167 if (testCase->getTagName().compare(test_case) == 0) {
168 char *id = getCString(testCase->getAttribute(id_attr));
169 char *script = getCString(testCase->getAttribute(script_attr));
170 char *lang = getCString(testCase->getAttribute(lang_attr));
199 while((element = testCase->nextChildElement(ec)) != NULL) {
H A Dletest.cpp596 const UXMLElement *testCase; local
599 while((testCase = root->nextChildElement(tc)) != NULL) {
600 if (testCase->getTagName().compare(test_case) == 0) {
601 char *id = getCString(testCase->getAttribute(id_attr));
602 char *script = getCString(testCase->getAttribute(script_attr));
603 char *lang = getCString(testCase->getAttribute(lang_attr));
633 while((element = testCase->nextChildElement(ec)) != NULL) {
/external/icu4c/test/letest/
H A Dgendata.cpp145 const UXMLElement *testCase; local
148 while((testCase = root->nextChildElement(tc)) != NULL) {
149 if (testCase->getTagName().compare(test_case) == 0) {
150 char *id = getCString(testCase->getAttribute(id_attr));
151 char *script = getCString(testCase->getAttribute(script_attr));
152 char *lang = getCString(testCase->getAttribute(lang_attr));
187 while((element = testCase->nextChildElement(ec)) != NULL) {
H A Dxmlreader.cpp163 const UXMLElement *testCase; local
166 while((testCase = root->nextChildElement(tc)) != NULL) {
167 if (testCase->getTagName().compare(test_case) == 0) {
168 char *id = getCString(testCase->getAttribute(id_attr));
169 char *script = getCString(testCase->getAttribute(script_attr));
170 char *lang = getCString(testCase->getAttribute(lang_attr));
199 while((element = testCase->nextChildElement(ec)) != NULL) {
H A Dletest.cpp596 const UXMLElement *testCase; local
599 while((testCase = root->nextChildElement(tc)) != NULL) {
600 if (testCase->getTagName().compare(test_case) == 0) {
601 char *id = getCString(testCase->getAttribute(id_attr));
602 char *script = getCString(testCase->getAttribute(script_attr));
603 char *lang = getCString(testCase->getAttribute(lang_attr));
633 while((element = testCase->nextChildElement(ec)) != NULL) {
/external/chromium_org/third_party/icu/source/test/intltest/
H A Duts46test.cpp561 const TestCase &testCase=testCases[i]; local
562 UnicodeString input(ctou(testCase.s));
563 UnicodeString expected(ctou(testCase.u));
572 (int)i, testCase.o, testCase.s)
577 uint32_t uniErrors=testCase.errors&~
581 char mode=testCase.o[0];
585 (int)i, testCase.s, (long)uNInfo.getErrors());
591 (int)i, testCase.s, buffer);
594 if(aNInfo.getErrors()!=testCase
[all...]
H A Dcsdetest.cpp510 const UXMLElement *testCase; local
513 while((testCase = root->nextChildElement(tc)) != NULL) {
514 if (testCase->getTagName().compare(test_case) == 0) {
515 const UnicodeString *id = testCase->getAttribute(id_attr);
516 const UnicodeString *encodings = testCase->getAttribute(enc_attr);
517 const UnicodeString text = testCase->getText(TRUE);
H A Dconvtest.cpp97 const DataMap *testCase; local
106 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
116 s=testCase->getString("charset", errorCode);
120 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode);
121 unicode=testCase->getString("unicode", errorCode);
126 cc.offsets=testCase->getIntVector(offsetsLength, "offsets", errorCode);
135 cc.finalFlush= 0!=testCase->getInt28("flush", errorCode);
136 cc.fallbacks= 0!=testCase->getInt28("fallbacks", errorCode);
138 s=testCase->getString("errorCode", errorCode);
153 s=testCase
209 const DataMap *testCase; local
366 const DataMap *testCase; local
[all...]
H A Dssearch.cpp172 const UXMLElement *testCase; local
175 while((testCase = root->nextChildElement(tc)) != NULL) {
177 if (testCase->getTagName().compare("test-case") != 0) {
181 const UnicodeString *id = testCase->getAttribute("id");
195 const UnicodeString *strength = testCase->getAttribute("strength");
216 const UnicodeString *norm = testCase->getAttribute("norm");
226 const UnicodeString *alt = testCase->getAttribute("alternate_handling");
234 const UnicodeString *locale = testCase->getAttribute("locale");
249 n = testCase->getChildElement("pattern");
259 n = testCase
510 const UXMLElement *testCase; local
1770 append(UnicodeString &testCase, UnicodeString &alternate) argument
1798 generateAlternative(const UnicodeString &testCase, UnicodeString &alternate) argument
1858 generateTestCase(UCollator *coll, Monkey *monkeys[], int32_t monkeyCount, UnicodeString &testCase, UnicodeString &alternate) argument
2076 monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern, const char *name, const char *strength, uint32_t seed) argument
2145 bmMonkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern, BoyerMooreSearch *bms, BoyerMooreSearch *abms, const char *name, const char *strength, uint32_t seed) argument
2220 UnicodeString testCase; local
2359 UnicodeString testCase; local
[all...]
/external/chromium_org/third_party/icu/source/test/iotest/
H A Diotest.cpp199 const DataMap *testCase; local
226 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
241 tempStr=testCase->getString("format", errorCode);
243 tempStr=testCase->getString("result", errorCode);
245 tempStr=testCase->getString("argument", errorCode);
255 switch (testCase->getString("argumentType", errorCode)[0]) {
293 log_err("Unknown type %c for test %d\n", testCase->getString("argumentType", errorCode)[0], i);
365 const DataMap *testCase; local
392 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
406 tempStr=testCase
567 const DataMap *testCase; local
[all...]
/external/icu4c/test/intltest/
H A Dalphaindextst.cpp636 const TestCase &testCase = testCases[i]; local
637 UnicodeString name = UnicodeString(testCase.name).unescape();
638 UnicodeString label = UnicodeString(testCase.bucketLabel).unescape();
640 sprintf(msg, "getBucketIndex(%s)", testCase.name);
641 assertEquals(msg, testCase.bucketIndex, index.getBucketIndex(name, status));
642 sprintf(msg, "immutable getBucketIndex(%s)", testCase.name);
643 assertEquals(msg, testCase.bucketIndex, immIndex->getBucketIndex(name, status));
644 sprintf(msg, "immutable bucket label (%s)", testCase.name);
645 assertEquals(msg, label, immIndex->getBucket(testCase.bucketIndex)->getLabel());
H A Duts46test.cpp585 const TestCase &testCase=testCases[i]; local
586 UnicodeString input(ctou(testCase.s));
587 UnicodeString expected(ctou(testCase.u));
596 (int)i, testCase.o, testCase.s)
601 uint32_t uniErrors=testCase.errors&~
605 char mode=testCase.o[0];
609 (int)i, testCase.s, (long)uNInfo.getErrors());
615 (int)i, testCase.s, buffer);
618 if(aNInfo.getErrors()!=testCase
[all...]
H A Dcsdetest.cpp522 const UXMLElement *testCase; local
525 while((testCase = root->nextChildElement(tc)) != NULL) {
526 if (testCase->getTagName().compare(test_case) == 0) {
527 const UnicodeString *id = testCase->getAttribute(id_attr);
528 const UnicodeString *encodings = testCase->getAttribute(enc_attr);
529 const UnicodeString text = testCase->getText(TRUE);
H A Dconvtest.cpp97 const DataMap *testCase; local
106 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
116 s=testCase->getString("charset", errorCode);
129 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode);
130 unicode=testCase->getString("unicode", errorCode);
135 cc.offsets=testCase->getIntVector(offsetsLength, "offsets", errorCode);
144 cc.finalFlush= 0!=testCase->getInt28("flush", errorCode);
145 cc.fallbacks= 0!=testCase->getInt28("fallbacks", errorCode);
147 s=testCase->getString("errorCode", errorCode);
162 s=testCase
218 const DataMap *testCase; local
384 const DataMap *testCase; local
[all...]
H A Dssearch.cpp138 const UXMLElement *testCase; local
141 while((testCase = root->nextChildElement(tc)) != NULL) {
143 if (testCase->getTagName().compare("test-case") != 0) {
147 const UnicodeString *id = testCase->getAttribute("id");
161 const UnicodeString *strength = testCase->getAttribute("strength");
182 const UnicodeString *norm = testCase->getAttribute("norm");
192 const UnicodeString *alt = testCase->getAttribute("alternate_handling");
200 const UnicodeString *locale = testCase->getAttribute("locale");
215 n = testCase->getChildElement("pattern");
225 n = testCase
1068 append(UnicodeString &testCase, UnicodeString &alternate) argument
1096 generateAlternative(const UnicodeString &testCase, UnicodeString &alternate) argument
1156 generateTestCase(UCollator *coll, Monkey *monkeys[], int32_t monkeyCount, UnicodeString &testCase, UnicodeString &alternate) argument
1307 monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern, const char *name, const char *strength, uint32_t seed) argument
1382 UnicodeString testCase; local
[all...]
/external/icu4c/test/iotest/
H A Diotest.cpp200 const DataMap *testCase; local
227 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
242 tempStr=testCase->getString("format", errorCode);
244 tempStr=testCase->getString("result", errorCode);
246 tempStr=testCase->getString("argument", errorCode);
256 switch (testCase->getString("argumentType", errorCode)[0]) {
294 log_err("Unknown type %c for test %d\n", testCase->getString("argumentType", errorCode)[0], i);
366 const DataMap *testCase; local
393 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
407 tempStr=testCase
568 const DataMap *testCase; local
[all...]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
H A DTestCaseEditController.java131 public void setCurrentTestCase(TestCase testCase) { argument
132 if(testCase == null) throw new IllegalArgumentException("Null");
133 this.listCases.setSelectedValue(testCase, true);
134 this.currentTestCase = testCase;
318 private void OnTestCaseSelected(TestCase testCase) { argument
319 //if(testCase == null) throw new RuntimeException("Null TestCase");
320 this.currentTestCase = testCase;

Completed in 587 milliseconds

12