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 Summary

    Modifier and Type
    Method
    Description
    void
    Executes the test case.
    Returns the name of this test case.
    Returns the state of the test case.
    void
    Sets the name of the test case.
    void
    Sets the state for this test case.
  • Method Details

    • execute

      void execute() throws TestFailureException
      Executes the test case.
      Throws:
      TestFailureException - if the test fails for any reason.
    • setName

      void setName(String name)
      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

      void setState(Object state)
      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.