de.oio.bugkilla.management.test
Class TestPersistenceManager

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--de.oio.bugkilla.management.test.TestPersistenceManager
All Implemented Interfaces:
junit.framework.Test

public class TestPersistenceManager
extends junit.framework.TestCase

Author:
cdedek To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Constructor Summary
TestPersistenceManager(java.lang.String arg)
          Constructor for PersistenceManager.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testInstanceRootPath()
          this test assures that the standard initialization process produces an instance of PersistenceManager with properly set StandardRootPath to the TestSpecData directory in the resource-directory rsc of the distribution.
 void testInstanceSeriesPath()
          this test assures that the standard initialization process produces an instance of PersistenceManager with properly set SeriesPath: 1. the standard relative pathes 2. absolute path in the testManagment.properties 2. the relative path from the TestSpecData directory in the resource-directory rsc of the distribution. 4. the standard errorpath if nothing is given
 void testResourcePath()
          this test assures that the standardrootpath of PersistenceManager is located as parent of the ErrorSpecs-directory in the standard case.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestPersistenceManager

public TestPersistenceManager(java.lang.String arg)
Constructor for PersistenceManager.

Parameters:
arg - the argument String for the TestCase constructor
Method Detail

testResourcePath

public void testResourcePath()
this test assures that the standardrootpath of PersistenceManager is located as parent of the ErrorSpecs-directory in the standard case. This should be the standard-installation of the persistence-Manager that could be reconfigured by the testmanagement-Properties in the metadatafile. But that would not change the location of the standardrootpath.


testInstanceRootPath

public void testInstanceRootPath()
this test assures that the standard initialization process produces an instance of PersistenceManager with properly set StandardRootPath to the TestSpecData directory in the resource-directory rsc of the distribution.


testInstanceSeriesPath

public void testInstanceSeriesPath()
this test assures that the standard initialization process produces an instance of PersistenceManager with properly set SeriesPath: 1. the standard relative pathes 2. absolute path in the testManagment.properties 2. the relative path from the TestSpecData directory in the resource-directory rsc of the distribution. 4. the standard errorpath if nothing is given


setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
java.lang.Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
java.lang.Exception
See Also:
TestCase.tearDown()


Copyright © Orientation in Objects GmbH. All Rights Reserved.