commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/expression TestExpressions.java
Date Thu, 13 Jun 2002 09:40:54 GMT
jstrachan    2002/06/13 02:40:53

  Modified:    jelly/src/test/org/apache/commons/jelly/expression
                        TestExpressions.java
  Log:
  Improved test cases for Ant style variable expressions
  
  Revision  Changes    Path
  1.3       +3 -0      jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/expression/TestExpressions.java
  
  Index: TestExpressions.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/expression/TestExpressions.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestExpressions.java	13 Jun 2002 09:27:14 -0000	1.2
  +++ TestExpressions.java	13 Jun 2002 09:40:53 -0000	1.3
  @@ -115,6 +115,9 @@
           context.setVariable("maven.home.foo", "cheese");
   
           assertExpression("${maven.home.foo}", "cheese");
  +        assertExpression("${maven.some.madeup.name}", null);
  +        assertExpression("cheese ${maven.some.madeup.name}pizza", "cheese pizza");
  +        assertExpression("ham and ${maven.home.foo} pizza", "ham and cheese pizza");
       }
       
       protected void assertExpression(String expressionText, Object expectedValue) throws
Exception {
  
  
  

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


Mime
View raw message