Jetif v1.8.0

jetif
Interface TestListener

All Known Implementing Classes:
ListenerProxy, ResultCollector, TextListener

public interface TestListener

A TestListener is an object that is responsible for recording the testing result. A custom test listener allows user to record the testing result on custom media in custom format.

Author:
Vicky Wang

Field Summary
static TestListener DUMMY_LISTENER
          A dummy listener do nothing, and all information received by this listener are gone to a black hole.
 
Method Summary
 void beginSuite(String name, long timestamp)
          Recieve notification of the beginning of a suite
 void endCase(CaseResult result)
          Receive notification of the end of a test case.
 void endSuite(long timestamp)
          Receive notification of the end of a suite.
 

Field Detail

DUMMY_LISTENER

public static final TestListener DUMMY_LISTENER
A dummy listener do nothing, and all information received by this listener are gone to a black hole.

Method Detail

beginSuite

public void beginSuite(String name,
                       long timestamp)
Recieve notification of the beginning of a suite

Parameters:
name - the name of the suite.
timestamp - the time stamp of the beginning

endCase

public void endCase(CaseResult result)
Receive notification of the end of a test case. Note the beginCase(String) has been removed since version 1.6.0.

Parameters:
result - result object of the test case.

endSuite

public void endSuite(long timestamp)
Receive notification of the end of a suite.

Parameters:
timestamp - the time stamp of the endding

Jetif v1.8.0

Copyright © 2004,2005 Vicky Wang - All Rights Reserved.