@PerSuiteUnitTestData(value=@UnitTestData(sqlFiles=@UnitTestFile(filename="classpath:testAccountType.sql",delimiter=";"))) public class RollbackExceptionErrorReportingTest extends KRADTestCase
KRADTestCase.BootstrapTest, KRADTestCase.Legacy
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dd, kradTestHarnessSpringResourceLoader
dirty
moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
RollbackExceptionErrorReportingTest() |
Modifier and Type | Method and Description |
---|---|
void |
changePrimaryKeyValue_Exception()
Tests that if you try to change a primary key, a
JpaSystemException is thrown. |
protected DataObjectService |
getDataObjectService() |
getKRADTestHarnessContext, getLoadApplicationLifecycle, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUp, setUpInternal, setUpLegacyContext, tearDown, tearDownLegacyContext
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
public RollbackExceptionErrorReportingTest()
protected DataObjectService getDataObjectService()
public void changePrimaryKeyValue_Exception()
JpaSystemException
is thrown.Copyright © 2005–2014 The Kuali Foundation. All rights reserved.