You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by hg...@apache.org on 2005/01/25 03:53:56 UTC
cvs commit: jakarta-commons/jelly/src/test/org/apache/commons/jelly/core TestCoreMemoryLeak.java
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org