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

123

/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DTextCodecReplacementTest.cpp40 const char testCase[] = "hello world"; local
41 size_t testCaseSize = sizeof(testCase) - 1;
43 const String result = codec->decode(testCase, testCaseSize, DataEOF, false, sawError);
55 const UChar testCase[] = { 0x6F22, 0x5B57 }; local
56 size_t testCaseSize = WTF_ARRAY_LENGTH(testCase);
57 CString result = codec->encode(testCase, testCaseSize, QuestionMarksForUnencodables);
H A DTextCodecUTF8Test.cpp51 const char testCase[] = "HelloWorld"; local
52 size_t testCaseSize = sizeof(testCase) - 1;
55 const String& result = codec->decode(testCase, testCaseSize, DataEOF, false, sawError);
59 EXPECT_EQ(testCase[i], result[i]);
69 const char testCase[] = "\xe6\xbc\xa2\xe5\xad\x97"; local
70 size_t testCaseSize = sizeof(testCase) - 1;
73 const String& result = codec->decode(testCase, testCaseSize, DataEOF, false, sawError);
/external/compiler-rt/test/builtins/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 DVideoTestUtil.java18 * @param testCase the test case instance we're going to run the test in.
23 public static boolean runVideoTest(final AwTestBase testCase, final boolean requiredUserGesture, argument
28 testCase.createAwTestContainerViewOnMainSync(client).getAwContents();
29 testCase.getInstrumentation().runOnMainSync(new Runnable() {
38 VideoTestWebServer webServer = new VideoTestWebServer(testCase.getActivity());
49 testCase.loadDataAsync(awContents, data, "text/html", false);
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/chromium_org/third_party/WebKit/Source/core/editing/
H A DCompositionUnderlineRangeFilterTest.cpp20 void initUnderlines(const String& testCase, Vector<CompositionUnderline>* underlines) argument
24 testCase.split('|', rangeList);
63 String testCase = "10,20"; // Semi-closed interval: {10, 11, ..., 19}. local
65 initUnderlines(testCase, &underlines);
78 String testCase = "0,2|0,5|1,3|1,10|3,5|5,8|7,8|8,10"; local
80 initUnderlines(testCase, &underlines);
/external/deqp/framework/common/
H A DtcuTestCaseWrapper.cpp41 bool TestCaseWrapper::initTestCase (TestCase* testCase) argument
52 testCase->init();
80 bool TestCaseWrapper::deinitTestCase (TestCase* testCase) argument
87 testCase->deinit();
105 TestNode::IterateResult TestCaseWrapper::iterateTestCase (TestCase* testCase) argument
113 iterateResult = testCase->iterate();
H A DtcuTestExecutor.cpp168 bool TestExecutor::enterTestCase (TestCase* testCase, const char* casePath) argument
171 const qpTestCaseType caseType = nodeTypeToTestCaseType(testCase->getNodeType());
181 if (!m_testCaseWrapper->initTestCase(testCase))
192 void TestExecutor::leaveTestCase (TestCase* testCase) argument
198 const bool deinitOk = m_testCaseWrapper->deinitTestCase(testCase);
/external/deqp/modules/gles2/
H A Dtes2TestCaseWrapper.cpp49 bool TestCaseWrapper::initTestCase (tcu::TestCase* testCase) argument
51 return tcu::TestCaseWrapper::initTestCase(testCase);
54 bool TestCaseWrapper::deinitTestCase (tcu::TestCase* testCase) argument
58 if (!tcu::TestCaseWrapper::deinitTestCase(testCase))
76 tcu::TestNode::IterateResult TestCaseWrapper::iterateTestCase (tcu::TestCase* testCase) argument
86 result = tcu::TestCaseWrapper::iterateTestCase(testCase);
/external/deqp/modules/gles3/
H A Dtes3TestCaseWrapper.cpp48 bool TestCaseWrapper::initTestCase (tcu::TestCase* testCase) argument
50 return tcu::TestCaseWrapper::initTestCase(testCase);
53 bool TestCaseWrapper::deinitTestCase (tcu::TestCase* testCase) argument
57 if (!tcu::TestCaseWrapper::deinitTestCase(testCase))
75 tcu::TestNode::IterateResult TestCaseWrapper::iterateTestCase (tcu::TestCase* testCase) argument
86 result = tcu::TestCaseWrapper::iterateTestCase(testCase);
/external/deqp/modules/gles31/
H A Dtes31TestCaseWrapper.cpp48 bool TestCaseWrapper::initTestCase (tcu::TestCase* testCase) argument
50 return tcu::TestCaseWrapper::initTestCase(testCase);
53 bool TestCaseWrapper::deinitTestCase (tcu::TestCase* testCase) argument
57 if (!tcu::TestCaseWrapper::deinitTestCase(testCase))
75 tcu::TestNode::IterateResult TestCaseWrapper::iterateTestCase (tcu::TestCase* testCase) argument
77 tcu::TestCase::IterateResult result = tcu::TestCaseWrapper::iterateTestCase(testCase);
/external/chromium_org/third_party/skia/tests/
H A DAnnotationTest.cpp42 struct testCase { struct
59 testCase tests[] = {{(SkPDFDocument::Flags)0, true},
/external/skia/tests/
H A DAnnotationTest.cpp42 struct testCase { struct
59 testCase tests[] = {{(SkPDFDocument::Flags)0, true},
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/
H A DContextMenuUtils.java47 * @param testCase The test harness.
54 public static ContextMenu openContextMenu(ActivityInstrumentationTestCase2 testCase, argument
65 DOMUtils.longPressNode(testCase, tab.getContentViewCore(), openerDOMNodeId);
73 * @param testCase The test harness.
80 public static void selectContextMenuItem(ActivityInstrumentationTestCase2 testCase, argument
83 ContextMenu menu = openContextMenu(testCase, tab, openerDOMNodeId);
86 selectOpenContextMenuItem(testCase, menu, itemId);
91 * @param testCase The test harness.
98 public static void selectContextMenuItemByTitle(ActivityInstrumentationTestCase2 testCase, argument
102 ContextMenu menu = openContextMenu(testCase, ta
118 selectOpenContextMenuItem(final ActivityInstrumentationTestCase2 testCase, final ContextMenu menu, final int itemId) argument
[all...]
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
H A DDeqpInstrumentation.java175 public void beginTestCase (String testCase) argument
180 info.putString("dEQP-BeginTestCase-TestCasePath", testCase);
/external/deqp/modules/egl/
H A DteglTestPackage.cpp146 bool TestCaseWrapper::initTestCase (tcu::TestCase* testCase) argument
162 return tcu::TestCaseWrapper::initTestCase(testCase);
165 bool TestCaseWrapper::deinitTestCase (tcu::TestCase* testCase) argument
169 bool deinitOk = tcu::TestCaseWrapper::deinitTestCase(testCase);
187 tcu::TestNode::IterateResult TestCaseWrapper::iterateTestCase (tcu::TestCase* testCase) argument
189 return tcu::TestCaseWrapper::iterateTestCase(testCase);
/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 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) {
/external/chromium_org/third_party/icu/source/test/perf/leperf/
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) {
/external/icu/icu4c/source/test/letest/
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) {
/external/icu/icu4c/source/test/perf/leperf/
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) {
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dalphaindextst.cpp641 const TestCase &testCase = testCases[i]; local
642 UnicodeString name = UnicodeString(testCase.name).unescape();
643 UnicodeString label = UnicodeString(testCase.bucketLabel).unescape();
645 sprintf(msg, "getBucketIndex(%s)", testCase.name);
646 assertEquals(msg, testCase.bucketIndex, index.getBucketIndex(name, status));
647 sprintf(msg, "immutable getBucketIndex(%s)", testCase.name);
648 assertEquals(msg, testCase.bucketIndex, immIndex->getBucketIndex(name, status));
649 sprintf(msg, "immutable bucket label (%s)", testCase.name);
650 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...]
/external/chromium_org/third_party/icu/source/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...]

Completed in 4551 milliseconds

123