org.lexevs.dao.database.ibatis.association
Class IbatisAssociationDaoTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.dbunit.DatabaseTestCase
              extended by org.dbunit.DBTestCase
                  extended by org.dbunit.DataSourceBasedDBTestCase
                      extended by org.lexevs.dao.test.LexEvsDbUnitTestBase
                          extended by org.lexevs.dao.database.ibatis.association.IbatisAssociationDaoTest
All Implemented Interfaces:
junit.framework.Test

@TransactionConfiguration
public class IbatisAssociationDaoTest
extends org.lexevs.dao.test.LexEvsDbUnitTestBase

The Class IbatisAssociationDaoTest.

Author:
Kevin Peterson

Field Summary
 
Fields inherited from class org.lexevs.dao.test.LexEvsDbUnitTestBase
databaseType, dataSource, lexEvsDatabaseOperations, methodCachingProxy, prefixResolver, primaryKeyIncrementer, systemVariables
 
Constructor Summary
IbatisAssociationDaoTest()
           
 
Method Summary
 void getAllTriplesOfCodingSchemeLimit1()
           
 void getAllTriplesOfCodingSchemeTestStart()
           
 void testDeleteAllAssocQuals()
           
 void testGetAssociationPredicateIdsForRelationsId()
           
 void testGetKeyForAssociationInstanceId()
          Test get key for association instance id.
 void testGetNodesPath()
           
 void testGetRelationsIdsForCodingSchemeId()
           
 void testInsertAssociationPredicate()
          Test insert association predicate.
 void testInsertAssociationQualifier()
          Test insert association qualifier.
 void testInsertAssociationSource()
          Test insert association source.
 void testInsertRelations()
          Test insert relations.
 void testInsertTransitiveClosure()
          Test insert transitive closure.
 
Methods inherited from class org.lexevs.dao.test.LexEvsDbUnitTestBase
checkSetUp, getDataSet, getDataSource, setSystemProp, setUp, tearDown
 
Methods inherited from class org.dbunit.DataSourceBasedDBTestCase
newDatabaseTester
 
Methods inherited from class org.dbunit.DBTestCase
getConnection
 
Methods inherited from class org.dbunit.DatabaseTestCase
closeConnection, getDatabaseTester, getOperationListener, getSetUpOperation, getTearDownOperation, setUpDatabaseConfig
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IbatisAssociationDaoTest

public IbatisAssociationDaoTest()
Method Detail

testGetKeyForAssociationInstanceId

@Transactional
public void testGetKeyForAssociationInstanceId()
                                        throws java.sql.SQLException
Test get key for association instance id.

Throws:
java.sql.SQLException - the SQL exception

testInsertAssociationQualifier

@Transactional
public void testInsertAssociationQualifier()
                                    throws java.sql.SQLException
Test insert association qualifier.

Throws:
java.sql.SQLException - the SQL exception

getAllTriplesOfCodingSchemeLimit1

@Transactional
public void getAllTriplesOfCodingSchemeLimit1()
                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getAllTriplesOfCodingSchemeTestStart

public void getAllTriplesOfCodingSchemeTestStart()
                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

testInsertRelations

@Transactional
public void testInsertRelations()
                         throws java.sql.SQLException
Test insert relations.

Throws:
java.sql.SQLException - the SQL exception

testInsertAssociationSource

@Transactional
public void testInsertAssociationSource()
                                 throws java.sql.SQLException
Test insert association source.

Throws:
java.sql.SQLException - the SQL exception

testDeleteAllAssocQuals

@Transactional
public void testDeleteAllAssocQuals()
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

testGetAssociationPredicateIdsForRelationsId

@Transactional
public void testGetAssociationPredicateIdsForRelationsId()
                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

testGetRelationsIdsForCodingSchemeId

@Transactional
public void testGetRelationsIdsForCodingSchemeId()
                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

testInsertAssociationPredicate

@Transactional
public void testInsertAssociationPredicate()
                                    throws java.sql.SQLException
Test insert association predicate.

Throws:
java.sql.SQLException - the SQL exception

testInsertTransitiveClosure

@Transactional
public void testInsertTransitiveClosure()
                                 throws java.sql.SQLException
Test insert transitive closure.

Throws:
java.sql.SQLException - the SQL exception

testGetNodesPath

public void testGetNodesPath()

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.