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
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
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
-
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
-