org.apache.commons.ognl.test
Class NumericConversionTest

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

public class NumericConversionTest
extends OgnlTestCase


Field Summary
 
Fields inherited from class org.apache.commons.ognl.test.OgnlTestCase
_compileExpressions, _context
 
Constructor Summary
NumericConversionTest(Object value, Class toClass, Object expectedValue, int scale)
           
 
Method Summary
static Collection<Object[]> data()
           
 void runTest()
           
 
Methods inherited from class org.apache.commons.ognl.test.OgnlTestCase
assertEquals, getExpectedResult, getExpression, getExpressionDump, getExpressionString, isEqual, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericConversionTest

public NumericConversionTest(Object value,
                             Class toClass,
                             Object expectedValue,
                             int scale)
Method Detail

data

public static Collection<Object[]> data()

runTest

public void runTest()
             throws OgnlException
Overrides:
runTest in class OgnlTestCase
Throws:
OgnlException


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