org.kuali.rice.kew.server
Class DTOConverterTest
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.kew.test.KEWTestCase
org.kuali.rice.kew.server.DTOConverterTest
- All Implemented Interfaces:
- MethodAware
public class DTOConverterTest
- extends KEWTestCase
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase |
getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad |
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOCUMENT_CONTENT
private static final String DOCUMENT_CONTENT
- See Also:
- Constant Field Values
ATTRIBUTE_CONTENT
private static final String ATTRIBUTE_CONTENT
- See Also:
- Constant Field Values
SEARCHABLE_CONTENT
private static final String SEARCHABLE_CONTENT
- See Also:
- Constant Field Values
APPLICATION_CONTENT
private static final String APPLICATION_CONTENT
- See Also:
- Constant Field Values
DTOConverterTest
public DTOConverterTest()
testConvertDocumentContent
public void testConvertDocumentContent()
throws Exception
- Tests the conversion of a String into a DocumentContentVO object which should split the
String into it's 3 distinct components.
- Throws:
Exception
testBuildUpdatedDocumentContent
public void testBuildUpdatedDocumentContent()
throws Exception
- Tests the conversion of a DocumentContentVO object into an XML String. Includes generating content
for any attributes which are on the DocumentContentVO object.
TODO there is some crossover between this test and the DocumentContentTest, do we really need both of them???
- Throws:
Exception
constructContent
private String constructContent(String type,
String content)
constructContent
private String constructContent(String attributeContent,
String searchableContent,
String applicationContent)
assertContent
private void assertContent(DocumentContentDTO contentVO,
String attributeContent,
String searchableContent,
String applicationContent)
testConvertActionItem
public void testConvertActionItem()
throws Exception
- Throws:
Exception
testConvertActionRequest
public void testConvertActionRequest()
throws Exception
- Throws:
Exception
testConvertActionTaken
public void testConvertActionTaken()
throws Exception
- Throws:
Exception
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.