org.kuali.test
Class KRADTestCase

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.test.KRADTestCase
All Implemented Interfaces:
MethodAware
Direct Known Subclasses:
AnnotationTestParent, AttachmentTest, BaseBOClassAndBaseDocumentClassTest, BaseMaintenanceDocumentTest, BusinessObjectRefreshTest, BusinessObjectServiceTest, ComponentServiceTest, DataDictionaryLazyLoadingTest, DataDictionarySearchableAttributeTest, DateTimeServiceTest, DictionaryValidationServiceImplTest, DictionaryValidationServiceTest, DocumentAuthorizerBaseTest, DocumentServiceTest, EmailAddressValidationPatternTest, ExtensionAttributeTest, FloatingPointValidationPatternTest, InactivateableFromToServiceTest, InquiryTest, JavaClassValidationPatternTest, KualiInquirableTest, KualiLookupableTest, KualiRuleServiceTest, KualiXMLAttributeImplTest, LookupResultsServiceTest, LookupServiceTest, MaintenanceDocumentDictionaryServiceTest, MaskFormatterSubStringTest, MessageBeanProcessorTest, MessageServiceTest, MetadataManagerTest, MonthValidationPatternTest, NamespaceWildcardAllowedAndOrStringExactMatchPermissionTypeServiceImplTest, NoteServiceTest, ObjectUtilsTest, ParameterServiceTest, PersistableBusinessObjectValuesFinderTest, PessimisticLockServiceTest, ReportQueryByCriteriaTest, RichMessageTest, SearchAttributeIndexRequestTest, UifBeanFactoryPostProcessorTest, ValidationMessageRetrievalTest, WebUtilsTest, WorkflowInfoServiceTest, YearValidationPatternTest, ZipcodeValidationPatternTest

public abstract class KRADTestCase
extends BaselineTestCase

Default test base for a full KRAD enabled integration test

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
protected  DataDictionary dd
           
 
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
KRADTestCase()
           
KRADTestCase(String moduleName)
          propagate constructor
 
Method Summary
protected  Lifecycle getLoadApplicationLifecycle()
           
protected  List<Lifecycle> getSuiteLifecycles()
           
protected  Object getTestDictionaryObject(String id)
          Returns an instance of the bean with the given id that has been configured in the test dictionary
protected  void loadSuiteTestData()
           
protected  void setUpInternal()
           
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, 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
 
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, 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

dd

protected DataDictionary dd
Constructor Detail

KRADTestCase

public KRADTestCase()

KRADTestCase

public KRADTestCase(String moduleName)
propagate constructor

Parameters:
moduleName - - the name of the module
Method Detail

setUpInternal

protected void setUpInternal()
                      throws Exception
Overrides:
setUpInternal in class RiceTestCase
Throws:
Exception

getTestDictionaryObject

protected Object getTestDictionaryObject(String id)
Returns an instance of the bean with the given id that has been configured in the test dictionary

Parameters:
id - - id of the bean definition
Returns:
Object instance of the given bean class, or null if not found or dictionary is not loaded

getSuiteLifecycles

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

loadSuiteTestData

protected void loadSuiteTestData()
                          throws Exception
Overrides:
loadSuiteTestData in class RiceInternalSuiteDataTestCase
Throws:
Exception

getLoadApplicationLifecycle

protected Lifecycle getLoadApplicationLifecycle()
Overrides:
getLoadApplicationLifecycle in class RiceTestCase


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