org.kuali.rice.krad.service
Class MetadataManagerTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaselineTestCase
org.kuali.rice.krad.test.KRADTestCase
org.kuali.rice.krad.service.MetadataManagerTest
- All Implemented Interfaces:
- MethodAware
@PerTestUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlStatements={@UnitTestSql(value="delete from trv_acct where acct_fo_id between 101 and 301"),@UnitTestSql(value="delete from trv_acct_fo where acct_fo_id between 101 and 301")},sqlFiles={@UnitTestFile(filename="classpath:testAccountManagers.sql",delimiter=";"),@UnitTestFile(filename="classpath:testAccounts.sql",delimiter=";")}),
tearDown=@UnitTestData(sqlStatements={@UnitTestSql(value="delete from trv_acct where acct_fo_id between 101 and 301"),@UnitTestSql(value="delete from trv_acct_fo where acct_fo_id between 101 and 301")}))
public class MetadataManagerTest
- extends KRADTestCase
MetadataManagerTest tests MetadataManager
methods
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Method Summary |
void |
testPKMapToObject()
Tests that MetadataManager can convert a primary key Map to a key object correctly |
void |
testPKObjectForEntity()
Tests that MetadataManager.getEntityPrimaryKeyObject correctly pulls primary keys
from a BO |
void |
testPKObjectForExtension()
Tests that MetadataManager.getPersistableBusinessObjectPrimaryKeyObjectWithValuesForExtension works |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataManagerTest
public MetadataManagerTest()
testPKMapToObject
public void testPKMapToObject()
- Tests that MetadataManager can convert a primary key Map to a key object correctly
testPKObjectForEntity
public void testPKObjectForEntity()
- Tests that MetadataManager.getEntityPrimaryKeyObject correctly pulls primary keys
from a BO
testPKObjectForExtension
public void testPKObjectForExtension()
- Tests that MetadataManager.getPersistableBusinessObjectPrimaryKeyObjectWithValuesForExtension works
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.