commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kohs...@apache.org
Subject svn commit: r359600 - /jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/SerializationTestCase.java
Date Wed, 28 Dec 2005 19:06:12 GMT
Author: kohsuke
Date: Wed Dec 28 11:06:06 2005
New Revision: 359600

URL: http://svn.apache.org/viewcvs?rev=359600&view=rev
Log:
fixed this test case.

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

Modified: jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/SerializationTestCase.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/SerializationTestCase.java?rev=359600&r1=359599&r2=359600&view=diff
==============================================================================
--- jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/SerializationTestCase.java
(original)
+++ jakarta/commons/sandbox/javaflow/trunk/src/test/org/apache/commons/javaflow/SerializationTestCase.java
Wed Dec 28 11:06:06 2005
@@ -51,13 +51,13 @@
         
         final Continuation c1 = (Continuation) o;
 
-        final SimpleSerializableFlow r1 = (SimpleSerializableFlow) PrivateAccessor.getField(PrivateAccessor.getField(c1,
"stack"), "runnable");
+        final SimpleSerializableFlow r1 = (SimpleSerializableFlow) PrivateAccessor.getField(PrivateAccessor.getField(c1,
"stackRecorder"), "runnable");
         assertTrue(r1.g == 0);
         assertTrue(r1.l == 0);
         
         final Continuation c2 = Continuation.continueWith(c1);
 
-        final SimpleSerializableFlow r2 = (SimpleSerializableFlow) PrivateAccessor.getField(PrivateAccessor.getField(c1,
"stack"), "runnable");
+        final SimpleSerializableFlow r2 = (SimpleSerializableFlow) PrivateAccessor.getField(PrivateAccessor.getField(c1,
"stackRecorder"), "runnable");
         assertTrue(r2.g == 1);
         assertTrue(r2.l == 1);
 
@@ -78,7 +78,7 @@
         final Runnable r3 = new SimpleSerializableFlow();
         Continuation c3 = Continuation.startWith(new Invoker(r3));
         assertTrue(c3 != null);
-        assertTrue(c3.isSerializable());
+        assertTrue(!c3.isSerializable());
 
     }
 



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