Class PlatformAasTest
java.lang.Object
test.de.iip_ecosphere.platform.support.TestWithPlugin
test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
test.de.iip_ecosphere.platform.support.iip_aas.PlatformAasTest
public class PlatformAasTest
extends test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
Tests the platform AAS.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields inherited from class test.de.iip_ecosphere.platform.support.TestWithPlugin
PROP_AAS_PLUGIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidAsserts results around application instances.private static voidassertString(String string, String substring) Asserts that a string is there, not empty, potentially having a given substring.voidtestAas()Tests the transport AAS.Methods 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
-
Constructor Details
-
PlatformAasTest
public PlatformAasTest()
-
-
Method Details
-
testAas
Tests the transport AAS.- Throws:
ExecutionException- shall not occur in a valid testIOException- shall not occur in a valid test
-
assertApplicationInstances
Asserts results around application instances.- Throws:
IOException- shall not occur, may occur ifApplicationInstancesAasClientfails
-
assertString
Asserts that a string is there, not empty, potentially having a given substring.- Parameters:
string- the string to assertsubstring- the optional substring to assert (no substring assertion if null)
-