|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.utjml.rat.RatAdapter
public abstract class RatAdapter
An abstract adapter class for receiving test case generation events, aka RAT events. The methods in this class are empty. This class exists as convenience for creating listener objects.
Extend this class to create a RAT event listener and override only the methods for the events of interest.
Create a listener object using your class and then register it
with the Main.addRatListener(edu.utep.cs.utjml.rat.RatListener) method.
The listener object will be notified with RAT events.
| Constructor Summary | |
|---|---|
RatAdapter()
|
|
| Method Summary | |
|---|---|
void |
coverage(int noexprs,
int attempt,
int mncount,
int nocases)
Invoked to send a summary of test coverage information for the current class. |
void |
endClass()
Invoked when the processing of the current class is completed. |
void |
endMethod()
Invoked when the processing of the current method is completed. |
void |
startClass(String name)
Invoked when a new class becomes processed to generate test cases. |
void |
startMethod(String name)
Invoked when a new method becomes processed to generate test cases. |
void |
testcase(String coverage,
boolean added,
TestCase tc)
Invoked when a new test case is generated for the current method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RatAdapter()
| Method Detail |
|---|
public void startClass(String name)
startClass in interface RatListenerpublic void endClass()
endClass in interface RatListenerpublic void startMethod(String name)
startMethod in interface RatListenerpublic void endMethod()
endMethod in interface RatListener
public void testcase(String coverage,
boolean added,
TestCase tc)
testcase in interface RatListener
public void coverage(int noexprs,
int attempt,
int mncount,
int nocases)
RatListener.endClass()
method.
coverage in interface RatListener
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||