org.kuali.rice.kew.edl
Class EDocLitePostProcessorTest

java.lang.Object
  extended by org.junit.Assert
      extended by org.kuali.rice.test.BaseRiceTestCase
          extended by org.kuali.rice.test.RiceTestCase
              extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
                  extended by org.kuali.rice.kew.test.KEWTestCase
                      extended by org.kuali.rice.kew.edl.EDocLitePostProcessorTest
All Implemented Interfaces:
MethodAware

public class EDocLitePostProcessorTest
extends KEWTestCase

This is a Test class to verify the edoc lite post processor.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.test.KEWTestCase
KEWTestCase.ClearCacheLifecycle
 
Field Summary
private static String CONTEXT_NAME
           
private static org.apache.log4j.Logger LOG
           
 
Fields inherited from class org.kuali.rice.test.RiceTestCase
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
Constructor Summary
EDocLitePostProcessorTest()
           
 
Method Summary
private  void testForStringExistence(String dataDescriptor, String dataToFind)
           
 void testPostEvent()
           
private  void testPostProcessorMethod(Long routeHeaderId, String dummyData, String eventType)
           
static boolean waitForData(int maxWaitMilliseconds, int pauseMilliseconds)
           
 
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase
buildJettyServer, getGroupIdForName, getJettyServerContextName, getJettyServerPort, getJettyServerRelativeWebappRoot, getKEWBootstrapSpringFile, getModuleName, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad, setUpInternal
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKNSDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getLoadApplicationLifecycle, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setModuleName, setUp, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

CONTEXT_NAME

private static final String CONTEXT_NAME
See Also:
Constant Field Values
Constructor Detail

EDocLitePostProcessorTest

public EDocLitePostProcessorTest()
Method Detail

testPostEvent

public void testPostEvent()
                   throws Exception
Throws:
Exception

testPostProcessorMethod

private void testPostProcessorMethod(Long routeHeaderId,
                                     String dummyData,
                                     String eventType)

testForStringExistence

private void testForStringExistence(String dataDescriptor,
                                    String dataToFind)

waitForData

public static boolean waitForData(int maxWaitMilliseconds,
                                  int pauseMilliseconds)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.