You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@locus.apache.org on 2000/12/22 13:12:35 UTC

cvs commit: jakarta-velocity/test/templates/compare quotes.cmp test.cmp

geirm       00/12/22 04:12:34

  Modified:    test/templates quotes.vm
               test/templates/compare quotes.cmp test.cmp
  Log:
  Added tests for jason's 'quotes bug', and a new test.cmp, because it was
  actually wrong :)
  
  Revision  Changes    Path
  1.4       +5 -0      jakarta-velocity/test/templates/quotes.vm
  
  Index: quotes.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/test/templates/quotes.vm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- quotes.vm	2000/10/31 16:07:26	1.3
  +++ quotes.vm	2000/12/22 12:12:32	1.4
  @@ -14,3 +14,8 @@
   #if (true)
       "what is $this"
   #end
  +
  +<input type="checkbox" name="$name" #if($checked)checked="1"#end/>
  + 
  +<input type="checkbox" name="$hashtable.Bar" #if($checked)checked="1"#end/>
  +
  
  
  
  1.3       +5 -0      jakarta-velocity/test/templates/compare/quotes.cmp
  
  Index: quotes.cmp
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/test/templates/compare/quotes.cmp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- quotes.cmp	2000/10/31 16:07:28	1.2
  +++ quotes.cmp	2000/12/22 12:12:33	1.3
  @@ -2,3 +2,8 @@
   
   
       "what is that"
  +
  +<input type="checkbox" name="jason" />
  + 
  +<input type="checkbox" name="this is from a hashtable!" />
  +
  
  
  
  1.6       +1 -1      jakarta-velocity/test/templates/compare/test.cmp
  
  Index: test.cmp
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/test/templates/compare/test.cmp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- test.cmp	2000/11/05 03:19:57	1.5
  +++ test.cmp	2000/12/22 12:12:33	1.6
  @@ -30,7 +30,7 @@
   $foo.  => bar.
   $foo.. => bar..
   $foo/  => bar/
  -$foo"  => $foo"
  +$foo"  => bar"
   $foo\  => bar\
   $foo<  => bar<
   \$foo-  => $foo-