commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kohs...@apache.org
Subject svn commit: r240004 - /jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/AbstractClassLoaderTestCase.java
Date Thu, 25 Aug 2005 06:02:54 GMT
Author: kohsuke
Date: Wed Aug 24 23:02:51 2005
New Revision: 240004

URL: http://svn.apache.org/viewcvs?rev=240004&view=rev
Log:
enable the debug mode for unit tests

Modified:
    jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/AbstractClassLoaderTestCase.java

Modified: jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/AbstractClassLoaderTestCase.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/AbstractClassLoaderTestCase.java?rev=240004&r1=240003&r2=240004&view=diff
==============================================================================
--- jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/AbstractClassLoaderTestCase.java
(original)
+++ jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/AbstractClassLoaderTestCase.java
Wed Aug 24 23:02:51 2005
@@ -22,6 +22,7 @@
 import junit.framework.TestCase;
 
 import org.apache.commons.javaflow.utils.ReflectionUtils;
+import org.apache.commons.javaflow.bytecode.transformation.bcel.BcelClassTransformer;
 
 /**
  * @author tcurdt
@@ -30,11 +31,12 @@
 public abstract class AbstractClassLoaderTestCase extends TestCase {
 
     final String clazzName;
-    
+
     protected AbstractClassLoaderTestCase(final String pClazzName) {
-        clazzName = pClazzName;        
+        clazzName = pClazzName;
+        BcelClassTransformer.debug = true;
     }
-          
+
     protected void call(final String methodName) throws Exception {
         final TestClassLoader cl = new TestClassLoader(getClass().getClassLoader());
         final Class clazz = cl.loadClass(clazzName);
@@ -51,5 +53,5 @@
         final Method method = (Method) methods.get(methodName);
         method.invoke(instance, new Object[] { });
     }
-    
+
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message