org.kuali.rice.kim.test.service
Class IdentityArchiveServiceTest

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.kim.test.KIMTestCase
                          extended by org.kuali.rice.kim.test.service.IdentityArchiveServiceTest
All Implemented Interfaces:
MethodAware

public class IdentityArchiveServiceTest
extends KIMTestCase

Unit test for the IdentityArchiveService

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kim.test.KIMTestCase
KIMTestCase.ClearCacheLifecycle
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
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
IdentityArchiveServiceTest()
           
 
Method Summary
 void setUp()
           
 void testArchiveFlushesWhenQueueIsFull()
          This tests trying to retrieve a non-existant KimEntityDefaultInfo saving a KimEntityDefaultInfo and retrieving it.
 
Methods inherited from class org.kuali.rice.kim.test.KIMTestCase
getDefaultKimType, getDefaultPermissionTemplate, getIdFromSequence, getLoadApplicationLifecycle, getModuleName, getNewRoleId, getNewRoleMemberId, getNewRolePermissionId, getPerTestLifecycles, getPerTestTablesNotToClear, getSuiteLifecycles, loadSuiteTestData
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKNSDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityArchiveServiceTest

public IdentityArchiveServiceTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class BaselineTestCase
Throws:
Exception

testArchiveFlushesWhenQueueIsFull

public void testArchiveFlushesWhenQueueIsFull()
                                       throws Exception
This tests
  1. trying to retrieve a non-existant KimEntityDefaultInfo
  2. saving a KimEntityDefaultInfo and retrieving it.
This test is specific to IdentityArchiveServiceImpl

Throws:
Exception


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.