Class StorageFactoryDescriptorTest

java.lang.Object
de.iip_ecosphere.platform.deviceMgt.s3mock.StorageFactoryDescriptorTest

public class StorageFactoryDescriptorTest extends Object
Tests the storage factory descriptor.
Author:
Dennis Pidun, University of Hildesheim, Holger Eichelberger, SSE
  • 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.