5 This template is used for Velocity regression testing.
6 If you alter this template make sure you change the
7 corresponding comparison file so that the regression
8 test doesn't fail incorrectly.
14 #if ($_foo.Equals("bar"))
15 \$_foo equals "bar" : $_foo
20 $vector.get_Item(0).Length
23 More stupid reference escaping ...
25 When it does exist in the context :
40 \$!bar (because it's just text...)
53 Test lower case property names
58 #foreach($i in $provider.vector)
61 #foreach($i in $provider.Vector)
65 Now test if we can use lowercase for propertes in set
66 #set($oldtitle = $provider.title)
68 #set($provider.title = "geir")
70 #set($provider.title = $oldtitle)
71 Back : $provider.title
87 $foo.bar#if( $foo ) ($bar) #end
90 Test boolean introspection isFoo()
92 #if( $boolobj.isBoolean == true )
99 #if ( $boolobj.isNotboolean == true )