|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.util.MessageMapTest
public class MessageMapTest
This class tests the ErrorMap methods.
Constructor Summary | |
---|---|
MessageMapTest()
|
Method Summary | |
---|---|
void |
testContainsKeyMatchingPattern_mixedList_empty()
|
void |
testContainsKeyMatchingPattern_mixedList_simpleMatch()
|
void |
testContainsKeyMatchingPattern_mixedList_simpleNoMatch()
|
void |
testContainsKeyMatchingPattern_mixedList_wildcardMatch()
|
void |
testErrorCount()
Test all errors are getting added and counted correctly. |
void |
testErrorPath()
Test the error path is being prepended. |
void |
testFieldMessages()
Test messages are getting accumulated correctly for a property. |
void |
testMessageCollisions()
Verify that using the same error message multiple times correctly stores different parameters each time. |
void |
testMessageParameters()
Test message parameters are being correctly added and associated with an error message. |
void |
testPropertiesWithErrors()
Test that properties added with errors are being kept. |
void |
testPut()
ErrorMap should only allow String keys and values. |
void |
testReplace_matchingProperty_matchingKey_noParams()
|
void |
testReplace_matchingProperty_matchingKey_withParams()
|
void |
testReplace_matchingProperty_noMatchingKey()
|
void |
testReplace_noMatchingProperty()
|
void |
testReplace_testEquals()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageMapTest()
Method Detail |
---|
public void testPut()
public void testErrorCount()
public void testFieldMessages()
public void testErrorPath()
public void testPropertiesWithErrors()
public void testMessageParameters()
public void testMessageCollisions()
public void testContainsKeyMatchingPattern_mixedList_empty()
public void testContainsKeyMatchingPattern_mixedList_simpleNoMatch()
public void testContainsKeyMatchingPattern_mixedList_simpleMatch()
public void testContainsKeyMatchingPattern_mixedList_wildcardMatch()
public void testReplace_testEquals()
public void testReplace_noMatchingProperty()
public void testReplace_matchingProperty_noMatchingKey()
public void testReplace_matchingProperty_matchingKey_noParams()
public void testReplace_matchingProperty_matchingKey_withParams()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |