Lines Matching refs:testcase
74 mJUnitClass = Class.forName("junit.framework.TestCase", false, null);
290 TestCase testcase = null;
291 if (test instanceof TestCase) {
292 testcase = (TestCase) test;
298 if (testcase != null) {
299 testcase.setUp(mContext);
315 if (testcase != null && didSetup) {
317 testcase.tearDown();
334 junit.framework.TestCase test = (junit.framework.TestCase) clazz.newInstance();
338 AndroidTestCase testcase = (AndroidTestCase) test;
340 testcase.setContext(mContext);
341 testcase.setTestContext(mContext);
394 public void runInPerformanceMode(Object testCase, String className, boolean junitTest,
444 junit.textui.TestRunner.run((junit.framework.Test) testCase);
447 Runnable test = (Runnable) testCase;
494 TestCase test = (junit.framework.TestCase) clazz.newInstance();
499 AndroidTestCase testcase = (AndroidTestCase) test;
501 testcase.setContext(mContext);