org.lexevs.dao.database.ibatis.codingscheme
Class IbatisCodingSchemeDaoTest

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

@Transactional
public class IbatisCodingSchemeDaoTest
extends org.lexevs.dao.test.LexEvsDbUnitTestBase

The Class IbatisCodingSchemeDaoTest.

Author:
Kevin Peterson

Field Summary
 
Fields inherited from class org.lexevs.dao.test.LexEvsDbUnitTestBase
databaseType, dataSource, lexEvsDatabaseOperations, methodCachingProxy, prefixResolver, primaryKeyIncrementer, systemVariables
 
Constructor Summary
IbatisCodingSchemeDaoTest()
           
 
Method Summary
 void testDeleteUriMapsOfCodingScheme()
          Test distinct namespaces.
 void testDistinctEntityTypes()
          Test distinct entity types.
 void testDistinctFormats()
          Test distinct formats.
 void testDistinctLanguages()
          Test distinct languages.
 void testDistinctNamespaces()
          Test distinct namespaces.
 void testDistinctPropertyNames()
          Test distinct property names.
 void testDistinctPropertyQualifierNames()
          Test distinct property qualifier names.
 void testDistinctPropertyQualifierTypes()
          Test distinct property qualifier types.
 void testGetCodingSchemeByNameAndVersion()
          Test get coding scheme by name and version.
 void testGetCodingSchemeByUidEntryState()
           
 void testGetCodingSchemeEntryState()
          Test get coding scheme entry state.
 void testGetCodingSchemeIdByNameAndVersion()
          Test get coding scheme id by name and version.
 void testGetCodingSchemeIdByUriAndVersion()
          Test get coding scheme id by uri and version.
 void testGetCodingSchemeLocalName()
          Test get coding scheme local name.
 void testGetCodingSchemeMultipleLocalNames()
          Test get coding scheme multiple local names.
 void testGetCodingSchemeSource()
          Test get coding scheme source.
 void testGetCodingSchemeSourceWithLocalNames()
           
 void testGetCodingSchemeSummaryByUriAndVersion()
          Test get coding scheme summary by uri and version.
 void testGetMappings()
           
 void testGetSupportedHierarchyUriMap()
           
 void testGetSupportedNamespaceUriMap()
           
 void testGetSupportedNamespaceUriMapNullEquivalentCodingScheme()
           
 void testInsertCodingScheme()
           
 void testInsertCodingSchemeLocalName()
          Test insert coding scheme local name.
 void testInsertCodingSchemeSource()
          Test insert coding scheme source.
 void testInsertMappings()
          Test insert mappings.
 void testInsertOrUpdateURIMap()
           
 void testInsertSupportedHierarchy()
           
 void testInsertURIMap()
          Test insert uri map.
 void testUpdateCodingSchemeById()
          Test update coding scheme by id.
 void testUpdateCodingSchemeSource()
           
 void testUpdateUriMap()
          Test distinct namespaces.
 
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

IbatisCodingSchemeDaoTest

public IbatisCodingSchemeDaoTest()
Method Detail

testInsertSupportedHierarchy

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

testInsertCodingScheme

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

testInsertURIMap

public void testInsertURIMap()
                      throws java.sql.SQLException
Test insert uri map.

Throws:
java.sql.SQLException - the SQL exception

testInsertOrUpdateURIMap

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

testInsertCodingSchemeSource

@Transactional
public void testInsertCodingSchemeSource()
                                  throws java.sql.SQLException
Test insert coding scheme source.

Throws:
java.sql.SQLException - the SQL exception

testUpdateCodingSchemeSource

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

testInsertCodingSchemeLocalName

@Transactional
public void testInsertCodingSchemeLocalName()
                                     throws java.sql.SQLException
Test insert coding scheme local name.

Throws:
java.sql.SQLException - the SQL exception

testGetCodingSchemeEntryState

@Transactional
public void testGetCodingSchemeEntryState()
                                   throws java.sql.SQLException
Test get coding scheme entry state.

Throws:
java.sql.SQLException - the SQL exception

testInsertMappings

@Transactional
public void testInsertMappings()
                        throws java.sql.SQLException
Test insert mappings.

Throws:
java.sql.SQLException - the SQL exception

testUpdateUriMap

@Transactional
public void testUpdateUriMap()
Test distinct namespaces.


testDeleteUriMapsOfCodingScheme

@Transactional
public void testDeleteUriMapsOfCodingScheme()
Test distinct namespaces.


testGetCodingSchemeLocalName

@Transactional
public void testGetCodingSchemeLocalName()
                                  throws java.sql.SQLException
Test get coding scheme local name.

Throws:
java.sql.SQLException - the SQL exception

testGetCodingSchemeMultipleLocalNames

@Transactional
public void testGetCodingSchemeMultipleLocalNames()
                                           throws java.sql.SQLException
Test get coding scheme multiple local names.

Throws:
java.sql.SQLException - the SQL exception

testGetCodingSchemeSource

@Transactional
public void testGetCodingSchemeSource()
                               throws java.sql.SQLException
Test get coding scheme source.

Throws:
java.sql.SQLException - the SQL exception

testGetCodingSchemeSourceWithLocalNames

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

testGetCodingSchemeByNameAndVersion

@Transactional
public void testGetCodingSchemeByNameAndVersion()
                                         throws java.sql.SQLException
Test get coding scheme by name and version.

Throws:
java.sql.SQLException - the SQL exception

testGetCodingSchemeByUidEntryState

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

testGetMappings

public void testGetMappings()

testGetSupportedNamespaceUriMap

public void testGetSupportedNamespaceUriMap()

testGetSupportedNamespaceUriMapNullEquivalentCodingScheme

public void testGetSupportedNamespaceUriMapNullEquivalentCodingScheme()

testGetSupportedHierarchyUriMap

public void testGetSupportedHierarchyUriMap()

testGetCodingSchemeIdByUriAndVersion

@Transactional
public void testGetCodingSchemeIdByUriAndVersion()
                                          throws java.sql.SQLException
Test get coding scheme id by uri and version.

Throws:
java.sql.SQLException - the SQL exception

testGetCodingSchemeIdByNameAndVersion

@Transactional
public void testGetCodingSchemeIdByNameAndVersion()
                                           throws java.sql.SQLException
Test get coding scheme id by name and version.

Throws:
java.sql.SQLException - the SQL exception

testGetCodingSchemeSummaryByUriAndVersion

@Transactional
public void testGetCodingSchemeSummaryByUriAndVersion()
                                               throws java.sql.SQLException
Test get coding scheme summary by uri and version.

Throws:
java.sql.SQLException - the SQL exception

testUpdateCodingSchemeById

@Transactional
public void testUpdateCodingSchemeById()
                                throws java.sql.SQLException
Test update coding scheme by id.

Throws:
java.sql.SQLException - the SQL exception

testDistinctPropertyNames

@Transactional
public void testDistinctPropertyNames()
Test distinct property names.


testDistinctEntityTypes

@Transactional
public void testDistinctEntityTypes()
Test distinct entity types.


testDistinctNamespaces

@Transactional
public void testDistinctNamespaces()
Test distinct namespaces.


testDistinctFormats

@Transactional
public void testDistinctFormats()
Test distinct formats.


testDistinctLanguages

@Transactional
public void testDistinctLanguages()
Test distinct languages.


testDistinctPropertyQualifierTypes

@Transactional
public void testDistinctPropertyQualifierTypes()
Test distinct property qualifier types.


testDistinctPropertyQualifierNames

@Transactional
public void testDistinctPropertyQualifierNames()
Test distinct property qualifier names.


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.