Package nl.knaw.dans.bagit.verify
Class BagVerifierTest
java.lang.Object
nl.knaw.dans.bagit.TempFolderTest
nl.knaw.dans.bagit.verify.BagVerifierTest
-
Field Summary
Fields inherited from class nl.knaw.dans.bagit.TempFolderTest
folder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class nl.knaw.dans.bagit.TempFolderTest
copyBagToTempFolder, createDirectory, createFile, delete, setupTempFolder, teardownTempFolder
-
Field Details
-
rootDir
-
sut
-
reader
-
-
Constructor Details
-
BagVerifierTest
public BagVerifierTest()
-
-
Method Details
-
testValidWhenHiddenFolderNotIncluded
- Throws:
Exception
-
testValidWithHiddenFile
- Throws:
Exception
-
testInvalidWithHiddenFile
- Throws:
Exception
-
testStandardSupportedAlgorithms
- Throws:
Exception
-
testMD5Bag
- Throws:
Exception
-
testSHA1Bag
- Throws:
Exception
-
testSHA224Bag
- Throws:
Exception
-
testSHA256Bag
- Throws:
Exception
-
testSHA512Bag
- Throws:
Exception
-
testVersion0_97IsValid
- Throws:
Exception
-
testVersion2_0IsValid
- Throws:
Exception
-
testIsComplete
- Throws:
Exception
-
testCorruptPayloadFile
- Throws:
Exception
-
testCorruptTagFile
- Throws:
Exception
-
testErrorWhenUnspportedAlgorithmException
- Throws:
Exception
-
testVerificationExceptionIsThrownForNoSuchAlgorithmException
- Throws:
Exception
-
testAddSHA3SupportViaExtension
- Throws:
Exception
-
testManifestsWithLeadingDotSlash
- Throws:
Exception
-
testCanQuickVerify
- Throws:
Exception
-
testQuickVerify
- Throws:
Exception
-