• Home
  • Raw
  • Download

Lines Matching refs:test

17 package android.test;
100 public void startTest(Test test) { in startTest() argument
101 started(test.toString()); in startTest()
110 public void endTest(Test test) { in endTest() argument
111 finished(test.toString()); in endTest()
113 passed(test.toString()); in endTest()
123 public void addError(Test test, Throwable t) { in addError() argument
125 failed(test.toString(), t); in addError()
128 public void addFailure(Test test, junit.framework.AssertionFailedError t) { in addFailure() argument
130 failed(test.toString(), t); in addFailure()
289 Runnable test = (Runnable) clazz.newInstance(); in run() local
291 if (test instanceof TestCase) { in run()
292 testcase = (TestCase) test; in run()
303 runInPerformanceMode(test, className, false, className); in run()
307 test.run(); in run()
310 test.run(); in run()
334 junit.framework.TestCase test = (junit.framework.TestCase) clazz.newInstance(); in run() local
335 test.setName(m.getName()); in run()
337 if (test instanceof AndroidTestCase) { in run()
338 AndroidTestCase testcase = (AndroidTestCase) test; in run()
346 suite.addTest(test); in run()
352 Test test = suite.testAt(j); in run() local
353 started(test.toString()); in run()
355 runInPerformanceMode(test, className, true, test.toString()); in run()
359 finished(test.toString()); in run()
361 passed(test.toString()); in run()
363 failed(test.toString(), e); in run()
447 Runnable test = (Runnable) testCase; in runInPerformanceMode() local
449 test.run(); in runInPerformanceMode()
494 junit.framework.TestCase test = (junit.framework.TestCase) clazz.newInstance(); in runSingleJunitTest() local
496 test.setName(testName); in runSingleJunitTest()
498 if (test instanceof AndroidTestCase) { in runSingleJunitTest()
499 AndroidTestCase testcase = (AndroidTestCase) test; in runSingleJunitTest()
506 newSuite.addTest(test); in runSingleJunitTest()
510 started(test.toString()); in runSingleJunitTest()
511 runInPerformanceMode(test, className, true, test.toString()); in runSingleJunitTest()
512 finished(test.toString()); in runSingleJunitTest()
514 passed(test.toString()); in runSingleJunitTest()
516 failed(test.toString(), excep); in runSingleJunitTest()