Class SimpleStartStopServiceManagerTest.MyArtifactAsserter
java.lang.Object
test.de.iip_ecosphere.platform.services.spring.AbstractTestServiceManager.ArtifactAsserter
test.de.iip_ecosphere.platform.services.spring.SimpleStartStopServiceManagerTest.MyArtifactAsserter
- Enclosing class:
SimpleStartStopServiceManagerTest
private class SimpleStartStopServiceManagerTest.MyArtifactAsserter
extends AbstractTestServiceManager.ArtifactAsserter
A re-usable artifact asserter.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateMyArtifactAsserter(String createServiceId) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup(de.iip_ecosphere.platform.services.ArtifactDescriptor aDesc) Called after service stop to clean up resources.voidtestDeployment(de.iip_ecosphere.platform.services.ArtifactDescriptor aDesc) Specific tests for the given deployment, i.e., the running services.Methods inherited from class test.de.iip_ecosphere.platform.services.spring.AbstractTestServiceManager.ArtifactAsserter
getOptions, testDescriptor
-
Field Details
-
homePath
-
createServiceId
-
-
Constructor Details
-
MyArtifactAsserter
Creates an instance.- Parameters:
createServiceId- the id of the create service to assert for
-
-
Method Details
-
testDeployment
public void testDeployment(de.iip_ecosphere.platform.services.ArtifactDescriptor aDesc) Description copied from class:AbstractTestServiceManager.ArtifactAsserterSpecific tests for the given deployment, i.e., the running services.- Overrides:
testDeploymentin classAbstractTestServiceManager.ArtifactAsserter- Parameters:
aDesc- the descriptor
-
cleanup
public void cleanup(de.iip_ecosphere.platform.services.ArtifactDescriptor aDesc) Description copied from class:AbstractTestServiceManager.ArtifactAsserterCalled after service stop to clean up resources.- Overrides:
cleanupin classAbstractTestServiceManager.ArtifactAsserter- Parameters:
aDesc- the descriptor
-