Home | History | Annotate | Download | only in test

Lines Matching full:testcase

26 import junit.framework.TestCase;
47 private List<TestCase> mTestCases;
60 TestCase testCase = buildSingleTestMethod(testClass, testMethodName);
61 mTestCases = Lists.newArrayList(testCase);
73 mTestCases = (List<TestCase>) TestCaseUtil.getTests(test, true);
101 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) {
117 private TestCase newSingleTestMethod(Class testClass, String testMethodName,
120 TestCase testCase = (TestCase) constructor.newInstance(args);
121 testCase.setName(testMethodName);
122 return testCase;
137 return testMethodName != null && TestCase.class.isAssignableFrom(testClass);
170 public List<TestCase> getTestCases() {
194 for (TestCase testCase : mTestCases) {
195 setContextIfAndroidTestCase(testCase, mContext, testContext);
196 setInstrumentationIfInstrumentationTestCase(testCase, mInstrumentation);
197 setPerformanceWriterIfPerformanceCollectorTestCase(testCase, mPerfWriter);
198 testCase.run(mTestResult);