Package nl.knaw.dans.bagit.conformance
Class BagProfileCheckerTest
java.lang.Object
nl.knaw.dans.bagit.TempFolderTest
nl.knaw.dans.bagit.PrivateConstructorTest
nl.knaw.dans.bagit.conformance.BagProfileCheckerTest
-
Field Summary
FieldsFields inherited from class nl.knaw.dans.bagit.TempFolderTest
folder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
profileJson
-
reader
-
-
Constructor Details
-
BagProfileCheckerTest
public BagProfileCheckerTest()
-
-
Method Details
-
testClassIsWellDefined
@Test public void testClassIsWellDefined() throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException -
testBagConformsToProfile
- Throws:
Exception
-
testFetchFileNotAllowedException
- Throws:
Exception
-
testRequiredMetadataFieldNotPresentException
- Throws:
Exception
-
testMetatdataValueIsNotAcceptableException
- Throws:
Exception
-
testMetadataValueIsNotRepeatableException
- Throws:
Exception
-
testRequiredPayloadManifestNotPresentException
- Throws:
Exception
-
testRequiredTagManifestNotPresentException
- Throws:
Exception
-
testRequiredTagFileNotPresentException
- Throws:
Exception
-
testBagitVersionIsNotAcceptableException
- Throws:
Exception
-