|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.planlib.TestReport
public class TestReport
A test report captures the description and results of a test.
Constructor Summary | |
---|---|
TestReport()
Create a new test report. |
|
TestReport(String name,
String description)
Create a new test report. |
|
TestReport(String name,
String description,
boolean succeded,
String reason)
Create a new test report. |
Method Summary | |
---|---|
String |
getDescription()
Get the description. |
String |
getName()
Get the name. |
String |
getReason()
Get the failure reason. |
boolean |
isSucceeded()
Has the test succeeded. |
void |
setDescription(String description)
Set the description. |
void |
setFailed(String reason)
Set the report result to failed and set the failurereason. |
void |
setName(String name)
Set the name. |
void |
setReason(String reason)
Set the failure reason. |
void |
setSucceeded(boolean succeded)
Set the test success. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestReport()
public TestReport(String name, String description)
public TestReport(String name, String description, boolean succeded, String reason)
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name.public String getDescription()
public void setDescription(String description)
description
- The description.public boolean isSucceeded()
public void setSucceeded(boolean succeded)
succeded
- True on success.public String getReason()
public void setReason(String reason)
reason
- The failure reason.public void setFailed(String reason)
reason
- The failure reason.public String toString()
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
toString
in class Object
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.