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 Summary
ConstructorDescriptionTapeLibrarySimulatorRule
(Path inputDirectory, Path tempOutputStorageDirectory, int nbDrives, int nbSlots, int nbTapes, int maxTapeCapacityInBytes, String cartridgeType, int sleepDelayMillis) -
Method Summary
Methods inherited from class org.junit.rules.ExternalResource
apply, before
-
Constructor Details
-
TapeLibrarySimulatorRule
-
-
Method Details
-
getTapeLibrarySimulator
-
after
public void after()- Overrides:
after
in classorg.junit.rules.ExternalResource
-