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 boolean
failed()
Returnstrue
if the testcase failed.boolean
passed()
Returnstrue
if the testcase succeeded.boolean
skipped()
Returnstrue
if the testcase is skipped.String
toHTML()
Returns HTML markup for this object.
-
-
-
Constructor Detail
-
TestCase
public TestCase(Node node)
Creates an instance ofTestCase
-
-
Method Detail
-
passed
public boolean passed()
Returnstrue
if the testcase succeeded.- Returns:
true
if the testcase succeeded.
-
failed
public boolean failed()
Returnstrue
if the testcase failed.- Returns:
true
if the testcase failed.
-
skipped
public boolean skipped()
Returnstrue
if the testcase is skipped.- Returns:
true
if the testcase is skipped.
-
toHTML
public String toHTML()
Returns HTML markup for this object.- Returns:
- HTML markup for this object.
-
-