|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jwalk.out.Report
public abstract class Report
Report is the ancestor of all kinds of report. Its descendants include:
ProtocolReport, a static analysis of the test class's public interface;
AlgebraReport, a dynamic analysis of the test class's algebra;
StateReport, a dynamic analysis of the test class's state space;
CycleReport, a dynamic analysis after one completed test cycle; and
SummaryReport, a summary of test statistics after testing has finished.
A Question is also a kind of Report. A Report has textual content which
is extracted using getContent(). A Question also has a query prompt,
which is extracted using getQuestion(). Every kind of Report contains
an enumerated Edition token indicating the kind of Report, so that
clients can use getEdition() to discriminate subclasses of Report more
easily, before casting a Report to a more specific type. By default,
the toString() method of Report returns the same as getContent().
Field Summary | |
---|---|
protected Edition |
edition
The edition of this Report. |
protected JWalker |
walker
The JWalker which published this Report. |
Constructor Summary | |
---|---|
Report(Edition edition,
JWalker walker)
Creates a Report published by a JWalker. |
Method Summary | |
---|---|
abstract java.lang.String |
getContent()
Returns the content of this Report as formatted text. |
Edition |
getEdition()
Returns the edition of this Report. |
JWalker |
getJWalker()
Returns the source JWalker that published this Report. |
java.lang.String |
toString()
Returns this Report as formatted text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Edition edition
protected JWalker walker
Constructor Detail |
---|
public Report(Edition edition, JWalker walker)
walker
- the JWalker publishing this Report.Method Detail |
---|
public JWalker getJWalker()
public Edition getEdition()
public java.lang.String toString()
toString
in class java.lang.Object
public abstract java.lang.String getContent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |