aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/settest.vm
diff options
context:
space:
mode:
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/settest.vm')
-rw-r--r--velocity-engine-core/src/test/resources/templates/settest.vm22
1 files changed, 22 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/settest.vm b/velocity-engine-core/src/test/resources/templates/settest.vm
new file mode 100644
index 00000000..7db1652d
--- /dev/null
+++ b/velocity-engine-core/src/test/resources/templates/settest.vm
@@ -0,0 +1,22 @@
+*
+
+@test settest.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.
+
+Tests #set parsing funkyness
+*#
+
+#macro( setthing $a )
+ I am setthing : $a
+#end
+
+#set($foo = "bar")
+#set ($foofoo = "barbar")
+
+#setthing( $foo )
+
+SessionBean#setSessionContext