Class StorageFactoryDescriptorTest
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.s3mock.StorageFactoryDescriptorTest
Tests the storage factory descriptor.
- Author:
- Dennis Pidun, University of Hildesheim, Holger Eichelberger, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate de.iip_ecosphere.platform.deviceMgt.DeviceMgtSetup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests that creating a runtime storage with configuration also creates a storage.voidTests that creating a runtime storage with invalid configuration does not create a storage.voidTests that creating a runtime storage leads to the JSL-configured storage.voidsetUp()Configures the test.
-
Field Details
-
configuration
private de.iip_ecosphere.platform.deviceMgt.DeviceMgtSetup configuration
-
-
Constructor Details
-
StorageFactoryDescriptorTest
public StorageFactoryDescriptorTest()
-
-
Method Details
-
setUp
public void setUp()Configures the test. -
createRuntimeStorage_withConfiguration_createsStorage
public void createRuntimeStorage_withConfiguration_createsStorage()Tests that creating a runtime storage with configuration also creates a storage. -
createRuntimeStorage_withInvalidConfiguration_returnsNull
public void createRuntimeStorage_withInvalidConfiguration_returnsNull()Tests that creating a runtime storage with invalid configuration does not create a storage. -
createStorages_withoutServiceProvider_isJSL
public void createStorages_withoutServiceProvider_isJSL()Tests that creating a runtime storage leads to the JSL-configured storage.
-