Interface TestCase
- All Known Implementing Classes:
JaxrsWebTestCase
,WebTestCase
public interface TestCase
This interface defines a base set of methods required used by a TS test case.
-
Method Details
-
execute
Executes the test case.- Throws:
TestFailureException
- if the test fails for any reason.
-
setName
Sets the name of the test case.- Parameters:
name
- of the test case
-
getName
String getName()Returns the name of this test case.- Returns:
- test case name
-
setState
Sets the state for this test case. This state will differ from implementation to implementation.- Parameters:
state
- test state
-
getState
Object getState()Returns the state of the test case. The state returned could possibly differ depending on when this method is called and when the test case has been executed.
-