org.jhotdraw.test.util
Class VersionManagementTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jhotdraw.test.util.VersionManagementTest
All Implemented Interfaces:
junit.framework.Test

public class VersionManagementTest
extends junit.framework.TestCase

TestCase VersionManagementTest is generated by JUnitDoclet to hold the tests for VersionManagement.

See Also:
VersionManagement

Constructor Summary
VersionManagementTest(java.lang.String name)
          Constructor VersionManagementTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework.
 
Method Summary
 VersionManagement createInstance()
          Factory method for instances of the class to be tested.
 void testExtractVersionInfo()
          Method testExtractVersionInfo is testing extractVersionInfo
 void testGetJHotDrawVersion()
          Method testGetJHotDrawVersion is testing getJHotDrawVersion
 void testGetPackageVersion()
          Method testGetPackageVersion is testing getPackageVersion
 void testIsCompatibleVersion()
          Method testIsCompatibleVersion is testing isCompatibleVersion
 void testNormalizePackageName()
          Method testNormalizePackageName is testing normalizePackageName
 void testReadVersionFromFile()
          Method testReadVersionFromFile is testing readVersionFromFile
 void testVault()
          JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionManagementTest

public VersionManagementTest(java.lang.String name)
Constructor VersionManagementTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework.

Method Detail

createInstance

public VersionManagement createInstance()
                                 throws java.lang.Exception
Factory method for instances of the class to be tested.

Throws:
java.lang.Exception

testGetJHotDrawVersion

public void testGetJHotDrawVersion()
                            throws java.lang.Exception
Method testGetJHotDrawVersion is testing getJHotDrawVersion

Throws:
java.lang.Exception
See Also:
VersionManagement.getJHotDrawVersion()

testGetPackageVersion

public void testGetPackageVersion()
                           throws java.lang.Exception
Method testGetPackageVersion is testing getPackageVersion

Throws:
java.lang.Exception
See Also:
VersionManagement.getPackageVersion(java.lang.Package)

testIsCompatibleVersion

public void testIsCompatibleVersion()
                             throws java.lang.Exception
Method testIsCompatibleVersion is testing isCompatibleVersion

Throws:
java.lang.Exception
See Also:
VersionManagement.isCompatibleVersion(java.lang.String)

testReadVersionFromFile

public void testReadVersionFromFile()
                             throws java.lang.Exception
Method testReadVersionFromFile is testing readVersionFromFile

Throws:
java.lang.Exception
See Also:
VersionManagement.readVersionFromFile(java.lang.String, java.lang.String)

testNormalizePackageName

public void testNormalizePackageName()
                              throws java.lang.Exception
Method testNormalizePackageName is testing normalizePackageName

Throws:
java.lang.Exception
See Also:
VersionManagement.normalizePackageName(java.lang.String)

testExtractVersionInfo

public void testExtractVersionInfo()
                            throws java.lang.Exception
Method testExtractVersionInfo is testing extractVersionInfo

Throws:
java.lang.Exception
See Also:
VersionManagement.extractVersionInfo(java.lang.String)

testVault

public void testVault()
               throws java.lang.Exception
JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty. This way, no test gets lost when regenerating after renaming. Method testVault is supposed to be empty.

Throws:
java.lang.Exception