nz.ac.waikato.mcennis.rat.graph
Class PostgresqlGraphTest

java.lang.Object
  extended by TestCase
      extended by nz.ac.waikato.mcennis.rat.graph.PostgresqlGraphTest

public class PostgresqlGraphTest
extends TestCase


Constructor Summary
PostgresqlGraphTest(java.lang.String testName)
           
 
Method Summary
protected  void initialise()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAddActor()
          Test of add method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testAddLink()
          Test of add method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testAddProperty()
          Test of add method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testAddSameIDActor()
          Test of add method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetActorAllNotPresent()
          Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetActorAllPresent()
          Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetActorIterator()
          Test of getActorIterator method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetActorSingleNotPresent()
          Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetActorSinglePresent()
          Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetActorTypeNotPresent()
          Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetActorTypePresent()
          Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetActorTypes()
          Test of getActorTypes method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetID()
          Test of getID method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetLink()
          Test of getLink method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetLinkByDestination()
          Test of getLinkByDestination method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetLinkByDestinationBadActor()
          Test of getLinkByDestination method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetLinkByDestinationBadType()
          Test of getLinkByDestination method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetLinkBySource()
          Test of getLinkBySource method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetLinkBySourceBadType()
          Test of getLinkBySource method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetLinkBySourceBadUser()
          Test of getLinkBySource method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetLinkNull()
          Test of getLink method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetLinkTypes()
          Test of getLinkTypes method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetLinkTypesNull()
          Test of getLinkTypes method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetProperty()
          Test of getProperty method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetPropertyIsNull()
          Test of getProperty method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetPropertySingle()
          Test of getProperty method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testGetPropertySingleIsNull()
          Test of getProperty method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testIsInitializedFalse()
          Test of isInitialized method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testIsInitializedTrue()
          Test of isInitialized method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testRemoveActor()
          Test of remove method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 void testRemoveLink()
          Test of remove method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgresqlGraphTest

public PostgresqlGraphTest(java.lang.String testName)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

initialise

protected void initialise()
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

testIsInitializedFalse

public void testIsInitializedFalse()
Test of isInitialized method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.


testIsInitializedTrue

public void testIsInitializedTrue()
Test of isInitialized method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.


testAddActor

public void testAddActor()
                  throws java.lang.Exception
Test of add method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.lang.Exception

testAddLink

public void testAddLink()
                 throws java.lang.Exception
Test of add method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.lang.Exception

testAddSameIDActor

public void testAddSameIDActor()
                        throws java.lang.Exception
Test of add method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.lang.Exception

testAddProperty

public void testAddProperty()
                     throws java.lang.Exception
Test of add method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.lang.Exception

testRemoveActor

public void testRemoveActor()
                     throws java.sql.SQLException
Test of remove method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testRemoveLink

public void testRemoveLink()
                    throws java.sql.SQLException
Test of remove method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetActorSinglePresent

public void testGetActorSinglePresent()
                               throws java.sql.SQLException
Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetActorSingleNotPresent

public void testGetActorSingleNotPresent()
                                  throws java.sql.SQLException
Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetActorTypePresent

public void testGetActorTypePresent()
                             throws java.sql.SQLException
Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetActorTypeNotPresent

public void testGetActorTypeNotPresent()
                                throws java.sql.SQLException
Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetActorAllPresent

public void testGetActorAllPresent()
                            throws java.sql.SQLException
Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetActorAllNotPresent

public void testGetActorAllNotPresent()
                               throws java.sql.SQLException
Test of getActor method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetActorIterator

public void testGetActorIterator()
                          throws java.sql.SQLException
Test of getActorIterator method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetActorTypes

public void testGetActorTypes()
                       throws java.sql.SQLException
Test of getActorTypes method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetLink

public void testGetLink()
                 throws java.sql.SQLException
Test of getLink method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetLinkNull

public void testGetLinkNull()
                     throws java.sql.SQLException
Test of getLink method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetLinkBySource

public void testGetLinkBySource()
                         throws java.sql.SQLException
Test of getLinkBySource method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetLinkBySourceBadType

public void testGetLinkBySourceBadType()
                                throws java.sql.SQLException
Test of getLinkBySource method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetLinkBySourceBadUser

public void testGetLinkBySourceBadUser()
                                throws java.sql.SQLException
Test of getLinkBySource method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetLinkByDestination

public void testGetLinkByDestination()
                              throws java.sql.SQLException
Test of getLinkByDestination method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetLinkByDestinationBadType

public void testGetLinkByDestinationBadType()
                                     throws java.sql.SQLException
Test of getLinkByDestination method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetLinkByDestinationBadActor

public void testGetLinkByDestinationBadActor()
                                      throws java.sql.SQLException
Test of getLinkByDestination method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetLinkTypes

public void testGetLinkTypes()
                      throws java.sql.SQLException
Test of getLinkTypes method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetLinkTypesNull

public void testGetLinkTypesNull()
                          throws java.sql.SQLException
Test of getLinkTypes method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetProperty

public void testGetProperty()
                     throws java.sql.SQLException
Test of getProperty method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetPropertyIsNull

public void testGetPropertyIsNull()
                           throws java.sql.SQLException
Test of getProperty method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetPropertySingle

public void testGetPropertySingle()
                           throws java.sql.SQLException
Test of getProperty method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetPropertySingleIsNull

public void testGetPropertySingleIsNull()
                                 throws java.sql.SQLException
Test of getProperty method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.

Throws:
java.sql.SQLException

testGetID

public void testGetID()
Test of getID method, of class nz.ac.waikato.mcennis.arm.graph.DerbyGraph.


Get Relational Analysis Toolkit at SourceForge.net. Fast, secure and Free Open Source software downloads