org.lexevs.dao.database.ibatis.property
Class IbatisPropertyDaoTest

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

@TransactionConfiguration(transactionManager="transactionManager",
                          defaultRollback=false)
@Transactional
public class IbatisPropertyDaoTest
extends org.lexevs.dao.test.LexEvsDbUnitTestBase

The Class IbatisPropertyDaoTest.

Author:
Kevin Peterson

Field Summary
 
Fields inherited from class org.lexevs.dao.test.LexEvsDbUnitTestBase
databaseType, dataSource, lexEvsDatabaseOperations, methodCachingProxy, prefixResolver, primaryKeyIncrementer, systemVariables
 
Constructor Summary
IbatisPropertyDaoTest()
           
 
Method Summary
 void deleteAllEntityPropertiesOfCodingScheme()
          Delete all entity properties of coding scheme.
 void getPresentationPropertyByParent()
          Gets the presentation property by parent.
 void getPropertId()
          Gets the propert id.
 void getPropertiesOfParents()
          Gets the property by parent.
 void getPropertiesOfParentsRestrictByName()
           
 void getPropertiesOfParentsRestrictByNameAndType()
           
 void getPropertiesOfParentsRestrictByNameAndTypeWrongMismatched()
           
 void getPropertiesOfParentsRestrictByNameAndTypeWrongName()
           
 void getPropertiesOfParentsRestrictByNameAndTypeWrongType()
           
 void getPropertiesOfParentsRestrictByType()
           
 void getPropertiesOfParentsTwoProperties()
           
 void getPropertiesOfParentsWithTwoDifferentEntities()
           
 void getPropertiesOfParentsZeroProperties()
           
 void getPropertyByParent()
          Gets the property by parent.
 void getPropertyByParentWithEverything()
           
 void insertGenericProperty()
          Insert generic property.
 void insertHistoryProperty()
          Insert generic property.
 void insertPresentation()
          Insert presentation.
 void insertPropertyLink()
          Insert property link.
 void insertPropertyQualifier()
          Insert property qualifier.
 void insertPropertySource()
          Insert property source.
 void insertPropertyUsageContext()
          Insert property usage context.
 void testGetHistoryProperty()
           
 void testGetHistoryPropertyWithQualifier()
           
 void testGetHistoryPropertyWithTwoProperties()
           
 void testGetHistoryPropertyWithTwoQualifiers()
           
 void updatePresentation()
           
 void updateProperty()
           
 
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

IbatisPropertyDaoTest

public IbatisPropertyDaoTest()
Method Detail

insertPresentation

public void insertPresentation()
Insert presentation.


updatePresentation

public void updatePresentation()

updateProperty

public void updateProperty()

insertGenericProperty

public void insertGenericProperty()
Insert generic property.


insertHistoryProperty

public void insertHistoryProperty()
Insert generic property.


testGetHistoryProperty

@Transactional
public void testGetHistoryProperty()

testGetHistoryPropertyWithQualifier

@Transactional
public void testGetHistoryPropertyWithQualifier()

testGetHistoryPropertyWithTwoQualifiers

@Transactional
public void testGetHistoryPropertyWithTwoQualifiers()

testGetHistoryPropertyWithTwoProperties

@Transactional
public void testGetHistoryPropertyWithTwoProperties()

insertPropertyQualifier

public void insertPropertyQualifier()
Insert property qualifier.


insertPropertySource

public void insertPropertySource()
Insert property source.


insertPropertyUsageContext

public void insertPropertyUsageContext()
Insert property usage context.


insertPropertyLink

public void insertPropertyLink()
Insert property link.


getPropertyByParent

public void getPropertyByParent()
Gets the property by parent.


getPropertiesOfParents

public void getPropertiesOfParents()
Gets the property by parent.


getPropertiesOfParentsRestrictByName

public void getPropertiesOfParentsRestrictByName()

getPropertiesOfParentsRestrictByType

public void getPropertiesOfParentsRestrictByType()

getPropertiesOfParentsRestrictByNameAndType

public void getPropertiesOfParentsRestrictByNameAndType()

getPropertiesOfParentsRestrictByNameAndTypeWrongName

public void getPropertiesOfParentsRestrictByNameAndTypeWrongName()

getPropertiesOfParentsRestrictByNameAndTypeWrongType

public void getPropertiesOfParentsRestrictByNameAndTypeWrongType()

getPropertiesOfParentsRestrictByNameAndTypeWrongMismatched

public void getPropertiesOfParentsRestrictByNameAndTypeWrongMismatched()

getPropertiesOfParentsWithTwoDifferentEntities

public void getPropertiesOfParentsWithTwoDifferentEntities()

getPropertiesOfParentsTwoProperties

public void getPropertiesOfParentsTwoProperties()

getPropertiesOfParentsZeroProperties

public void getPropertiesOfParentsZeroProperties()

getPropertyByParentWithEverything

public void getPropertyByParentWithEverything()

getPropertId

public void getPropertId()
Gets the propert id.


getPresentationPropertyByParent

public void getPresentationPropertyByParent()
Gets the presentation property by parent.


deleteAllEntityPropertiesOfCodingScheme

public void deleteAllEntityPropertiesOfCodingScheme()
Delete all entity properties of coding scheme.


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.