aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/compare/interpolation.cmp
diff options
context:
space:
mode:
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/compare/interpolation.cmp')
-rw-r--r--velocity-engine-core/src/test/resources/templates/compare/interpolation.cmp51
1 files changed, 51 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/compare/interpolation.cmp b/velocity-engine-core/src/test/resources/templates/compare/interpolation.cmp
new file mode 100644
index 00000000..6829c327
--- /dev/null
+++ b/velocity-engine-core/src/test/resources/templates/compare/interpolation.cmp
@@ -0,0 +1,51 @@
+
+
+Start with simple string interpolation :
+
+it will cost you $10.00
+
+dog.jpg
+
+foobar.jpg
+
+foobar.jpg
+
+123
+1 2 3
+
+How about a directive? Sure :
+
+
+ >a< >b< >c<
+
+For our next trick, lets interpolate a.... VelociMacro!
+
+
+
+ Hi, I'm a VM!
+
+
+And now, for something completely different :
+
+
+ False
+
+Now, non interpolated stringlits :
+
+
+ False
+$code
+$!$\!code
+
+Now, check comments within strings. double quotes they should be removed.
+Single quotes, they should be kept literal.
+
+
+test
+test
+
+testtest
+test##test
+test#* hello *#test
+
+-- end --