org.kuali.rice.krad.service
Class DocumentServiceTest
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.test.KRADTestCase
org.kuali.rice.krad.service.DocumentServiceTest
- All Implemented Interfaces:
- MethodAware
public class DocumentServiceTest
- extends KRADTestCase
This class tests the DocumentService (currently only getNewDocument is tested).
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentServiceTest
public DocumentServiceTest()
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class BaselineTestCase
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Overrides:
tearDown
in class RiceTestCase
- Throws:
Exception
testGetNewDocument
public void testGetNewDocument()
throws Exception
- This method tests getNewDocument
- Throws:
Exception
testGetNewDocumentDifferentInitiatorThanCurrentUser
public void testGetNewDocumentDifferentInitiatorThanCurrentUser()
throws Exception
- This method tests getNewDocument but the initiator is not the current user
- Throws:
Exception
testGetNewDocumentInvalidInitiator
public void testGetNewDocumentInvalidInitiator()
throws Exception
- This method tests getNewDocument but the initiator is invalid
- Throws:
Exception
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.