commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject svn commit: r413598 - in /jakarta/commons/sandbox/javaflow/trunk: lib/bcel-5.2.jar lib/jakarta-bcel-20050813.jar project.properties project.xml src/test/org/apache/commons/javaflow/bytecode/transformation/tests/AbstractInvokerTestCase.java
Date Mon, 12 Jun 2006 07:21:10 GMT
Author: tcurdt
Date: Mon Jun 12 00:21:09 2006
New Revision: 413598

URL: http://svn.apache.org/viewvc?rev=413598&view=rev
Log:
updated to bcel 5.2, fixed the invoker testcase

Added:
    jakarta/commons/sandbox/javaflow/trunk/lib/bcel-5.2.jar   (with props)
Removed:
    jakarta/commons/sandbox/javaflow/trunk/lib/jakarta-bcel-20050813.jar
Modified:
    jakarta/commons/sandbox/javaflow/trunk/project.properties
    jakarta/commons/sandbox/javaflow/trunk/project.xml
    jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/bytecode/transformation/tests/AbstractInvokerTestCase.java

Added: jakarta/commons/sandbox/javaflow/trunk/lib/bcel-5.2.jar
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/javaflow/trunk/lib/bcel-5.2.jar?rev=413598&view=auto
==============================================================================
Binary file - no diff available.

Propchange: jakarta/commons/sandbox/javaflow/trunk/lib/bcel-5.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: jakarta/commons/sandbox/javaflow/trunk/project.properties
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/javaflow/trunk/project.properties?rev=413598&r1=413597&r2=413598&view=diff
==============================================================================
--- jakarta/commons/sandbox/javaflow/trunk/project.properties (original)
+++ jakarta/commons/sandbox/javaflow/trunk/project.properties Mon Jun 12 00:21:09 2006
@@ -42,5 +42,5 @@
 # ------------------------------------------------------------------------
 maven.jar.commons-jci = lib/commons-jci-r291284.jar
 #maven.jar.commons-io = lib/commons-io-20050621.133116.jar
-maven.jar.bcel = lib/jakarta-bcel-20050813.jar
+maven.jar.bcel = lib/bcel-5.2.jar
 maven.jar.asm-all = lib/asm-all-2.2.1.jar

Modified: jakarta/commons/sandbox/javaflow/trunk/project.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/javaflow/trunk/project.xml?rev=413598&r1=413597&r2=413598&view=diff
==============================================================================
--- jakarta/commons/sandbox/javaflow/trunk/project.xml (original)
+++ jakarta/commons/sandbox/javaflow/trunk/project.xml Mon Jun 12 00:21:09 2006
@@ -121,8 +121,8 @@
     <dependency>
       <groupId>bcel</groupId>
       <artifactId>bcel</artifactId>
-      <version>20050813</version>
-      <jar>${basedir}/lib/jakarta-bcel-20050813.jar</jar>
+      <version>5.2</version>
+      <jar>${basedir}/lib/bcel-5.2.jar</jar>
       <type>jar</type>
     </dependency>
     <dependency>
@@ -200,4 +200,3 @@
     <report>maven-linkcheck-plugin</report>
   </reports>
 </project>
-

Modified: jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/bytecode/transformation/tests/AbstractInvokerTestCase.java
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/bytecode/transformation/tests/AbstractInvokerTestCase.java?rev=413598&r1=413597&r2=413598&view=diff
==============================================================================
--- jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/bytecode/transformation/tests/AbstractInvokerTestCase.java
(original)
+++ jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/bytecode/transformation/tests/AbstractInvokerTestCase.java
Mon Jun 12 00:21:09 2006
@@ -3,13 +3,14 @@
 import org.apache.commons.javaflow.Continuation;
 import org.apache.commons.javaflow.bytecode.transformation.AbstractTransformerTestCase;
 import org.apache.commons.javaflow.bytecode.transformation.Invoker;
+import org.apache.commons.javaflow.bytecode.transformation.rewrite.Simple;
 
 public abstract class AbstractInvokerTestCase extends AbstractTransformerTestCase {
 
     public void testInvoker() {
-        Runnable r = new Thread();
-        Runnable o = new Invoker(r);
-        Continuation c = Continuation.startWith(o);
-        assertTrue(c != null);
+        final Runnable r = new Simple();
+        final Runnable o = new Invoker(r);
+        final Continuation c = Continuation.startWith(o);
+        assertNotNull(c);
     }
 }



---------------------------------------------------------------------
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