Package nl.knaw.dans.bagit.hash
Class HasherTest
java.lang.Object
nl.knaw.dans.bagit.TempFolderTest
nl.knaw.dans.bagit.PrivateConstructorTest
nl.knaw.dans.bagit.hash.HasherTest
-
Field Summary
Fields inherited from class nl.knaw.dans.bagit.TempFolderTest
folder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidMethods inherited from class nl.knaw.dans.bagit.PrivateConstructorTest
assertUtilityClassWellDefinedMethods inherited from class nl.knaw.dans.bagit.TempFolderTest
copyBagToTempFolder, createDirectory, createFile, delete, setupTempFolder, teardownTempFolder
-
Constructor Details
-
HasherTest
public HasherTest()
-
-
Method Details
-
testClassIsWellDefined
@Test public void testClassIsWellDefined() throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException -
testBasicHash
- Throws:
IOExceptionNoSuchAlgorithmException
-
testHashBadInput
- Throws:
IOExceptionNoSuchAlgorithmException
-