/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
SmokeTestSuiteBuilderTest.java | 20 import junit.framework.TestSuite; 27 TestSuite testSuite = new SmokeTestSuiteBuilder(getClass()) 30 List<String> testCaseNames = ListTestCaseNames.getTestCaseNames(testSuite);
|
InstrumentationTestSuiteBuilderTest.java | 28 import junit.framework.TestSuite; 53 TestSuite testSuite = new OuterTest() 55 List<String> testCaseNames = getTestCaseNames(testSuite); 66 TestSuite suite = builder.build();
|
TestSuiteBuilderTest.java | 34 import junit.framework.TestSuite; 114 TestSuite testSuite = testSuiteBuilder.build(); 115 assertContentsInOrder(getTestCaseNames(testSuite), 136 TestSuite testSuite = new OuterTest().buildTestsUnderHereRecursively(); 137 assertContentsInOrder(getTestCaseNames(testSuite), 168 TestSuite suite = builder.build();
|
UnitTestSuiteBuilderTest.java | 27 import junit.framework.TestSuite; 44 TestSuite testSuite = unitTestSuiteBuilder.build(); 45 Assert.assertEquals(0, ListTestCaseNames.getTestCaseNames(testSuite).size()); 59 TestSuite suite = builder.build();
|
/frameworks/base/test-runner/src/android/test/ |
TestCaseUtil.java | 23 import junit.framework.TestSuite; 77 if (workingTest instanceof TestSuite) { 78 TestSuite testSuite = (TestSuite) workingTest; 79 Enumeration enumeration = testSuite.tests(); 102 * method that returns a TestSuite including the TestCase itself, 127 } else if (test instanceof TestSuite) { 128 TestSuite testSuite = (TestSuite) test [all...] |
InstrumentationTestRunner.java | 51 import junit.framework.TestSuite; 352 TestSuite testSuite = getTestSuite(); 353 if (testSuite != null) { 354 testSuiteBuilder.addTestSuite(testSuite); 562 public TestSuite getTestSuite() { 569 public TestSuite getAllTests() { [all...] |
/frameworks/base/test-runner/tests/src/android/test/ |
TestCaseUtilTest.java | 21 import junit.framework.TestSuite; 28 TestSuite testSuite = new TwoTestsInTestSuite(); 30 List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testSuite, false); 62 assertEquals("", TestCaseUtil.getTestName(new TestSuite())); 86 TestSuite suite = new TestSuite(OneTestTestSuite.class.getName()); 92 public static class TwoTestsInTestSuite extends TestSuite { 94 TestSuite suite = new TestSuite(TwoTestsInTestSuite.class.getName()) [all...] |
AndroidTestRunnerTest.java | 27 import junit.framework.TestSuite; 51 mAndroidTestRunner.setTestClassName(TestSuite.class.getName(), null); 57 assertEquals(TestSuite.class.getSimpleName(), mAndroidTestRunner.getTestClassName()); 198 public TestSuite getTestSuite() { 199 TestSuite testSuite = new TestSuite(); 200 testSuite.addTestSuite(OneTestTestCase.class); 201 return testSuite; 210 public static TestSuite suite() [all...] |
InstrumentationTestRunnerTest.java | 29 import junit.framework.TestSuite; 71 TestSuite testSuite = new TestSuite(); 72 testSuite.addTestSuite(PlaceHolderTest.class); 73 mInstrumentationTestRunner.setAllTestsSuite(testSuite); 87 assertContentsInOrder(ListTestCaseNames.getTestNames((TestSuite) test), 189 assertContentsInOrder(ListTestCaseNames.getTestNames((TestSuite) test), 207 private TestSuite mTestSuite; 208 private TestSuite mDefaultTestSuite [all...] |
/system/core/libctest/ |
ctest.c | 39 } TestSuite; 42 static TestSuite* getTestSuite() { 43 static TestSuite* suite = NULL; 49 suite = calloc(1, sizeof(TestSuite)); 59 TestSuite* testSuite = getTestSuite(); 60 assert(testSuite->size <= MAX_TESTS); 62 int index = testSuite->size; 63 testSuite->testNames[index] = name; 64 testSuite->tests[index] = test [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestSuite.java | 33 * Data structure that represents a "TestSuite" XML element and its children. 35 class TestSuite extends AbstractXmlPullParser { 37 static final String TAG = "TestSuite"; 42 Map<String, TestSuite> mChildSuiteMap = new LinkedHashMap<String, TestSuite>(); 46 * @param testSuite 48 public TestSuite(String suiteName) { 52 public TestSuite() { 85 TestSuite suite = getTestSuite(rootName); 91 * Gets all the child {@link TestSuite} [all...] |
/cts/tools/host/test/com/android/cts/ |
TestSessionBuilderTests.java | 94 + " <TestSuite name=\"" + suiteName + "\"" + ">\n" 101 + " </TestSuite>\n" 126 TestSuite testSuite = testPackage.getTestSuites().iterator().next(); 127 assertEquals(1, testSuite.getTestCases().size()); 128 assertEquals(suiteName, testSuite.getFullName()); 130 TestCase testCase = testSuite.getTestCases().iterator().next(); 188 + " <TestSuite name=\"" + suiteName + "\"" + ">\n" 195 + " </TestSuite>\n" 274 + " <TestSuite name=\"" + suiteName + "\"" + ">\n [all...] |
/external/junit/src/junit/awtui/ |
TestRunner.java | 39 import junit.framework.TestSuite; 440 reloadedTest= TestSuite.createTest(reloadedTestClass, rerunTest.getName()); 487 final Test testSuite= getTest(fSuiteField.getText()); 488 if (testSuite != null) { 493 fProgressIndicator.start(testSuite.countTestCases()); 497 testSuite.run(fTestResult);
|
/external/junit/src/junit/swingui/ |
TestRunner.java | 58 import junit.framework.TestSuite; 188 protected void aboutToStart(final Test testSuite) { 191 v.aboutToStart(testSuite, fTestResult); 195 protected void runFinished(final Test testSuite) { 201 v.runFinished(testSuite, fTestResult); 627 reloadedTest= TestSuite.createTest(reloadedTestClass, rerunTest.getName()); 666 final Test testSuite= getTest(suiteName); 667 if (testSuite != null) { 669 doRunTest(testSuite); 679 synchronized protected void runTest(final Test testSuite) { 726 String testsuite= fSuiteCombo.getItemAt(i).toString(); local [all...] |
/cts/tools/dx-tests/lib/ |
junit.jar | |
/cts/tools/utils/lib/ |
junit.jar | |
/cts/tools/vm-tests/lib/ |
junit.jar | |
/cts/tools/vm-tests-tf/lib/ |
junit.jar | |
/prebuilt/common/tradefed/ |
tradefed-prebuilt.jar | |
/prebuilt/common/groovy/ |
groovy-all-1.7.0.jar | |