org.kuali.rice.krad.uif
Class RichMessageTest

java.lang.Object
  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.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.rice.krad.test.KRADTestCase
                          extended by org.kuali.rice.krad.uif.RichMessageTest
All Implemented Interfaces:
MethodAware

public class RichMessageTest
extends KRADTestCase

Test rich message generation and parsing functionality

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

Nested Class Summary
 class RichMessageTest.SampleForm
          SimpleForm for testing purposes
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.krad.test.KRADTestCase
dd
 
Fields inherited from class org.kuali.rice.test.BaselineTestCase
dirty
 
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase
LOG, moduleName
 
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
RichMessageTest()
           
 
Method Summary
 void setUp()
           
 void testActionGeneration()
          Test action link generation in a message
 void testBasicMessage()
          Test basic message with no rich functionality
 void testColorGeneration()
          Test color tag generation in a message
 void testComplexMessageGeneration()
          Test a complex message which combines all the above tested functionality
 void testCssClassGeneration()
          Test css tag generation in a message
 void testEscapeCharacter()
          Test that the escape characters are properly replaced
 void testHtmlContentGeneration()
          Test html content generation in a message
 void testIdComponentGeneration()
          Test the ability to put components inline by id
 void testInlineComponentGeneration()
          Test the ability to put components defined on the message inline by index number.
 void testLinkGeneration()
          Test link tag generation in a message
 void testRichMultiValueOptions()
          Test rich message options available on MultiValueControls
 void testSPELRichMessages()
          Test SPEL richMessages
 
Methods inherited from class org.kuali.rice.krad.test.KRADTestCase
getLoadApplicationLifecycle, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternal
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
 
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, tearDown
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RichMessageTest

public RichMessageTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class BaselineTestCase
Throws:
Exception
See Also:
BaselineTestCase.setUp()

testHtmlContentGeneration

public void testHtmlContentGeneration()
Test html content generation in a message


testEscapeCharacter

public void testEscapeCharacter()
Test that the escape characters are properly replaced


testLinkGeneration

public void testLinkGeneration()
Test link tag generation in a message


testActionGeneration

public void testActionGeneration()
Test action link generation in a message


testColorGeneration

public void testColorGeneration()
Test color tag generation in a message


testCssClassGeneration

public void testCssClassGeneration()
Test css tag generation in a message


testInlineComponentGeneration

public void testInlineComponentGeneration()
Test the ability to put components defined on the message inline by index number.


testIdComponentGeneration

public void testIdComponentGeneration()
Test the ability to put components inline by id


testComplexMessageGeneration

public void testComplexMessageGeneration()
Test a complex message which combines all the above tested functionality


testRichMultiValueOptions

public void testRichMultiValueOptions()
Test rich message options available on MultiValueControls


testSPELRichMessages

public void testSPELRichMessages()
Test SPEL richMessages


testBasicMessage

public void testBasicMessage()
Test basic message with no rich functionality



Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.