Package org.apache.struts.action
Class TestActionMessages
java.lang.Object
org.apache.struts.action.TestActionMessages
Unit tests for the
ActionMessages
class.- Version:
- $Rev$ $Date$
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.struts.action.ActionMessages
protected org.apache.struts.action.ActionMessage
protected org.apache.struts.action.ActionMessage
protected org.apache.struts.action.ActionMessage
protected org.apache.struts.action.ActionMessage
protected org.apache.struts.action.ActionMessage
-
Constructor Summary
-
Method Summary
-
Field Details
-
aMsgs
protected org.apache.struts.action.ActionMessages aMsgs -
msg1
protected org.apache.struts.action.ActionMessage msg1 -
msg2
protected org.apache.struts.action.ActionMessage msg2 -
msg3
protected org.apache.struts.action.ActionMessage msg3 -
msg4
protected org.apache.struts.action.ActionMessage msg4 -
msg5
protected org.apache.struts.action.ActionMessage msg5
-
-
Constructor Details
-
TestActionMessages
public TestActionMessages()
-
-
Method Details
-
setUp
-
tearDown
-
testEmpty
-
testNotEmpty
-
testSizeWithOneProperty
-
testSizeWithManyProperties
-
testSizeAndEmptyAfterClear
-
testGetWithNoProperty
-
testGetForAProperty
-
testAddMessages
Tests adding an ActionMessages object to an ActionMessages object.
-