Lines Matching refs:test
33 public synchronized void addError(Test test, Throwable t) { in addError() argument
34 fErrors.addElement(new TestFailure(test, t)); in addError()
36 ((TestListener)e.nextElement()).addError(test, t); in addError()
43 public synchronized void addFailure(Test test, AssertionFailedError t) { in addFailure() argument
44 fFailures.addElement(new TestFailure(test, t)); in addFailure()
46 ((TestListener)e.nextElement()).addFailure(test, t); in addFailure()
70 public void endTest(Test test) { in endTest() argument
72 ((TestListener)e.nextElement()).endTest(test); in endTest()
102 protected void run(final TestCase test) { in run() argument
103 startTest(test); in run()
106 test.runBare(); in run()
109 runProtected(test, p); in run()
111 endTest(test); in run()
122 public void runProtected(final Test test, Protectable p) { in runProtected() argument
127 addFailure(test, e); in runProtected()
133 addError(test, e); in runProtected()
145 public void startTest(Test test) { in startTest() argument
146 final int count= test.countTestCases(); in startTest()
151 ((TestListener)e.nextElement()).startTest(test); in startTest()