org.apache.commons.jexl2
Class BitwiseOperatorTest

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.BitwiseOperatorTest
All Implemented Interfaces:
junit.framework.Test

public class BitwiseOperatorTest
extends JexlTestCase

Tests for the bitwise operators.

Since:
1.1

Field Summary
 
Fields inherited from class org.apache.commons.jexl2.JexlTestCase
JEXL
 
Constructor Summary
BitwiseOperatorTest(String name)
          Create the named test.
 
Method Summary
 void setUp()
           
 void testAndSimple()
           
 void testAndVariableNumberCoercion()
           
 void testAndVariableStringCoercion()
           
 void testAndWithLeftNull()
           
 void testAndWithRightNull()
           
 void testAndWithTwoNulls()
           
 void testComplementSimple()
           
 void testComplementVariableNumberCoercion()
           
 void testComplementVariableStringCoercion()
           
 void testComplementWithNull()
           
 void testOrSimple()
           
 void testOrVariableNumberCoercion()
           
 void testOrVariableStringCoercion()
           
 void testOrWithLeftNull()
           
 void testOrWithRightNull()
           
 void testOrWithTwoNulls()
           
 void testParenthesized()
           
 void testXorSimple()
           
 void testXorVariableNumberCoercion()
           
 void testXorVariableStringCoercion()
           
 void testXorWithLeftNull()
           
 void testXorWithRightNull()
           
 void testXorWithTwoNulls()
           
 
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

BitwiseOperatorTest

public BitwiseOperatorTest(String name)
Create the named test.

Parameters:
name - test name
Method Detail

setUp

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

testAndWithTwoNulls

public void testAndWithTwoNulls()
                         throws Exception
Throws:
Exception

testAndWithLeftNull

public void testAndWithLeftNull()
                         throws Exception
Throws:
Exception

testAndWithRightNull

public void testAndWithRightNull()
                          throws Exception
Throws:
Exception

testAndSimple

public void testAndSimple()
                   throws Exception
Throws:
Exception

testAndVariableNumberCoercion

public void testAndVariableNumberCoercion()
                                   throws Exception
Throws:
Exception

testAndVariableStringCoercion

public void testAndVariableStringCoercion()
                                   throws Exception
Throws:
Exception

testComplementWithNull

public void testComplementWithNull()
                            throws Exception
Throws:
Exception

testComplementSimple

public void testComplementSimple()
                          throws Exception
Throws:
Exception

testComplementVariableNumberCoercion

public void testComplementVariableNumberCoercion()
                                          throws Exception
Throws:
Exception

testComplementVariableStringCoercion

public void testComplementVariableStringCoercion()
                                          throws Exception
Throws:
Exception

testOrWithTwoNulls

public void testOrWithTwoNulls()
                        throws Exception
Throws:
Exception

testOrWithLeftNull

public void testOrWithLeftNull()
                        throws Exception
Throws:
Exception

testOrWithRightNull

public void testOrWithRightNull()
                         throws Exception
Throws:
Exception

testOrSimple

public void testOrSimple()
                  throws Exception
Throws:
Exception

testOrVariableNumberCoercion

public void testOrVariableNumberCoercion()
                                  throws Exception
Throws:
Exception

testOrVariableStringCoercion

public void testOrVariableStringCoercion()
                                  throws Exception
Throws:
Exception

testXorWithTwoNulls

public void testXorWithTwoNulls()
                         throws Exception
Throws:
Exception

testXorWithLeftNull

public void testXorWithLeftNull()
                         throws Exception
Throws:
Exception

testXorWithRightNull

public void testXorWithRightNull()
                          throws Exception
Throws:
Exception

testXorSimple

public void testXorSimple()
                   throws Exception
Throws:
Exception

testXorVariableNumberCoercion

public void testXorVariableNumberCoercion()
                                   throws Exception
Throws:
Exception

testXorVariableStringCoercion

public void testXorVariableStringCoercion()
                                   throws Exception
Throws:
Exception

testParenthesized

public void testParenthesized()
                       throws Exception
Throws:
Exception


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