public class CreateDocumentTest extends KEWTestCase
KEWTestCase.ClearCacheLifecycle
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
CreateDocumentTest() |
Modifier and Type | Method and Description |
---|---|
protected String |
getPrincipalIdForName(String principalName) |
protected void |
loadTestData() |
void |
testCreateInactiveDocumentType()
Tests the attempt to create a document from a document type with no routing path.
|
void |
testCreateNonExistentDocumentType()
Tests the attempt to create a document from a non-existent document type.
|
void |
testCreateNonRoutableDocumentType()
Tests the attempt to create a document from a document type with no routing path.
|
void |
testCreateSimpleDocumentType()
Tests creation of a simple document and verifies it's state.
|
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalNameForId, getRoleIdForName, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad
getClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
public CreateDocumentTest()
protected void loadTestData() throws Exception
loadTestData
in class KEWTestCase
Exception
public void testCreateNonExistentDocumentType() throws Exception
Exception
public void testCreateNonRoutableDocumentType() throws Exception
Exception
public void testCreateInactiveDocumentType() throws Exception
Exception
public void testCreateSimpleDocumentType() throws Exception
Exception
protected String getPrincipalIdForName(String principalName)
getPrincipalIdForName
in class KEWTestCase
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.