Interface AdHocTestObjectFactory


  • public interface AdHocTestObjectFactory
    Factory for creating AdHoc Test Objects
    • Method Detail

      • fromDataSet

        AdHocTestObject fromDataSet​(java.nio.file.Path pathToDataSet)
                             throws RemoteInvocationException,
                                    java.io.IOException
        Create a temporary Test Object for a Data Set that is represented by a (local) path.
        Parameters:
        pathToDataSet - a path to the Data Set
        Returns:
        a temporary Test Object
        Throws:
        RemoteInvocationException - if the ETF instance returned an error
        java.io.IOException - if reading the data set from the path failed
      • fromDataSet

        default AdHocTestObject fromDataSet​(java.net.URL url)
        Create a temporary Test Object for a Data Set that is represented by a remote URL.
        Parameters:
        url - an URL to the Service
        Returns:
        a temporary Test Object
        See Also:
        HttpBasicAuthentication
      • fromDataSet

        AdHocTestObject fromDataSet​(java.net.URL url,
                                    java.net.Authenticator authenticator)
        Create a temporary Test Object for a Data Set that is represented by a remote URL.
        Parameters:
        url - an URL to the Service
        authenticator - Authenticator to use for authentication
        Returns:
        a temporary Test Object
        See Also:
        HttpBasicAuthentication
      • fromService

        AdHocTestObject fromService​(java.net.URL url,
                                    java.net.Authenticator authenticator)
        Create a temporary Test Object for a Service
        Parameters:
        url - an URL to the Service
        authenticator - Authenticator to use for authentication
        Returns:
        a temporary Test Object
        See Also:
        HttpBasicAuthentication
      • fromService

        default AdHocTestObject fromService​(java.net.URL url)
        Create a temporary Test Object for a Service
        Parameters:
        url - an URL to the Service
        Returns:
        a temporary Test Object
        See Also:
        HttpBasicAuthentication