commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/src/test/org/apache/commons/jelly/expression TestExpressions.java
Date Sun, 05 Sep 2004 12:28:58 GMT
dion        2004/09/05 05:28:58

  Modified:    jelly/src/test/org/apache/commons/jelly/expression
                        TestExpressions.java
  Log:
  Ant support is dependent on the 1.0 release of JEXL.
  
  Revision  Changes    Path
  1.14      +2 -4      jakarta-commons/jelly/src/test/org/apache/commons/jelly/expression/TestExpressions.java
  
  Index: TestExpressions.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/expression/TestExpressions.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- TestExpressions.java	29 Aug 2004 13:25:42 -0000	1.13
  +++ TestExpressions.java	5 Sep 2004 12:28:58 -0000	1.14
  @@ -88,7 +88,7 @@
       }
       
       public void testNotConditionsWithDot() throws Exception {
  -        // ##### re-enable commented out lines once the Jexl sub-resolver work is complete!
  +        // ##### re-enable commented out lines once the Jexl release is complete!
           context.setVariable("x.a", Boolean.TRUE);
           context.setVariable("x.b", Boolean.FALSE);
           context.setVariable("x.c", "true");
  @@ -106,7 +106,7 @@
       }
       
       public void testNull() throws Exception {
  -        // ##### re-enable commented out lines once the Jexl sub-resolver work is complete!
  +        // ##### re-enable commented out lines once the Jexl release is complete!
           context.setVariable("something.blank", "");
           context.setVariable("something.ok", "cheese");
           
  @@ -122,11 +122,9 @@
           Expression expression = CompositeExpression.parse(expressionText, factory);
           assertTrue( "Created a valid expression for: " + expressionText, expression !=
null );
           Object value = expression.evaluate(context);
  -        //assertEquals( "Expression for: " + expressionText + " is: " + expression, expectedValue,
value );
           assertEquals( "Wrong result for expression: " + expressionText, expectedValue,
value );
           
           String text = expression.getExpressionText();
           assertEquals( "Wrong textual representation for expression text: ", expressionText,
text);
       }
  -    
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message