aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/vm_test1.vm
diff options
context:
space:
mode:
authorAndrew Vuong <akvuong@google.com>2023-02-14 20:41:15 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-02-14 20:41:15 +0000
commitd0b448f2aa3cdf72b9da589c75abdb955fe0d8f8 (patch)
tree3813a8a6c4402b036011aeb82ba7597aac31b33a /velocity-engine-core/src/test/resources/templates/vm_test1.vm
parentbc4c7a291f1579e1b6b903dc43b707a755577565 (diff)
parenteabfc4b86246fe77090ac2a4594eef472766c753 (diff)
downloadapache-velocity-engine-d0b448f2aa3cdf72b9da589c75abdb955fe0d8f8.tar.gz
Initial import of apache-velocity-engine from upstream master am: 31f36d06e1 am: eabfc4b862
Original change: https://android-review.googlesource.com/c/platform/external/apache-velocity-engine/+/2434334 Change-Id: I06f4f8eef3ce47886496040e1d09c120c04e2d47 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/vm_test1.vm')
-rw-r--r--velocity-engine-core/src/test/resources/templates/vm_test1.vm16
1 files changed, 16 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/vm_test1.vm b/velocity-engine-core/src/test/resources/templates/vm_test1.vm
new file mode 100644
index 00000000..31f336a6
--- /dev/null
+++ b/velocity-engine-core/src/test/resources/templates/vm_test1.vm
@@ -0,0 +1,16 @@
+#**
+
+@test vm_test1.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 VM recursion. In our VM library, we have a VM callrecurse()
+which calls recurse(). The point is to have the global def of
+recurse() called since we don't define it here.
+
+*#
+
+#callrecurse()