File: loop.vm

package info (click to toggle)
velocity 1.7-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,856 kB
  • sloc: java: 41,240; xml: 15,001; sh: 180; sql: 18; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#*

@test loop.vm

This template is used for Velocity regression testing.
If you alter this template make sure you change the
corresponding comparison file so that the regression 
test doesn't fail incorrectly.

*#

#foreach ($element in $list)
    #set($foo = $provider.concat(["<", $element, ">"]))
    $provider.concat("hello", $foo)
#end