Class TestCase
- java.lang.Object
-
- de.ikor.sip.foundation.testkit.workflow.TestCase
-
public class TestCase extends Object
Class containing everything necessary for test execution.
-
-
Constructor Summary
Constructors Constructor Description TestCase(String testName, List<Mock> mocks, TestCaseValidator validator, TestExecutionStatus testExecutionStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearMocks()
Clear mocks after executionvoid
reportExecutionException(Exception exception)
Signal this test case that the Exception happened so the TestReport can be updatedvoid
run()
Start Test execution
-
-
-
Constructor Detail
-
TestCase
public TestCase(String testName, List<Mock> mocks, TestCaseValidator validator, TestExecutionStatus testExecutionStatus)
-
-
Method Detail
-
run
public void run()
Start Test execution
-
clearMocks
public void clearMocks()
Clear mocks after execution
-
reportExecutionException
public void reportExecutionException(Exception exception)
Signal this test case that the Exception happened so the TestReport can be updated- Parameters:
exception
- that happened
-
-