polx        2004/09/09 06:22:33

  Modified:    jelly/jelly-tags/define/src/test/org/apache/commons/jelly/tags/define
                        suite.jelly
  Log:
  Amazing... the test succeeds so that my post on common-devs about
  attributes not overriding should be ignored.
  paul
  
  Revision  Changes    Path
  1.4       +13 -0     
jakarta-commons/jelly/jelly-tags/define/src/test/org/apache/commons/jelly/tags/define/suite.jelly
  
  Index: suite.jelly
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/jelly/jelly-tags/define/src/test/org/apache/commons/jelly/tags/define/suite.jelly,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- suite.jelly       8 Sep 2004 05:14:39 -0000       1.3
  +++ suite.jelly       9 Sep 2004 13:22:33 -0000       1.4
  @@ -197,5 +197,18 @@
   </test:case>

   

   

  +<test:case name="testOverrideVariablesWithAttributes">

  +     <define:taglib uri="testOverrideVariablesWithAttributes">

  +             <define:tag name="getValueOfVarA">${varA}</define:tag>

  +             </define:taglib>

  +     <j:set var="varA" value="varA valueFromSet"/>

  +     <j:set var="obtained"><getValueOfVarA varA="varA value from attribute" 

  +             xmlns="testOverrideVariablesWithAttributes"/></j:set>

  +     <log:info>obtained is ${obtained}</log:info>

  +     <test:assertEquals 

  +             expected="varA value from attribute"

  +             actual  ="${obtained}"/>

  +     </test:case>

  +

      

   </test:suite>

  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to