org.lexevs.dao.database.service.entity
Class VersionableEntityServiceTest

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.service.entity.VersionableEntityServiceTest
All Implemented Interfaces:
junit.framework.Test

public class VersionableEntityServiceTest
extends org.lexevs.dao.test.LexEvsDbUnitTestBase

The Class VersionableEntityServiceTest.

Author:
Kevin Peterson

Field Summary
 
Fields inherited from class org.lexevs.dao.test.LexEvsDbUnitTestBase
databaseType, dataSource, lexEvsDatabaseOperations, methodCachingProxy, prefixResolver, primaryKeyIncrementer, systemVariables
 
Constructor Summary
VersionableEntityServiceTest()
           
 
Method Summary
 void enableListeners()
           
 void getAssociationEntity()
           
 void getAssociationEntityWithWrongType()
           
 void insertBatchEntity()
          Insert batch entity.
 void insertBatchEntityWithDuplicatePropId()
           
 void insertBatchEntityWithInvalidPropLink()
           
 void insertBatchEntityWithoutCodingNamespace()
           
 void insertEntity()
          Insert entity.
 void insertEntityWithDuplicatePropId()
           
 void insertEntityWithInvalidPropLink()
           
 void insertEntityWithoutCodingNamespace()
           
 void testInsertDependentChanges()
           
 void testInsertDependentChangesWithOneInHistory()
           
 void updateEntity()
           
 
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

VersionableEntityServiceTest

public VersionableEntityServiceTest()
Method Detail

enableListeners

public void enableListeners()

insertEntity

public void insertEntity()
                  throws java.lang.Exception
Insert entity.

Throws:
java.lang.Exception - the exception

insertBatchEntityWithoutCodingNamespace

public void insertBatchEntityWithoutCodingNamespace()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

insertEntityWithoutCodingNamespace

public void insertEntityWithoutCodingNamespace()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

insertEntityWithDuplicatePropId

public void insertEntityWithDuplicatePropId()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

insertBatchEntityWithDuplicatePropId

public void insertBatchEntityWithDuplicatePropId()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

insertEntityWithInvalidPropLink

public void insertEntityWithInvalidPropLink()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

insertBatchEntityWithInvalidPropLink

public void insertBatchEntityWithInvalidPropLink()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

updateEntity

public void updateEntity()
                  throws java.lang.Exception
Throws:
java.lang.Exception

getAssociationEntity

public void getAssociationEntity()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getAssociationEntityWithWrongType

public void getAssociationEntityWithWrongType()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

insertBatchEntity

public void insertBatchEntity()
                       throws java.lang.Exception
Insert batch entity.

Throws:
java.lang.Exception - the exception

testInsertDependentChanges

public void testInsertDependentChanges()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testInsertDependentChangesWithOneInHistory

public void testInsertDependentChangesWithOneInHistory()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

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.