org.kuali.rice.krad.data.provider
Class RollbackExceptionErrorReportingTest
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.data.provider.RollbackExceptionErrorReportingTest
- All Implemented Interfaces:
- MethodAware
@PerSuiteUnitTestData(value=@UnitTestData(sqlFiles=@UnitTestFile(filename="classpath:testAccountType.sql",delimiter=";")))
public class RollbackExceptionErrorReportingTest
- extends KRADTestCase
A test to make sure we get the "real" cause of a transaction rollback exception.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RollbackExceptionErrorReportingTest
public RollbackExceptionErrorReportingTest()
getDataObjectService
protected DataObjectService getDataObjectService()
changePrimaryKeyValue_Exception
public void changePrimaryKeyValue_Exception()
- Tests that if you try to change a primary key, a
JpaSystemException
is thrown.
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.