org.apache.commons.ognl.test
Class PropertyTest

java.lang.Object
  extended by org.apache.commons.ognl.test.OgnlTestCase
      extended by org.apache.commons.ognl.test.PropertyTest

public class PropertyTest
extends OgnlTestCase


Field Summary
static SimpleDateFormat DATE_FORMAT
           
static SimpleDateFormat DATETIME_FORMAT
           
static String VALUE
           
 
Fields inherited from class org.apache.commons.ognl.test.OgnlTestCase
_compileExpressions, _context
 
Constructor Summary
PropertyTest(String name, Object root, String expressionString, Object expectedResult, Object setValue, Object expectedAfterSetResult)
           
 
Method Summary
static Collection<Object[]> data()
           
static String formatValue(int millis, boolean b1, boolean b2)
           
 
Methods inherited from class org.apache.commons.ognl.test.OgnlTestCase
assertEquals, getExpectedResult, getExpression, getExpressionDump, getExpressionString, isEqual, runTest, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATETIME_FORMAT

public static final SimpleDateFormat DATETIME_FORMAT

DATE_FORMAT

public static final SimpleDateFormat DATE_FORMAT

VALUE

public static final String VALUE
See Also:
Constant Field Values
Constructor Detail

PropertyTest

public PropertyTest(String name,
                    Object root,
                    String expressionString,
                    Object expectedResult,
                    Object setValue,
                    Object expectedAfterSetResult)
Method Detail

formatValue

public static String formatValue(int millis,
                                 boolean b1,
                                 boolean b2)

data

public static Collection<Object[]> data()


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.