Class TestCase
- java.lang.Object
-
- com.sun.identity.shared.test.tools.TestCase
-
public class TestCase extends Object
This class is the testcase object in the report generating tool setup. It is responsible for capturing the attributes of a testcase and then generate HTML markup accordingly.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfailed()Returnstrueif the testcase failed.booleanpassed()Returnstrueif the testcase succeeded.booleanskipped()Returnstrueif the testcase is skipped.StringtoHTML()Returns HTML markup for this object.
-
-
-
Constructor Detail
-
TestCase
public TestCase(Node node)
Creates an instance ofTestCase
-
-
Method Detail
-
passed
public boolean passed()
Returnstrueif the testcase succeeded.- Returns:
trueif the testcase succeeded.
-
failed
public boolean failed()
Returnstrueif the testcase failed.- Returns:
trueif the testcase failed.
-
skipped
public boolean skipped()
Returnstrueif the testcase is skipped.- Returns:
trueif the testcase is skipped.
-
toHTML
public String toHTML()
Returns HTML markup for this object.- Returns:
- HTML markup for this object.
-
-