Class TestActionMessages

java.lang.Object
org.apache.struts.action.TestActionMessages

public class TestActionMessages extends Object
Unit tests for the ActionMessages class.
Version:
$Rev$ $Date$
  • 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

      @BeforeEach public void setUp()
    • tearDown

      @AfterEach public void tearDown()
    • testEmpty

      @Test public void testEmpty()
    • testNotEmpty

      @Test public void testNotEmpty()
    • testSizeWithOneProperty

      @Test public void testSizeWithOneProperty()
    • testSizeWithManyProperties

      @Test public void testSizeWithManyProperties()
    • testSizeAndEmptyAfterClear

      @Test public void testSizeAndEmptyAfterClear()
    • testGetWithNoProperty

      @Test public void testGetWithNoProperty()
    • testGetForAProperty

      @Test public void testGetForAProperty()
    • testAddMessages

      @Test public void testAddMessages()
      Tests adding an ActionMessages object to an ActionMessages object.