Class StarterTest
java.lang.Object
test.de.iip_ecosphere.platform.support.TestWithPlugin
test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
test.de.iip_ecosphere.platform.services.environment.StarterTest
public class StarterTest
extends test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
Tests the
Starter.- 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 voidassertString(String str) Asserts thatstris a non-empty string.private static voidassertStringContaining(String str, String expected) Asserts thatstris a non-empty string containingexpected.voidAsserts that accessing the state of a non-existent service in the service environment does not fail.voidTests the starter.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, addPluginLocation, addPluginLocation, addRunAfterLoading, clear, enableLocalPlugins, loadPlugins, setInstallDir
-
Constructor Details
-
StarterTest
public StarterTest()
-
-
Method Details
-
testStarter
public void testStarter()Tests the starter. -
assertString
Asserts thatstris a non-empty string.- Parameters:
str- the string to assert
-
assertStringContaining
Asserts thatstris a non-empty string containingexpected.- Parameters:
str- the string to assertexpected- expected substring ofstr
-
testFailingServiceCreation
public void testFailingServiceCreation()Asserts that accessing the state of a non-existent service in the service environment does not fail.
-