1#* 2 3@test diabolical.vm 4 5This template is used for Velocity regression testing. 6If you alter this template make sure you change the 7corresponding comparison file so that the regression 8test doesn't fail incorrectly. 9 10This is for wierd strangeness that doesn't have any other home. 11 12*# 13 14$f. 15$f 16$f. $f 17#set($f = "foo") 18$f. 19$f 20$f. $f 21$thingy.dingy 22"#FFFFFF" 23"$ow" 24 25"$row","var" 26#333333 27#FFFFFF 28"#FFFFF 29#FFFFF" 30"#000000"> 31"#ffffff" 32 33$strings.getVillageType($col.Type) 34$strings.getVillageType( $col.Type) 35$strings.getVillageType($col.Type ) 36 37 38-#-# Inline loops #-#- 39 40blargh>#foreach($a in $stringarray)<$a>#end<blargh 41blargh>#foreach($a in $stringarray) <$a>#end<blargh 42blargh>#foreach($a in $stringarray)<$a> #end<blargh 43blargh>#foreach($a in $stringarray) <$a> #end<blargh 44 45#"FFFF 46-#-#-#-#-# 47#-#-#-# 48$-$-$-$- 49#FF00FF00 50#'FF 51 52$tstrings.chop($generator.parse("sql/mysql/columns", "", "table", $tbl),1) 53$provider.chop("stringy",1) 54 55#set($foo = "foo") 56#if ($foo.length()>0)$foo#end 57#set($bar = "bar") 58#if ($bar.length()>0)$bar#end 59 60 61#set($a=1) 62#0F 63 64$nullToString 65$nullToString.toString() 66$!nullToString 67$!nullToString.toString() 68 69$#set($foo = $bar)## 70$fooo#set($foo = $bar)## 71$fooo.#set($foo = $bar)## 72$fooo.bar#set($foo = $bar)## 73$fooo.bar(#set($foo = $bar)## 74$fooo.bar()#set($foo = $bar)## 75