Class VersionTest

java.lang.Object
nl.knaw.dans.bagit.domain.VersionTest

public class VersionTest extends Object
  • Constructor Details

    • VersionTest

      public VersionTest()
  • Method Details

    • testToString

      @Test public void testToString()
    • testHashCodeReturnsSameValueForEqualObjects

      @Test public void testHashCodeReturnsSameValueForEqualObjects()
    • testHashCodeReturnsDifferentValueForDifferentObjects

      @Test public void testHashCodeReturnsDifferentValueForDifferentObjects()
    • testCompareToWithOnlyMinorVersions

      @Test public void testCompareToWithOnlyMinorVersions()
    • testCompareToWithOnlyMajorVersions

      @Test public void testCompareToWithOnlyMajorVersions()
    • testEqualsReturnsTrueWhenSameObject

      @Test public void testEqualsReturnsTrueWhenSameObject()
    • testEqualsReturnsFalseWhenNull

      @Test public void testEqualsReturnsFalseWhenNull()
    • testEqualsReturnsFalseWhenNotAVersion

      @Test public void testEqualsReturnsFalseWhenNotAVersion()
    • testEqualsReturnsTrueWhenSameValues

      @Test public void testEqualsReturnsTrueWhenSameValues()
    • testIsNewer

      @Test public void testIsNewer()
    • testIsSameOrNewer

      @Test public void testIsSameOrNewer()
    • testIsOlder

      @Test public void testIsOlder()
    • testIsSameOrOlder

      @Test public void testIsSameOrOlder()