hgilde 2005/01/24 18:53:56 Modified: jelly/src/test/org/apache/commons/jelly/core TestCoreMemoryLeak.java Log: added a test for a leak in IncludeTag Revision Changes Path 1.2 +5 -1 jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/TestCoreMemoryLeak.java Index: TestCoreMemoryLeak.java =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/TestCoreMemoryLeak.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TestCoreMemoryLeak.java 28 Dec 2004 01:39:23 -0000 1.1 +++ TestCoreMemoryLeak.java 25 Jan 2005 02:53:56 -0000 1.2 @@ -29,7 +29,11 @@ } public void testBasicScriptForLeak() throws Exception { - assertTrue(runScriptManyTimes("c.jelly", 10000) < 200000); + assertTrue("Leak in core library", runScriptManyTimes("c.jelly", 10000) < 200000); + } + + public void testIncludeTagForLeak() throws Exception { + assertTrue("Leak in include tag", runScriptManyTimes("a.jelly", 10000) < 200000); } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]