Author: wglass
Date: Tue Nov  3 02:08:36 2009
New Revision: 832264

URL: http://svn.apache.org/viewvc?rev=832264&view=rev
Log:
test that macros are blocked from loading with null return from 
IncludeEventHandler

Added:
    velocity/engine/trunk/test/includeevent/compare/test7.cmp   (with props)
    velocity/engine/trunk/test/includeevent/macros.vm   (with props)
    velocity/engine/trunk/test/includeevent/test7.vm   (with props)

Added: velocity/engine/trunk/test/includeevent/compare/test7.cmp
URL: 
http://svn.apache.org/viewvc/velocity/engine/trunk/test/includeevent/compare/test7.cmp?rev=832264&view=auto
==============================================================================
--- velocity/engine/trunk/test/includeevent/compare/test7.cmp (added)
+++ velocity/engine/trunk/test/includeevent/compare/test7.cmp Tue Nov  3 
02:08:36 2009
@@ -0,0 +1,3 @@
+Test File 7
+
+#sample("boo")
\ No newline at end of file

Propchange: velocity/engine/trunk/test/includeevent/compare/test7.cmp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: velocity/engine/trunk/test/includeevent/compare/test7.cmp
------------------------------------------------------------------------------
    svn:keywords = Id Author Date Revision

Added: velocity/engine/trunk/test/includeevent/macros.vm
URL: 
http://svn.apache.org/viewvc/velocity/engine/trunk/test/includeevent/macros.vm?rev=832264&view=auto
==============================================================================
--- velocity/engine/trunk/test/includeevent/macros.vm (added)
+++ velocity/engine/trunk/test/includeevent/macros.vm Tue Nov  3 02:08:36 2009
@@ -0,0 +1,3 @@
+#macro(sample $a)
+       do something with $a
+#end
\ No newline at end of file

Propchange: velocity/engine/trunk/test/includeevent/macros.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: velocity/engine/trunk/test/includeevent/macros.vm
------------------------------------------------------------------------------
    svn:keywords = Id Author Date Revision

Added: velocity/engine/trunk/test/includeevent/test7.vm
URL: 
http://svn.apache.org/viewvc/velocity/engine/trunk/test/includeevent/test7.vm?rev=832264&view=auto
==============================================================================
--- velocity/engine/trunk/test/includeevent/test7.vm (added)
+++ velocity/engine/trunk/test/includeevent/test7.vm Tue Nov  3 02:08:36 2009
@@ -0,0 +1,4 @@
+Test File 7
+#parse("macros.vm")
+
+#sample("boo")
\ No newline at end of file

Propchange: velocity/engine/trunk/test/includeevent/test7.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: velocity/engine/trunk/test/includeevent/test7.vm
------------------------------------------------------------------------------
    svn:keywords = Id Author Date Revision


Reply via email to