Home
last modified time | relevance | path

Searched refs:TestDescriptor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DListTestCaseNames.java45 public static List<TestDescriptor> getTestNames(TestSuite suite) { in getTestNames()
47 ArrayList<TestDescriptor> testNames = new ArrayList<TestDescriptor>(); in getTestNames()
52 testNames.add(new TestDescriptor(className, testName)); in getTestNames()
63 public static class TestDescriptor { class in ListTestCaseNames
67 public TestDescriptor(String className, String testName) { in TestDescriptor() method in ListTestCaseNames.TestDescriptor
85 if (otherObj instanceof TestDescriptor) { in equals()
86 TestDescriptor otherDesc = (TestDescriptor)otherObj; in equals()
/frameworks/base/test-runner/tests/src/android/test/
DInstrumentationTestRunnerTest.java24 import android.test.suitebuilder.ListTestCaseNames.TestDescriptor;
88 new TestDescriptor(PlaceHolderTest.class.getName(), "testPlaceHolder"), in testMultipleTestClass()
89 new TestDescriptor(PlaceHolderTest2.class.getName(), "testPlaceHolder2")); in testMultipleTestClass()
176 private void assertContentsInOrder(List<TestDescriptor> actual, TestDescriptor... source) { in assertContentsInOrder()
177 TestDescriptor[] clonedSource = source.clone(); in assertContentsInOrder()
180 TestDescriptor actualItem = actual.get(i); in assertContentsInOrder()
181 TestDescriptor sourceItem = clonedSource[i]; in assertContentsInOrder()
190 new TestDescriptor(expectedTestClassName, expectedTestMethodName)); in assertTestRunnerCalledWithExpectedParameters()