org.lexevs.dao.database.ibatis.codednodegraph
Class IbatisCodedNodeGraphDaoTest

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.codednodegraph.IbatisCodedNodeGraphDaoTest
All Implemented Interfaces:
junit.framework.Test

@TransactionConfiguration
public class IbatisCodedNodeGraphDaoTest
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
IbatisCodedNodeGraphDaoTest()
           
 
Method Summary
 void testAssociatedConceptsSourceOf()
           
 void testAssociatedConceptsSourceOfWithSortAsc()
           
 void testAssociatedConceptsSourceOfWithSortDesc()
           
 void testAssociatedConceptTargetOf()
           
 void testGetConceptReferencesContainingObject()
           
 void testGetConceptReferencesContainingObjectWithLimit()
           
 void testGetConceptReferencesContainingSubject()
           
 void testGetConceptReferencesContainingSubjectWithMultiple()
           
 void testGetCountConceptReferencesContainingObject()
           
 void testGetCountConceptReferencesContainingSubject()
           
 void testGetRootsWithAssociationRestriction()
           
 void testGetRootsWithNoAssociationRestrictionIndividually()
           
 void testGetRootsWithNoAssociationRestrictionTogether()
           
 void testGetRootsWithOneWrongOneRightAssociationRestriction()
           
 void testGetRootsWithQualifierRestriction()
           
 void testGetRootsWithWrongAssociationRestriction()
           
 void testGetTailsWithAssociationRestriction()
           
 void testGetTailsWithNoAssociationRestriction()
           
 void testGetTailsWithOneWrongOneRightAssociationRestriction()
           
 void testGetTailsWithWrongAssociationRestriction()
           
 void testGetTriplesForMappingRelationsCount()
           
 void testGetTripleUids()
           
 void testGetTripleUidsContainingObjectCount()
           
 void testGetTripleUidsContainingSubjectCount()
           
 void testGetTripleUidsContainingSubjectCountWithAnonymousRestrictionOnlyAnonymous()
           
 void testGetTripleUidsContainingSubjectCountWithAnonymousRestrictionOnlyNonAnonymous()
           
 void testGetTripleUidsContainingSubjectCountWithAnonymousRestrictionWithNone()
           
 void testGetTripleUidsContainingSubjectCountWithBadQualifierName()
           
 void testGetTripleUidsContainingSubjectCountWithEntityTypeRestriction()
           
 void testGetTripleUidsContainingSubjectCountWithMultipleEntityTypeRestriction()
           
 void testGetTripleUidsContainingSubjectCountWithQualifierName()
           
 void testGetTripleUidsContainingSubjectCountWithQualifierNameAndBadValue()
           
 void testGetTripleUidsContainingSubjectCountWithQualifierNameAndValue()
           
 void testGetTripleUidsContainingSubjectCountWithRestrictToCode()
           
 void testGetTripleUidsContainingSubjectCountWithRestrictToCodesystem()
           
 void testGetTripleUidsContainingSubjectCountWithWrongEntityTypeRestriction()
           
 void testGetTripleUidsContainingSubjectWithRestrictToCodesystem()
           
 void testGetTripleUidsContainingSubjectWithSort()
           
 void testGetTripleUidsForMappingRelationsContainerNoSorts()
           
 void testGetTripleUidsForMappingRelationsContainerQualifierSortAsc()
           
 void testGetTripleUidsForMappingRelationsContainerQualifierSortDesc()
           
 void testGetTripleUidsForMappingRelationsContainerSourceEnityCodeSortAsc()
           
 void testGetTripleUidsForMappingRelationsContainerSourceEnityCodeSortDesc()
           
 void testGetTripleUidsForMappingRelationsContainerSourceEnityDescriptionSortAsc()
           
 void testGetTripleUidsForMappingRelationsContainerSourceEnityDescriptionSortDesc()
           
 void testGetTripleUidsForMappingRelationsContainerTargetEnityCodeSortAsc()
           
 void testGetTripleUidsForMappingRelationsContainerTargetEnityCodeSortDesc()
           
 void testListCodeRelationshipsAnonymousRestrictionFalse()
           
 void testListCodeRelationshipsAnonymousRestrictionOneWrong()
           
 void testListCodeRelationshipsAnonymousRestrictionTrue()
           
 void testListCodeRelationshipsEntityTypeRestriction()
           
 void testListCodeRelationshipsEntityTypeRestrictionBothWrong()
           
 void testListCodeRelationshipsEntityTypeRestrictionOneWrong()
           
 void testListCodeRelationshipsEntityTypeRestrictionTwoTypes()
           
 void testListCodeRelationshipsNoTransitive()
           
 void testListCodeRelationshipsWithTransitive()
           
 
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

IbatisCodedNodeGraphDaoTest

public IbatisCodedNodeGraphDaoTest()
Method Detail

testListCodeRelationshipsNoTransitive

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

testListCodeRelationshipsEntityTypeRestriction

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

testListCodeRelationshipsEntityTypeRestrictionOneWrong

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

testListCodeRelationshipsEntityTypeRestrictionBothWrong

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

testListCodeRelationshipsEntityTypeRestrictionTwoTypes

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

testListCodeRelationshipsAnonymousRestrictionFalse

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

testListCodeRelationshipsAnonymousRestrictionTrue

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

testListCodeRelationshipsAnonymousRestrictionOneWrong

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

testListCodeRelationshipsWithTransitive

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

testGetTripleUids

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

testGetTripleUidsContainingSubjectCount

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

testGetTripleUidsContainingObjectCount

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

testAssociatedConceptsSourceOf

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

testAssociatedConceptsSourceOfWithSortDesc

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

testAssociatedConceptsSourceOfWithSortAsc

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

testAssociatedConceptTargetOf

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

testGetTripleUidsContainingSubjectCountWithAnonymousRestrictionWithNone

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

testGetTripleUidsContainingSubjectCountWithAnonymousRestrictionOnlyAnonymous

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

testGetTripleUidsContainingSubjectCountWithAnonymousRestrictionOnlyNonAnonymous

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

testGetTripleUidsContainingSubjectCountWithEntityTypeRestriction

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

testGetTripleUidsContainingSubjectCountWithWrongEntityTypeRestriction

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

testGetTripleUidsContainingSubjectCountWithMultipleEntityTypeRestriction

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

testGetTripleUidsContainingSubjectCountWithQualifierName

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

testGetTripleUidsContainingSubjectCountWithBadQualifierName

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

testGetTripleUidsContainingSubjectCountWithQualifierNameAndValue

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

testGetTripleUidsContainingSubjectCountWithQualifierNameAndBadValue

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

testGetTripleUidsContainingSubjectCountWithRestrictToCode

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

testGetTripleUidsContainingSubjectCountWithRestrictToCodesystem

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

testGetTripleUidsContainingSubjectWithRestrictToCodesystem

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

testGetRootsWithNoAssociationRestrictionIndividually

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

testGetRootsWithNoAssociationRestrictionTogether

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

testGetRootsWithAssociationRestriction

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

testGetRootsWithWrongAssociationRestriction

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

testGetRootsWithOneWrongOneRightAssociationRestriction

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

testGetRootsWithQualifierRestriction

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

testGetTailsWithNoAssociationRestriction

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

testGetTailsWithAssociationRestriction

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

testGetTailsWithWrongAssociationRestriction

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

testGetTailsWithOneWrongOneRightAssociationRestriction

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

testGetCountConceptReferencesContainingSubject

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

testGetCountConceptReferencesContainingObject

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

testGetConceptReferencesContainingSubject

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

testGetConceptReferencesContainingSubjectWithMultiple

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

testGetConceptReferencesContainingObject

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

testGetConceptReferencesContainingObjectWithLimit

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

testGetTripleUidsContainingSubjectWithSort

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

testGetTripleUidsForMappingRelationsContainerNoSorts

public void testGetTripleUidsForMappingRelationsContainerNoSorts()

testGetTripleUidsForMappingRelationsContainerSourceEnityCodeSortAsc

public void testGetTripleUidsForMappingRelationsContainerSourceEnityCodeSortAsc()

testGetTripleUidsForMappingRelationsContainerSourceEnityCodeSortDesc

public void testGetTripleUidsForMappingRelationsContainerSourceEnityCodeSortDesc()

testGetTripleUidsForMappingRelationsContainerTargetEnityCodeSortAsc

public void testGetTripleUidsForMappingRelationsContainerTargetEnityCodeSortAsc()

testGetTripleUidsForMappingRelationsContainerTargetEnityCodeSortDesc

public void testGetTripleUidsForMappingRelationsContainerTargetEnityCodeSortDesc()

testGetTripleUidsForMappingRelationsContainerSourceEnityDescriptionSortAsc

public void testGetTripleUidsForMappingRelationsContainerSourceEnityDescriptionSortAsc()

testGetTripleUidsForMappingRelationsContainerSourceEnityDescriptionSortDesc

public void testGetTripleUidsForMappingRelationsContainerSourceEnityDescriptionSortDesc()

testGetTripleUidsForMappingRelationsContainerQualifierSortAsc

public void testGetTripleUidsForMappingRelationsContainerQualifierSortAsc()

testGetTripleUidsForMappingRelationsContainerQualifierSortDesc

public void testGetTripleUidsForMappingRelationsContainerQualifierSortDesc()

testGetTriplesForMappingRelationsCount

public void testGetTriplesForMappingRelationsCount()

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.