Class ReconfigureTest
java.lang.Object
test.de.iip_ecosphere.platform.services.environment.ReconfigureTest
Tests
AbstractService.reconfigure(Map, de.iip_ecosphere.platform.services.environment.ParameterConfigurerProvider, boolean, ServiceState).- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classA simple map-based parameter configurer provider. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests a failing reconfiguration without recovery, i.e., some values may be changed or not.voidTests a failing reconfiguration with recovery, i.e., nothing shall happen.voidTests whether reconfiguration with certain null values does not harm.voidTests a successful reconfiguration without.
-
Field Details
-
param1
private int param1 -
param2
-
param3
private int param3
-
-
Constructor Details
-
ReconfigureTest
public ReconfigureTest()
-
-
Method Details
-
testReconfigureFailWithRecovery
public void testReconfigureFailWithRecovery()Tests a failing reconfiguration with recovery, i.e., nothing shall happen. -
testReconfigureFailWithoutRecovery
public void testReconfigureFailWithoutRecovery()Tests a failing reconfiguration without recovery, i.e., some values may be changed or not. -
testReconfigureSuccessful
public void testReconfigureSuccessful()Tests a successful reconfiguration without. -
testReconfigureNull
Tests whether reconfiguration with certain null values does not harm.- Throws:
ExecutionException- shall not occur
-