|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.planlib.Testcase
public class Testcase
A testcase consists of an agent type to test and the result reports.
Constructor Summary | |
---|---|
Testcase()
Create a new testcase. |
|
Testcase(int cnt,
TestReport[] reports)
Create a new testcase. |
|
Testcase(String type)
Create a new testcase. |
Method Summary | |
---|---|
long |
getDuration()
Get the test duration. |
String |
getHTMLFragment(int number)
Create an HTML representation of this element that can be included in an HTML document. |
TestReport[] |
getReports()
Get the reports. |
int |
getTestCount()
Get the test count. |
String |
getType()
Get the type. |
boolean |
isPerformed()
Check if this test case has been performed and is finished. |
boolean |
isSucceeded()
Have all agent tests succeeded. |
void |
setReports(TestReport[] reports)
Set the reports. |
void |
setTestCount(int cnt)
Set the test count. |
void |
setType(String type)
Set the type. |
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 Testcase()
public Testcase(String type)
public Testcase(int cnt, TestReport[] reports)
Method Detail |
---|
public String getType()
public void setType(String type)
type
- The type.public int getTestCount()
public void setTestCount(int cnt)
cnt
- The test count.public long getDuration()
public TestReport[] getReports()
public void setReports(TestReport[] reports)
reports
- The reports.public boolean isSucceeded()
public boolean isPerformed()
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
public String getHTMLFragment(int number)
number
- The number of the testcase (when displayed in a longer list), -1 for no number.
|
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.