From: Tim P <ti...@us...> - 2010-02-18 23:09:04
|
Update of /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32539/test/unit/org/webmacro/template Modified Files: TestSetpropsDirective.java Log Message: Use a wierd class to try to instantiate Index: TestSetpropsDirective.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template/TestSetpropsDirective.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TestSetpropsDirective.java 18 Feb 2010 22:56:51 -0000 1.3 --- TestSetpropsDirective.java 18 Feb 2010 23:08:56 -0000 1.4 *************** *** 20,27 **** { //System.getProperties().setProperty("org.webmacro.LogLevel", "DEBUG"); ! System.getProperties().setProperty("org.webmacro.ImpliedPackages", ! "java.util"); ! System.getProperties().setProperty("org.webmacro.AllowedPackages", ! "java.util"); super.setUp(); } --- 20,27 ---- { //System.getProperties().setProperty("org.webmacro.LogLevel", "DEBUG"); ! //System.getProperties().setProperty("org.webmacro.ImpliedPackages", ! //"java.util"); ! //System.getProperties().setProperty("org.webmacro.AllowedPackages", ! //"java.util"); super.setUp(); } *************** *** 120,124 **** public void testSetpropsThrows() throws Exception { ! String tmpl = "#setprops $e class=\"java.lang.Exception\""; tmpl += "\n{\n"; tmpl += "}\n"; --- 120,124 ---- public void testSetpropsThrows() throws Exception { ! String tmpl = "#setprops $e class=\"org.melati.Melati\""; tmpl += "\n{\n"; tmpl += "}\n"; |