HomeSort by relevance Sort by last modified time
    Searched defs:testCase (Results 1 - 25 of 43) sorted by null

1 2

  /frameworks/compile/libbcc/runtime/test/Unit/ppc/
floatditf_test.h 1 struct testCase {
7 struct testCase tests[] = {
    [all...]
floatunditf_test.h 1 struct testCase {
7 struct testCase tests[] = {
    [all...]
  /external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
ModeTest.java 23 import junit.framework.TestCase;
29 public class ModeTest extends TestCase {
30 public void testCase() throws PatternSyntaxException {
PatternSyntaxExceptionTest.java 24 import junit.framework.TestCase;
33 public class PatternSyntaxExceptionTest extends TestCase {
34 public void testCase() {
  /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
ModeTest.java 19 import junit.framework.TestCase;
28 public class ModeTest extends TestCase {
30 public void testCase() throws PatternSyntaxException {
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestMethod.java 19 import junit.framework.TestCase;
27 * Represents a test to be run. Can be constructed without instantiating the TestCase or even
34 private final Class<? extends TestCase> enclosingClass;
36 public TestMethod(Method method, Class<? extends TestCase> enclosingClass) {
40 public TestMethod(String methodName, Class<? extends TestCase> enclosingClass) {
46 public TestMethod(TestCase testCase) {
47 this(testCase.getName(), testCase.getClass());
67 public Class<? extends TestCase> getEnclosingClass()
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestSuite.java 43 Map<String, TestCase> mChildTestCaseMap = new LinkedHashMap<String, TestCase>();
81 TestCase testCase = getTestCase(testClassName);
82 return testCase.findTest(testName, insertIfMissing);
98 * Gets all the child {@link TestCase}s
100 public Collection<TestCase> getTestCases() {
120 * Get the child {@link TestCase} with given name, creating if necessary.
124 private TestCase getTestCase(String testCaseName) {
125 TestCase testCase = mChildTestCaseMap.get(testCaseName)
    [all...]
  /frameworks/base/test-runner/src/android/test/
TestCaseUtil.java 22 import junit.framework.TestCase;
64 * If we want to run a single TestCase method only, we must not
68 if (test instanceof TestCase &&
69 ((TestCase)test).getName() == null) {
101 * Additional check necessary: If a TestCase contains a suite()
102 * method that returns a TestSuite including the TestCase itself,
124 if (test instanceof TestCase) {
125 TestCase testCase = (TestCase) test
    [all...]
AndroidTestRunner.java 25 import junit.framework.TestCase;
38 private List<TestCase> mTestCases;
51 TestCase testCase = buildSingleTestMethod(testClass, testMethodName);
52 mTestCases = Lists.newArrayList(testCase);
64 mTestCases = (List<TestCase>) TestCaseUtil.getTests(test, true);
92 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) {
94 TestCase testCase = (TestCase) testClass.newInstance()
    [all...]
  /frameworks/base/test-runner/tests/src/android/test/
TestCaseUtilTest.java 20 import junit.framework.TestCase;
25 public class TestCaseUtilTest extends TestCase {
38 TestCase testCase = new OneTestTestCaseWithSuite();
40 List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testCase, false);
65 public static class OneTestTestCase extends TestCase {
70 public static class OneTestTestCaseWithSuite extends TestCase {
72 TestCase testCase = new OneTestTestCase();
73 testCase.setName("testOne")
    [all...]
AndroidTestRunnerTest.java 24 import junit.framework.TestCase;
37 public class AndroidTestRunnerTest extends TestCase {
53 List<TestCase> testCases = mAndroidTestRunner.getTestCases();
63 List<TestCase> testCases = mAndroidTestRunner.getTestCases();
107 List<TestCase> testCases = mAndroidTestRunner.getTestCases();
108 for (TestCase testCase : testCases) {
109 assertSame(mStubContext, ((AndroidTestCase) testCase).getContext());
123 List<TestCase> testCases = mAndroidTestRunner.getTestCases();
124 for (TestCase testCase : testCases)
    [all...]
  /frameworks/base/test-runner/tests/src/android/test/suitebuilder/
InstrumentationTestSuiteBuilderTest.java 25 import junit.framework.TestCase;
34 public class InstrumentationTestSuiteBuilderTest extends TestCase {
112 TestCase testCase = (TestCase) test;
113 return testCase.getClass().getSimpleName() + "." + testCase.getName();
UnitTestSuiteBuilderTest.java 24 import junit.framework.TestCase;
32 public class UnitTestSuiteBuilderTest extends TestCase {
105 TestCase testCase = (TestCase) test;
106 return testCase.getClass().getSimpleName() + "." + testCase.getName();
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
JarHostTest.java 35 import junit.framework.TestCase;
265 if (TestCase.class.isAssignableFrom(testClass)) {
266 TestCase testCase = (TestCase)testClass.newInstance();
267 testCase.setName(testName);
268 return testCase;
  /dalvik/dx/src/junit/textui/
TestRunner.java 14 * TestRunner expects the name of a TestCase class as argument.
54 * Runs a suite extracted from a TestCase subclass.
153 String testCase= "";
160 testCase= extractClassName(args[++i]);
164 testCase= args[i];
167 if (testCase.equals(""))
168 throw new Exception("Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class");
171 Test suite= getTest(testCase);
  /external/icu4c/test/letest/
gendata.cpp 145 const UXMLElement *testCase;
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) {
xmlreader.cpp 163 const UXMLElement *testCase;
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) {
letest.cpp 596 const UXMLElement *testCase;
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) {
    [all...]
  /external/junit/src/junit/textui/
TestRunner.java 19 * TestRunner expects the name of a TestCase class as argument.
59 * Runs a suite extracted from a TestCase subclass.
158 String testCase= "";
166 testCase= extractClassName(args[++i]);
170 testCase= arg.substring(0, lastIndex);
175 testCase= args[i];
178 if (testCase.equals(""))
179 throw new Exception("Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class");
183 return runSingleMethod(testCase, method, wait);
184 Test suite= getTest(testCase);
    [all...]
  /frameworks/base/test-runner/src/junit/textui/
TestRunner.java 14 * TestRunner expects the name of a TestCase class as argument.
54 * Runs a suite extracted from a TestCase subclass.
153 String testCase= "";
160 testCase= extractClassName(args[++i]);
164 testCase= args[i];
167 if (testCase.equals(""))
168 throw new Exception("Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class");
171 Test suite= getTest(testCase);
  /libcore/luni/src/test/java/libcore/java/lang/
OldObjectTest.java 21 import junit.framework.TestCase;
23 public class OldObjectTest extends TestCase {
132 int testCase = CASE_WAIT;
135 testCase = option;
141 switch(testCase) {
  /external/icu4c/test/intltest/
uts46test.cpp 236 struct TestCase {
244 static const TestCase testCases[]={
561 const TestCase &testCase=testCases[i];
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]
    [all...]
convtest.cpp 97 const DataMap *testCase;
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->getString("callback", errorCode)
    [all...]
csdetest.cpp 510 const UXMLElement *testCase;
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);
  /external/icu4c/test/iotest/
iotest.cpp 199 const DataMap *testCase;
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;
392 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
406 tempStr=testCase->getString("format", errorCode)
    [all...]

Completed in 481 milliseconds

1 2