| |
|
| org.apache.commons.jexl.IfTest
IfTest | public class IfTest extends TestCase (Code) | | Test cases for the if statement.
author: Dion Gillard since: 1.1 |
testBlockElse | public void testBlockElse() throws Exception(Code) | | Test the if statement handles blocks in the else statement correctly
throws: Exception - on any error |
testBlockIfTrue | public void testBlockIfTrue() throws Exception(Code) | | Test the if statement handles blocks correctly
throws: Exception - on any error |
testIfWithArithmeticExpression | public void testIfWithArithmeticExpression() throws Exception(Code) | | Test the if statement evaluates arithmetic expressions correctly
throws: Exception - on any error |
testIfWithAssignment | public void testIfWithAssignment() throws Exception(Code) | | Test the if statement works with assignment
throws: Exception - on any error |
testIfWithDecimalArithmeticExpression | public void testIfWithDecimalArithmeticExpression() throws Exception(Code) | | Test the if statement evaluates decimal arithmetic expressions correctly
throws: Exception - on any error |
testIfWithSimpleExpression | public void testIfWithSimpleExpression() throws Exception(Code) | | Test the if statement evaluates expressions correctly
throws: Exception - on any error |
testSimpleElse | public void testSimpleElse() throws Exception(Code) | | Make sure if false executes the false statement
throws: Exception - on any error |
testSimpleIfFalse | public void testSimpleIfFalse() throws Exception(Code) | | Make sure if false doesn't execute the true statement
throws: Exception - on any error |
testSimpleIfTrue | public void testSimpleIfTrue() throws Exception(Code) | | Make sure if true executes the true statement
throws: Exception - on any error |
|
|
|