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.ExternalResourceHelper JUnit Rule for setup / clean of aTapeLibrarySimulatoras 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafter()TapeLibrarySimulatorgetTapeLibrarySimulator()
-
-
-
Method Detail
-
getTapeLibrarySimulator
public TapeLibrarySimulator getTapeLibrarySimulator()
-
after
public void after()
- Overrides:
afterin classorg.junit.rules.ExternalResource
-
-