Class S3PackageStorageTest

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

public class S3PackageStorageTest extends Object
Tests the S3Mock package storage.
Author:
Dennis Pidun, University of Hildesheim, Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • S3PackageStorageTest

      public S3PackageStorageTest()
  • Method Details

    • startup

      public static void startup()
      Creates a mock storage.
    • teardown

      public static void teardown()
      Destroys the mock storage.
    • getPrefix_shouldBeSetToPrefix

      public void getPrefix_shouldBeSetToPrefix()
      Tests whether the prefix is correct.
    • listContent

      public void listContent()
      Tests listing mixed content.
    • getDownloadUrl_withValidUrl_returnsUrl

      public void getDownloadUrl_withValidUrl_returnsUrl()
      Tests that getting a download URL with a valid URL returns an URL.