Class StorageFactoryDescriptorTest
- java.lang.Object
-
- de.iip_ecosphere.platform.deviceMgt.minio.StorageFactoryDescriptorTest
-
public class StorageFactoryDescriptorTest extends java.lang.ObjectTests the storage factory descriptor.- Author:
- Dennis Pidun, University of Hildesheim
-
-
Field Summary
Fields Modifier and Type Field Description private de.iip_ecosphere.platform.deviceMgt.DeviceMgtSetupconfiguration
-
Constructor Summary
Constructors Constructor Description StorageFactoryDescriptorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateRuntimeStorage_withConfiguration_createsStorage()Tests that creating a runtime storage with configuration also creates a storage.voidcreateRuntimeStorage_withInvalidConfiguration_returnsNull()Tests that creating a runtime storage with invalid configuration does not create a storage.voidcreateRuntimeStorage_withServiceProvider_usesServiceProvider()Tests that creating a runtime storage with service provide uses the service provider.voidcreateStorages_withoutServiceProvider_isJSL()Tests that creating a runtime storage leads to the JSL-configured storage.voidsetUp()Configures the test.
-
-
-
Method Detail
-
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.
-
createRuntimeStorage_withServiceProvider_usesServiceProvider
public void createRuntimeStorage_withServiceProvider_usesServiceProvider()
Tests that creating a runtime storage with service provide uses the service provider.
-
createStorages_withoutServiceProvider_isJSL
public void createStorages_withoutServiceProvider_isJSL()
Tests that creating a runtime storage leads to the JSL-configured storage.
-
-