Class ServicesAasTest
java.lang.Object
test.de.iip_ecosphere.platform.support.TestWithPlugin
test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
test.de.iip_ecosphere.platform.transport.TestWithQpid
test.de.iip_ecosphere.platform.services.ServicesAasTest
public class ServicesAasTest
extends test.de.iip_ecosphere.platform.transport.TestWithQpid
Tests the
ServicesAas.- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsFields inherited from class test.de.iip_ecosphere.platform.support.TestWithPlugin
PROP_AAS_PLUGIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertOptions(de.iip_ecosphere.platform.services.ServiceManager mgr, Map<String, String> options) Asserts received options onmgr.static voidshutdown()Shuts down the test.static voidstartup()Initializes the test.private voidtest(de.iip_ecosphere.platform.services.ServicesAasClient client) Tests the serivces AAS client.voidtestAas()TestsServicesAas.voidTests theServicesAasvia the lifecycle descriptors.Methods inherited from class test.de.iip_ecosphere.platform.transport.TestWithQpid
addPlugin, fromPlugin, stopQpidMethods inherited from class test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
setAasPluginId, setup, setupAASPluginsMethods inherited from class test.de.iip_ecosphere.platform.support.TestWithPlugin
addPluginLocation, addRunAfterLoading, clear, enableLocalPlugins, loadPlugins, setInstallDir
-
Field Details
-
qpid
private static de.iip_ecosphere.platform.support.Server qpid
-
-
Constructor Details
-
ServicesAasTest
public ServicesAasTest()
-
-
Method Details
-
startup
public static void startup()Initializes the test. -
shutdown
public static void shutdown()Shuts down the test. -
testAas
TestsServicesAas.- Throws:
IOException- shall not occurExecutionException- shall not occurURISyntaxException- shall not occur
-
testLifecycle
Tests theServicesAasvia the lifecycle descriptors.- Throws:
IOException- shall not occurExecutionException- shall not occurURISyntaxException- shall not occur
-
test
private void test(de.iip_ecosphere.platform.services.ServicesAasClient client) throws IOException, ExecutionException, URISyntaxException Tests the serivces AAS client.- Parameters:
client- the client- Throws:
IOException- shall not occurExecutionException- shall not occurURISyntaxException- shall not occur
-
assertOptions
private void assertOptions(de.iip_ecosphere.platform.services.ServiceManager mgr, Map<String, String> options) Asserts received options onmgr.- Parameters:
mgr- the manager instanceoptions- the expected options
-