org.kuali.rice.ken.test
Class KENTestCase

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.ken.test.KENTestCase
All Implemented Interfaces:
MethodAware
Direct Known Subclasses:
BusinessObjectDaoTestCaseBase, KEWIntegrationTest, NotificationAuthorizationServiceImplTest, NotificationContentTypeServiceImplTest, NotificationMessageContentServiceImplTest, NotificationMessageDeliveryAutoRemovalServiceImplTest, NotificationMessageDeliveryResolverServiceImplTest, NotificationMessageDeliveryServiceImplTest, NotificationRecipientServiceKimImplTest, NotificationSenderFormPostProcessorTest, NotificationServiceImplTest, UserPreferenceServiceImplTest, XPathTest

public abstract class KENTestCase
extends BaselineTestCase

Base test case for KEN that extends RiceTestCase

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

Nested Class Summary
 class KENTestCase.ClearCacheLifecycle
          Flushes the KEW cache(s)
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
protected  SpringNotificationServiceLocator services
           
protected  org.springframework.transaction.PlatformTransactionManager transactionManager
           
 
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
KENTestCase()
           
 
Method Summary
protected  void disableQuartzJobs()
          This method makes sure to disable the Quartz scheduler
protected  void enableQuartzJobs()
          This method enables the Quartz scheduler
protected  Lifecycle getLoadApplicationLifecycle()
           
protected  List<Lifecycle> getNotificationPerTestLifecycles()
           
protected  List<Lifecycle> getPerTestLifecycles()
           
protected  List<String> getPerTestTablesToClear()
          Returns the List of tables that should be cleared on every test run.
protected  List<Lifecycle> getSuiteLifecycles()
           
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestTablesNotToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, 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
 

Field Detail

services

protected SpringNotificationServiceLocator services

transactionManager

protected org.springframework.transaction.PlatformTransactionManager transactionManager
Constructor Detail

KENTestCase

public KENTestCase()
Method Detail

getSuiteLifecycles

protected List<Lifecycle> getSuiteLifecycles()
Overrides:
getSuiteLifecycles in class RiceTestCase

getLoadApplicationLifecycle

protected Lifecycle getLoadApplicationLifecycle()
Overrides:
getLoadApplicationLifecycle in class RiceTestCase

getPerTestLifecycles

protected List<Lifecycle> getPerTestLifecycles()
Overrides:
getPerTestLifecycles in class BaselineTestCase

getNotificationPerTestLifecycles

protected List<Lifecycle> getNotificationPerTestLifecycles()

getPerTestTablesToClear

protected List<String> getPerTestTablesToClear()
Returns the List of tables that should be cleared on every test run.

Overrides:
getPerTestTablesToClear in class BaselineTestCase

disableQuartzJobs

protected void disableQuartzJobs()
                          throws org.quartz.SchedulerException
This method makes sure to disable the Quartz scheduler

Throws:
org.quartz.SchedulerException

enableQuartzJobs

protected void enableQuartzJobs()
                         throws org.quartz.SchedulerException
This method enables the Quartz scheduler

Throws:
org.quartz.SchedulerException


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