Package com.adaptris.tester.runtime
Class TestCase
java.lang.Object
com.adaptris.tester.runtime.TestCase
- All Implemented Interfaces:
TestComponent,UniqueIdAwareTestComponent
In the service test configuration this class is aliased as test-case which is the preferred alternative to the fully qualified classname when building your configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(String parentId, TestClient client, ServiceToTest serviceToTest, ServiceTestConfig config) Return the unique id.voidsetAssertions(Assertions assertions) voidsetExpectedException(ExpectedException expectedException) voidsetGlobFilter(String globFilter) voidsetInputMessageProvider(TestMessageProvider inputMessageProvider) voidsetUniqueId(String uniqueId)
-
Constructor Details
-
TestCase
public TestCase()
-
-
Method Details
-
setUniqueId
-
getUniqueId
Description copied from interface:UniqueIdAwareTestComponentReturn the unique id.- Specified by:
getUniqueIdin interfaceUniqueIdAwareTestComponent- Returns:
- The unique id
-
getInputMessageProvider
-
setInputMessageProvider
-
setAssertions
-
getAssertions
-
setExpectedException
-
getExpectedException
-
setGlobFilter
-
getGlobFilter
-
execute
public JUnitReportTestCase execute(String parentId, TestClient client, ServiceToTest serviceToTest, ServiceTestConfig config) throws ServiceTestException - Throws:
ServiceTestException
-