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 aTapeLibrarySimulator
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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
after()
TapeLibrarySimulator
getTapeLibrarySimulator()
-
-
-
Method Detail
-
getTapeLibrarySimulator
public TapeLibrarySimulator getTapeLibrarySimulator()
-
after
public void after()
- Overrides:
after
in classorg.junit.rules.ExternalResource
-
-