Lines Matching refs:testcase
75 mJUnitClass = Class.forName("junit.framework.TestCase", false, null);
291 TestCase testcase = null;
292 if (test instanceof TestCase) {
293 testcase = (TestCase) test;
299 if (testcase != null) {
300 testcase.setUp(mContext);
316 if (testcase != null && didSetup) {
318 testcase.tearDown();
335 junit.framework.TestCase test = (junit.framework.TestCase) clazz.newInstance();
339 AndroidTestCase testcase = (AndroidTestCase) test;
341 testcase.setContext(mContext);
342 testcase.setTestContext(mContext);
395 public void runInPerformanceMode(Object testCase, String className, boolean junitTest,
445 junit.textui.TestRunner.run((junit.framework.Test) testCase);
448 Runnable test = (Runnable) testCase;
495 TestCase test = (junit.framework.TestCase) clazz.newInstance();
500 AndroidTestCase testcase = (AndroidTestCase) test;
502 testcase.setContext(mContext);