|
||||||||||
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
MessageMapTest tests the MessageMap methods
Constructor Summary | |
---|---|
MessageMapTest()
|
Method Summary | |
---|---|
void |
testContainsKeyMatchingPattern_mixedList_empty()
test that the given list of keys do not exist in an empty message map |
void |
testContainsKeyMatchingPattern_mixedList_simpleMatch()
test that one of the non-wildcard keys in the given list is found in the message map |
void |
testContainsKeyMatchingPattern_mixedList_simpleNoMatch()
test that the given list of keys do not exist in the message map |
void |
testContainsKeyMatchingPattern_mixedList_wildcardMatch()
test that one of the wildcard keys in the given list is found in the message map |
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()
test that an existing key and existing property are replaced in the message map |
void |
testReplace_matchingProperty_matchingKey_withParams()
test that an existing key and existing property are replaced in the message map along with the associated params |
void |
testReplace_matchingProperty_noMatchingKey()
test that a none existent key and existing property are not replaceable in the message map |
void |
testReplace_noMatchingProperty()
test that a none existent key and none existent property are not replaceable in the message map |
void |
testReplace_testEquals()
tests that two message maps are not equal when an additional message is added to one |
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 |