Searched refs:testCase (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/test-runner/tests/src/android/test/
H A DTestCaseUtilTest.java38 TestCase testCase = new OneTestTestCaseWithSuite();
40 List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testCase, false);
72 TestCase testCase = new OneTestTestCase();
73 testCase.setName("testOne");
74 return testCase;
H A DAndroidTestRunnerTest.java108 for (TestCase testCase : testCases) {
109 assertSame(mStubContext, ((AndroidTestCase) testCase).getContext());
124 for (TestCase testCase : testCases) {
125 assertSame(mStubContext, ((AndroidTestCase) testCase).getContext());
144 for (TestCase testCase : testCases) {
145 testNames.add(testCase.getName());
156 for (TestCase testCase : testCases) {
157 testNames.add(testCase.getName());
167 for (TestCase testCase : testCases) {
168 testNames.add(testCase
[all...]
/frameworks/base/test-runner/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);
/frameworks/base/test-runner/src/android/test/
H A DAndroidTestRunner.java52 TestCase testCase = buildSingleTestMethod(testClass, testMethodName);
53 mTestCases = Lists.newArrayList(testCase);
112 TestCase testCase = (TestCase) constructor.newInstance(args);
113 testCase.setName(testMethodName);
114 return testCase;
186 for (TestCase testCase : mTestCases) {
187 setContextIfAndroidTestCase(testCase, mContext, testContext);
188 setInstrumentationIfInstrumentationTestCase(testCase, mInstrumentation);
189 setPerformanceWriterIfPerformanceCollectorTestCase(testCase, mPerfWriter);
190 testCase
[all...]
H A DTestCaseUtil.java125 TestCase testCase = (TestCase) test;
126 return testCase.getName();
H A DTestRunner.java394 public void runInPerformanceMode(Object testCase, String className, boolean junitTest, argument
444 junit.textui.TestRunner.run((junit.framework.Test) testCase);
447 Runnable test = (Runnable) testCase;
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java110 TestCase testCase = (TestCase) clazz.newInstance();
111 testCase.setName(method);
112 mTestCases.add(testCase);
H A DUiAutomatorTestRunner.java119 for (TestCase testCase : testCases) {
120 prepareTestCase(testCase);
121 testCase.run(testRunResult);
325 * @param testCase
327 protected void prepareTestCase(TestCase testCase) { argument
328 ((UiAutomatorTestCase)testCase).setAutomationSupport(mAutomationSupport);
329 ((UiAutomatorTestCase)testCase).setUiDevice(mUiDevice);
330 ((UiAutomatorTestCase)testCase).setParams(mParams);
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestMethod.java46 public TestMethod(TestCase testCase) { argument
47 this(testCase.getName(), testCase.getClass());
H A DTestSuiteBuilder.java88 for (TestCase testCase : (List<TestCase>) TestCaseUtil.getTests(testSuite, true)) {
89 this.testCases.add(testCase);
188 for (TestCase testCase : testCases) {
189 if (satisfiesAllPredicates(new TestMethod(testCase))) {
190 addTest(testCase);
H A DTestGrouping.java72 for (Class<? extends TestCase> testCase : testCaseClasses) {
73 for (Method testMethod : getTestMethods(testCase)) {
74 testMethods.add(new TestMethod(testMethod, testCase));
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DInstrumentationTestSuiteBuilderTest.java112 TestCase testCase = (TestCase) test;
113 return testCase.getClass().getSimpleName() + "." + testCase.getName();
H A DUnitTestSuiteBuilderTest.java105 TestCase testCase = (TestCase) test;
106 return testCase.getClass().getSimpleName() + "." + testCase.getName();
H A DTestSuiteBuilderTest.java214 TestCase testCase = (TestCase) test;
215 return testCase.getClass().getSimpleName() + "." + testCase.getName();
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DPropertyNodesVerifier.java34 public PropertyNodesVerifier(AndroidTestCase testCase) { argument
37 mAndroidTestCase = testCase;
/frameworks/compile/libbcc/runtime/test/Unit/ppc/
H A Dfloatunditf_test.h1 struct testCase { struct
7 struct testCase tests[] = {
[all...]
H A Dfloatditf_test.h1 struct testCase { struct
7 struct testCase tests[] = {
[all...]

Completed in 306 milliseconds