|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jwalk.out.Report org.jwalk.out.ProtocolReport org.jwalk.out.AlgebraReport
public class AlgebraReport
AlgebraReport is a report on the test class's algebraic structure. An AlgebraReport is responsible for formatting the data generated by an AlgebraWalker, which estimated the algebraic category of each of the test class's constructors and methods. It also provides direct access to the test class and its constructors and methods; and allows clients to request the algebraic Category of each constructor and method.
Field Summary |
---|
Fields inherited from class org.jwalk.out.Report |
---|
edition, walker |
Constructor Summary | |
---|---|
AlgebraReport(AlgebraWalker walker)
Creates an AlgebraReport. |
Method Summary | |
---|---|
protected java.lang.String |
banner()
Creates a text banner to use at the start of the report. |
java.lang.String |
getContent()
Returns the content this AlgebraReport as formatted text. |
AlgebraWalker |
getJWalker()
Return the AlgebraWalker which was the source of this report. |
boolean |
isObserver(java.lang.reflect.Member member)
Reports if a member is an OBSERVER, in the algebraic sense. |
boolean |
isPrimitive(java.lang.Enum<?> value)
Reports if an enumerated constant is primitive. |
boolean |
isPrimitive(java.lang.reflect.Member member)
Reports if a member is a CONSTRUCTOR, in the algebraic sense. |
boolean |
isTransformer(java.lang.reflect.Member member)
Reports if a member is a TRANSFORMER, in the algebraic sense. |
Methods inherited from class org.jwalk.out.ProtocolReport |
---|
getConstants, getConstructors, getMethods, getTestClass, isAbstract, toString, toString, toString |
Methods inherited from class org.jwalk.out.Report |
---|
getEdition, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AlgebraReport(AlgebraWalker walker)
walker
- the AlgebraWalker used to explore the test class.Method Detail |
---|
public AlgebraWalker getJWalker()
getJWalker
in class ProtocolReport
public boolean isPrimitive(java.lang.Enum<?> value)
value
- the enumerated constant.
public boolean isPrimitive(java.lang.reflect.Member member)
member
- a Field, Constructor or Method.
public boolean isTransformer(java.lang.reflect.Member member)
member
- a Field, Constructor or Method.
public boolean isObserver(java.lang.reflect.Member member)
member
- a Field, Constructor or Method.
protected java.lang.String banner()
banner
in class ProtocolReport
public java.lang.String getContent()
getContent
in class ProtocolReport
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |