Class TestValidWhen

java.lang.Object
org.apache.struts.validator.TestValidWhen

public class TestValidWhen extends Object
Unit tests for the ValidWhen Parser/Lexer.
  • Field Details

    • testBean

      protected PojoBean testBean
  • Constructor Details

    • TestValidWhen

      public TestValidWhen()
  • Method Details

    • setUp

      @BeforeEach public void setUp()
    • tearDown

      @AfterEach public void tearDown()
    • testProperty

      @Test public void testProperty()
      Test Operators.
    • testOperators

      @Test public void testOperators()
      Test Operators.
    • testString

      @Test public void testString()
      Test String values.
    • testInteger

      @Test public void testInteger()
      Test integer values.
    • testFloat

      @Test public void testFloat()
      Test float values
    • testDouble

      @Test public void testDouble()
      Test double values
    • testNull

      @Test public void testNull()
      Test Null.
    • testJoined

      @Test public void testJoined()
      Test Joined expressions ('and' or 'or')
    • testIndexedValue

      @Test public void testIndexedValue()
      Test Indexed Property.