org.kuali.rice.krad.datadictionary
Class BaseBOClassAndBaseDocumentClassTest

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.datadictionary.BaseBOClassAndBaseDocumentClassTest
All Implemented Interfaces:
MethodAware

@TestDictionaryConfig(namespaceCode="KR-NS",
                      dataDictionaryFiles="classpath:org/kuali/rice/krad/test/document")
public class BaseBOClassAndBaseDocumentClassTest
extends KRADTestCase

BaseBOClassAndBaseDocumentClassTest tests for the data dictionary's ability to index entries by a "base" superclass

When running this test, the working directory should be set to two levels down from the root of the project e.g. it/krad

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
BaseBOClassAndBaseDocumentClassTest()
           
 
Method Summary
 void testRetrieveDDEntriesByBaseClass()
          This method tests the DataDictionary's ability to grab entries based on a "base" class.
 void testValidAndInvalidDDEntries()
          This method tests to make sure that business object entries and document entries can only define regular and "base" classes that are compatible.
 
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

BaseBOClassAndBaseDocumentClassTest

public BaseBOClassAndBaseDocumentClassTest()
Method Detail

testValidAndInvalidDDEntries

public void testValidAndInvalidDDEntries()
                                  throws Exception
This method tests to make sure that business object entries and document entries can only define regular and "base" classes that are compatible.

Throws:
Exception

testRetrieveDDEntriesByBaseClass

public void testRetrieveDDEntriesByBaseClass()
                                      throws Exception
This method tests the DataDictionary's ability to grab entries based on a "base" class.

Throws:
Exception


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