Class TapeLibrarySimulatorRule

java.lang.Object
org.junit.rules.ExternalResource
fr.gouv.vitam.storage.offers.tape.simulator.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 Details

    • TapeLibrarySimulatorRule

      public TapeLibrarySimulatorRule(Path inputDirectory, Path tempOutputStorageDirectory, int nbDrives, int nbSlots, int nbTapes, int maxTapeCapacityInBytes, String cartridgeType, int sleepDelayMillis)
  • Method Details

    • getTapeLibrarySimulator

      public TapeLibrarySimulator getTapeLibrarySimulator()
    • after

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