From: <dr...@us...> - 2002-11-11 04:53:16
|
Update of /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template In directory usw-pr-cvs1:/tmp/cvs-serv18116/test/unit/org/webmacro/template Modified Files: TemplateTestCase.java TestCountDirective.java Log Message: - When the parser outputs warnings for $$ and $foo;, include the line.col information - fix Directive.writeWarning so it doesn't output HTML comments to the log Index: TemplateTestCase.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template/TemplateTestCase.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** TemplateTestCase.java 10 Nov 2002 21:45:46 -0000 1.8 --- TemplateTestCase.java 11 Nov 2002 04:53:13 -0000 1.9 *************** *** 44,49 **** public void init () throws Exception { ! if (System.getProperties().getProperty("org.webmacro.LogLevel") == null) ! System.getProperties().setProperty("org.webmacro.LogLevel", "NONE"); _wm = createWebMacro (); _context = _wm.getContext (); --- 44,49 ---- public void init () throws Exception { ! //if (System.getProperties().getProperty("org.webmacro.LogLevel") == null) ! // System.getProperties().setProperty("org.webmacro.LogLevel", "NONE"); _wm = createWebMacro (); _context = _wm.getContext (); Index: TestCountDirective.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template/TestCountDirective.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TestCountDirective.java 11 Nov 2002 04:26:12 -0000 1.1 --- TestCountDirective.java 11 Nov 2002 04:53:13 -0000 1.2 *************** *** 77,80 **** assert (i == null); } ! ! } --- 77,79 ---- assert (i == null); } ! } \ No newline at end of file |