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
Fields inherited from class nl.knaw.dans.bagit.TempFolderTest
folder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
deleteDirectory
(Path directory) void
void
void
void
void
Methods inherited from class nl.knaw.dans.bagit.PrivateConstructorTest
assertUtilityClassWellDefined
Methods 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
-