public class DocumentServiceTest extends KRADTestCase
KRADTestCase.BootstrapTest, KRADTestCase.LegacyBaselineTestCase.BaselineMode, BaselineTestCase.Modedd, kradTestHarnessSpringResourceLoaderdirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
DocumentServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testGetDocumentsByListOfDocumentHeaderIds_Default()
Tests getting documents by a list of document numbers.
|
void |
testGetDocumentsByListOfDocumentHeaderIds_MissingDocuments()
Tests getting documents by a list of document numbers which don't exist.
|
void |
testGetNewDocument()
This method tests getNewDocument
|
void |
testGetNewDocumentDifferentInitiatorThanCurrentUser()
This method tests getNewDocument but the initiator is not the current user
|
void |
testGetNewDocumentInvalidInitiator()
This method tests getNewDocument but the initiator is invalid
|
void |
testSaveDocument_Default()
tests saveDocument, in particular, the save document rule event and the default rule method
invocation of the business rule associated with the document.
|
void |
testSaveDocument_DocumentEvent()
tests saveDocument, in particular, the save document rule event and the custom rule method
invocation of the business rule associated with the document.
|
getKRADTestHarnessContext, getLoadApplicationLifecycle, getPerTestTablesNotToClear, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternal, setUpLegacyContext, tearDownLegacyContextgetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecyclesgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecyclesgetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodpublic DocumentServiceTest()
public void setUp() throws Exception
setUp in class KRADTestCaseExceptionpublic void tearDown() throws Exception
tearDown in class KRADTestCaseExceptionpublic void testGetNewDocument() throws Exception
Exceptionpublic void testGetNewDocumentDifferentInitiatorThanCurrentUser() throws Exception
Exceptionpublic void testGetNewDocumentInvalidInitiator() throws Exception
Exceptionpublic void testSaveDocument_DocumentEvent() throws Exception
Exceptionpublic void testSaveDocument_Default() throws Exception
Exceptionpublic void testGetDocumentsByListOfDocumentHeaderIds_Default() throws Exception
Exception - for any test issuespublic void testGetDocumentsByListOfDocumentHeaderIds_MissingDocuments() throws Exception
Exception - for any test issuesCopyright © 2005–2016 The Kuali Foundation. All rights reserved.