Class ServiceTest

  • All Implemented Interfaces:
    TestComponent, UniqueIdAwareTestComponent

    public class ServiceTest
    extends java.lang.Object
    implements UniqueIdAwareTestComponent
    Main class for service tester. Use other components from tester package to define tests execution. The client class TestExecutor create and manage instances of this class.

    In the service test configuration this class is aliased as service-test which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • ServiceTest

        public ServiceTest()
    • Method Detail

      • setUniqueId

        public void setUniqueId​(java.lang.String uniqueId)
      • setTestClient

        public void setTestClient​(TestClient testClient)
      • getTestClient

        public TestClient getTestClient()
      • getSource

        public ParentSource getSource()
        The source of the XML configuration
        Returns:
        source
      • setSource

        public void setSource​(ParentSource source)
        The source of the XML configuration
        Parameters:
        source -
      • setHelpers

        public void setHelpers​(java.util.List<Helper> helpers)
      • getHelpers

        public java.util.List<Helper> getHelpers()
      • getWorkingDirectory

        public java.io.File getWorkingDirectory()
      • setWorkingDirectory

        public void setWorkingDirectory​(java.io.File workingDirectory)
      • getHelperProperties

        public java.util.Map<java.lang.String,​java.lang.String> getHelperProperties()
      • setTestLists

        public void setTestLists​(java.util.List<TestList> adapterTestLists)
      • getTestLists

        public java.util.List<TestList> getTestLists()
      • addTestList

        public void addTestList​(TestList adapterTestList)