org.kuali.rice.krad.service
Class SequenceAccessorServiceTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
              extended by org.kuali.rice.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.rice.krad.test.KRADTestCase
                          extended by org.kuali.rice.krad.service.SequenceAccessorServiceTest
All Implemented Interfaces:
MethodAware

public class SequenceAccessorServiceTest
extends KRADTestCase

Tests various scenarios on SequenceAccessorService to make sure that it still works with OJB but throws exception if you try to use it with the new krad-data + JPA module.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.krad.test.KRADTestCase
KRADTestCase.BootstrapTest, KRADTestCase.Legacy
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.krad.test.KRADTestCase
dd, kradTestHarnessSpringResourceLoader
 
Fields inherited from class org.kuali.rice.test.BaselineTestCase
dirty
 
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase
LOG, moduleName
 
Fields inherited from class org.kuali.rice.test.RiceTestCase
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
Constructor Summary
SequenceAccessorServiceTest()
           
 
Method Summary
 void testExceptionForBothKradDataAndOjb_NotInLegacyContext()
           
 void testExceptionForKradData()
          Checks what happens when you call the SequenceAccessorService with KRAD Data in a non-legacy context.
 void testNoExceptionForBothKradDataAndOjb_InLegacyContext()
           
 void testOjbOnlyWorks()
           
 
Methods inherited from class org.kuali.rice.krad.test.KRADTestCase
getKRADTestHarnessContext, getLoadApplicationLifecycle, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUp, setUpInternal, setUpLegacyContext, tearDown, tearDownLegacyContext
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceAccessorServiceTest

public SequenceAccessorServiceTest()
Method Detail

testExceptionForKradData

public void testExceptionForKradData()
Checks what happens when you call the SequenceAccessorService with KRAD Data in a non-legacy context. In this case it should throw a ConfigurationException.


testOjbOnlyWorks

public void testOjbOnlyWorks()

testNoExceptionForBothKradDataAndOjb_InLegacyContext

public void testNoExceptionForBothKradDataAndOjb_InLegacyContext()

testExceptionForBothKradDataAndOjb_NotInLegacyContext

public void testExceptionForBothKradDataAndOjb_NotInLegacyContext()


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.