Lines Matching full:testcase
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);
114 testCase.setName(testMethodName);
115 return testCase;
130 return testMethodName != null && TestCase.class.isAssignableFrom(testClass);
163 public List<TestCase> getTestCases() {
187 for (TestCase testCase : mTestCases) {
188 setContextIfAndroidTestCase(testCase, mContext, testContext);
189 setInstrumentationIfInstrumentationTestCase(testCase, mInstrumentation);
190 setPerformanceWriterIfPerformanceCollectorTestCase(testCase, mPerfWriter);
191 testCase.run(mTestResult);