Class BagVerifierTest

java.lang.Object
nl.knaw.dans.bagit.TempFolderTest
nl.knaw.dans.bagit.verify.BagVerifierTest

public class BagVerifierTest extends TempFolderTest
  • Field Details

  • Constructor Details

    • BagVerifierTest

      public BagVerifierTest()
  • Method Details

    • testValidWhenHiddenFolderNotIncluded

      @Test public void testValidWhenHiddenFolderNotIncluded() throws Exception
      Throws:
      Exception
    • testValidWithHiddenFile

      @Test public void testValidWithHiddenFile() throws Exception
      Throws:
      Exception
    • testInvalidWithHiddenFile

      @Test public void testInvalidWithHiddenFile() throws Exception
      Throws:
      Exception
    • testStandardSupportedAlgorithms

      @Test public void testStandardSupportedAlgorithms() throws Exception
      Throws:
      Exception
    • testMD5Bag

      @Test public void testMD5Bag() throws Exception
      Throws:
      Exception
    • testSHA1Bag

      @Test public void testSHA1Bag() throws Exception
      Throws:
      Exception
    • testSHA224Bag

      @Test public void testSHA224Bag() throws Exception
      Throws:
      Exception
    • testSHA256Bag

      @Test public void testSHA256Bag() throws Exception
      Throws:
      Exception
    • testSHA512Bag

      @Test public void testSHA512Bag() throws Exception
      Throws:
      Exception
    • testVersion0_97IsValid

      @Test public void testVersion0_97IsValid() throws Exception
      Throws:
      Exception
    • testVersion2_0IsValid

      @Test public void testVersion2_0IsValid() throws Exception
      Throws:
      Exception
    • testIsComplete

      @Test public void testIsComplete() throws Exception
      Throws:
      Exception
    • testCorruptPayloadFile

      @Test public void testCorruptPayloadFile() throws Exception
      Throws:
      Exception
    • testCorruptTagFile

      @Test public void testCorruptTagFile() throws Exception
      Throws:
      Exception
    • testErrorWhenUnspportedAlgorithmException

      @Test public void testErrorWhenUnspportedAlgorithmException() throws Exception
      Throws:
      Exception
    • testVerificationExceptionIsThrownForNoSuchAlgorithmException

      @Test public void testVerificationExceptionIsThrownForNoSuchAlgorithmException() throws Exception
      Throws:
      Exception
    • testAddSHA3SupportViaExtension

      @Test public void testAddSHA3SupportViaExtension() throws Exception
      Throws:
      Exception
    • testManifestsWithLeadingDotSlash

      @Test public void testManifestsWithLeadingDotSlash() throws Exception
      Throws:
      Exception
    • testCanQuickVerify

      @Test public void testCanQuickVerify() throws Exception
      Throws:
      Exception
    • testQuickVerify

      @Test public void testQuickVerify() throws Exception
      Throws:
      Exception