/cts/suite/audio_quality/test/ |
AudioHardwareTest.cpp | 39 TaskCase* testCase = new TaskCase(); 40 ASSERT_TRUE(testCase != NULL); 41 android::sp<AudioHardware> playback = AudioHardware::createAudioHw(false, true, testCase); 43 android::sp<AudioHardware> recording = AudioHardware::createAudioHw(false, false, testCase); 45 delete testCase;
|
ModelBuilderTest.cpp | 29 TaskGeneric* testCase = mModelBuilder.parseTestDescriptionXml(xmlFile); 30 ASSERT_TRUE(testCase != NULL); 31 //TODO verify TestCase 32 delete testCase; 37 TaskGeneric* testCase = mModelBuilder.parseTestDescriptionXml(xmlFile); 38 ASSERT_TRUE(testCase != NULL); 39 //TODO verify TestCase 40 delete testCase; 47 //TODO verify TestCase
|
/external/compiler-rt/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() {
|
/external/skia/tests/ |
AnnotationTest.cpp | 31 struct testCase { 48 testCase tests[] = {{(SkPDFDocument::Flags)0, true},
|
WArrayTest.cpp | 159 TestWData* testCase = (TestWData*)tc; 160 if (gId >= 0 && gId < testCase->fAdvancesLen) { 161 *advance = testCase->fAdvances[gId];
|
/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 {
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
TestListParser.java | 37 TestCase currentCase = null; 96 private TestCase handleCase(TestSuite suite, String caseName) { 97 TestCase testCase = new TestCase(caseName); 98 suite.addCase(testCase); 99 return testCase; 102 private void handleTest(TestCase testCase, String test, int timeout) { 103 testCase.addTest(test, timeout) [all...] |
/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...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
TestSuiteAdapter.java | 59 TestCase testCase = new TestCase(in, out); 60 currentRule.addTestCase(testCase);
|
/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 | 26 import junit.framework.TestCase; 40 private List<TestCase> mTestCases; 53 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); 54 mTestCases = Lists.newArrayList(testCase); 66 mTestCases = (List<TestCase>) TestCaseUtil.getTests(test, true); 94 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) { 110 private TestCase newSingleTestMethod(Class testClass, String testMethodName, 113 TestCase testCase = (TestCase) constructor.newInstance(args) [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...] |
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
TestCaseCollector.java | 19 import junit.framework.TestCase; 34 private List<TestCase> mTestCases; 39 mTestCases = new ArrayList<TestCase>(); 99 * @return a list of {@link TestCase} 101 public List<TestCase> getTestCases() { 110 TestCase testCase = (TestCase) clazz.newInstance(); 111 testCase.setName(method); 112 mTestCases.add(testCase); [all...] |
/cts/suite/audio_quality/lib/src/task/ |
ModelBuilder.cpp | 204 UniquePtr<TaskCase> testCase; 213 testCase.reset(parseInclude(*inc, path)); 214 if (testCase.get() == NULL) { 218 if (!batch.get()->addChild(testCase.get())) { 221 TaskGeneric* donotuse = testCase.release(); // parent will take care of destruction.
|
/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; 268 if (TestCase.class.isAssignableFrom(testClass)) { 269 TestCase testCase = (TestCase)testClass.newInstance(); 270 testCase.setName(testName); 271 return testCase;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
FeatureSpecificTestSuiteBuilder.java | 28 import junit.framework.TestCase; 276 } else if (test instanceof TestCase) { 277 TestCase testCase = (TestCase) test; 278 return Platform.getMethod(testCase.getClass(), testCase.getName()); 281 "unable to extract method from test: not a 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) {
|
/external/junit/src/junit/textui/ |
TestRunner.java | 7 import junit.framework.TestCase; 19 * <p>TestRunner expects the name of a TestCase class as argument. 59 * Runs a suite extracted from a TestCase subclass. 61 static public void run(Class<? extends TestCase> testClass) { 153 String testCase= ""; 161 testCase= extractClassName(args[++i]); 165 testCase= arg.substring(0, lastIndex); 170 testCase= args[i]; 173 if (testCase.equals("")) 174 throw new Exception("Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class") [all...] |