Class TapeLibrarySimulatorRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class TapeLibrarySimulatorRule
    extends org.junit.rules.ExternalResource
    Helper JUnit Rule for setup / clean of a TapeLibrarySimulator as test context.
    • Constructor Summary

      Constructors 
      Constructor Description
      TapeLibrarySimulatorRule​(java.nio.file.Path inputDirectory, java.nio.file.Path tempOutputStorageDirectory, int nbDrives, int nbSlots, int nbTapes, int maxTapeCapacityInBytes, java.lang.String cartridgeType, int sleepDelayMillis)  
    • Constructor Detail

      • TapeLibrarySimulatorRule

        public TapeLibrarySimulatorRule​(java.nio.file.Path inputDirectory,
                                        java.nio.file.Path tempOutputStorageDirectory,
                                        int nbDrives,
                                        int nbSlots,
                                        int nbTapes,
                                        int maxTapeCapacityInBytes,
                                        java.lang.String cartridgeType,
                                        int sleepDelayMillis)
    • Method Detail

      • after

        public void after()
        Overrides:
        after in class org.junit.rules.ExternalResource