Package nl.knaw.dans.bagit.verify
Class MandatoryVerifierTest
java.lang.Object
nl.knaw.dans.bagit.TempFolderTest
nl.knaw.dans.bagit.PrivateConstructorTest
nl.knaw.dans.bagit.verify.MandatoryVerifierTest
-
Field Summary
FieldsFields inherited from class nl.knaw.dans.bagit.TempFolderTest
folder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voiddeleteDirectory(Path directory) voidvoidvoidvoidvoidMethods inherited from class nl.knaw.dans.bagit.PrivateConstructorTest
assertUtilityClassWellDefinedMethods inherited from class nl.knaw.dans.bagit.TempFolderTest
copyBagToTempFolder, createDirectory, createFile, delete, setupTempFolder, teardownTempFolder
-
Field Details
-
rootDir
-
reader
-
-
Constructor Details
-
MandatoryVerifierTest
public MandatoryVerifierTest()
-
-
Method Details
-
testClassIsWellDefined
@Test public void testClassIsWellDefined() throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException -
testErrorWhenFetchItemsDontExist
- Throws:
Exception
-
testErrorWhenMissingPayloadDirectory
- Throws:
Exception
-
testErrorWhenMissingPayloadManifest
- Throws:
Exception
-
testErrorWhenMissingBagitTextFile
- Throws:
Exception
-
copyBagToTestFolder
- Throws:
Exception
-
deleteDirectory
- Throws:
Exception
-