org.apache.commons.jexl2
Class ArrayAccessTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.jexl2.JexlTestCase
              extended by org.apache.commons.jexl2.ArrayAccessTest
All Implemented Interfaces:
junit.framework.Test

public class ArrayAccessTest
extends JexlTestCase

Tests for array access operator []

Since:
2.0

Field Summary
 
Fields inherited from class org.apache.commons.jexl2.JexlTestCase
JEXL
 
Constructor Summary
ArrayAccessTest()
           
 
Method Summary
 void setUp()
           
 void testArrayAccess()
          test simple array access
 void testArrayAndDottedConflict()
           
 void testArrayArray()
           
 void testArrayMethods()
           
 void testArrayProperty()
           
 void testDoubleArrays()
          test some simple double array lookups
 
Methods inherited from class org.apache.commons.jexl2.JexlTestCase
createEngine, createThreadedArithmeticEngine, debuggerCheck, flatten, flattenedStr, main, runTest, runTest, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayAccessTest

public ArrayAccessTest()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testArrayAccess

public void testArrayAccess()
                     throws Exception
test simple array access

Throws:
Exception

testDoubleArrays

public void testDoubleArrays()
                      throws Exception
test some simple double array lookups

Throws:
Exception

testArrayProperty

public void testArrayProperty()
                       throws Exception
Throws:
Exception

testArrayAndDottedConflict

public void testArrayAndDottedConflict()
                                throws Exception
Throws:
Exception

testArrayMethods

public void testArrayMethods()
                      throws Exception
Throws:
Exception

testArrayArray

public void testArrayArray()
                    throws Exception
Throws:
Exception


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.