List:Commits« Previous MessageNext Message »
From:Martin Zaun Date:June 7 2011 7:48pm
Subject:bzr commit into mysql-5.1-telco-7.1 branch (martin.zaun:4238)
View as plain text  
#At file:///Users/mz/mysql/ndb-7.1/ based on revid:magnus.blaudd@stripped

 4238 Martin Zaun	2011-06-07 [merge]
      merge from ndb-7.1-jtie

    modified:
      storage/ndb/src/ndbjtie/jtie/test/myjapi/test/MyJapiTest.java
=== modified file 'storage/ndb/src/ndbjtie/jtie/test/myjapi/test/MyJapiTest.java'
--- a/storage/ndb/src/ndbjtie/jtie/test/myjapi/test/MyJapiTest.java	2011-02-02 09:52:33 +0000
+++ b/storage/ndb/src/ndbjtie/jtie/test/myjapi/test/MyJapiTest.java	2011-06-07 18:35:02 +0000
@@ -331,7 +331,7 @@ public class MyJapiTest {
             MyJapi.f311bb(f211bb);
             assert (nf211bb == f211bb.asReadOnlyBuffer().get());
             MyJapi.f311bb(MyJapi.f211bb());
-            assert (nf211bb - 1 == f211bb.asReadOnlyBuffer().get());
+            assert (nf211bb != f211bb.asReadOnlyBuffer().get());
 
             out.println("\ncalling f312bb(f212bb())");
             final ByteBuffer f212bb = MyJapi.f212bb().order(ByteOrder.nativeOrder());
@@ -425,7 +425,7 @@ public class MyJapiTest {
             final ByteBuffer f231bb = MyJapi.f231bb().order(ByteOrder.nativeOrder());
             final byte nf231bb = f231bb.asReadOnlyBuffer().get();
             MyJapi.f331bb(f231bb);
-            assert (nf231bb - 1 == f231bb.asReadOnlyBuffer().get());
+            assert (nf231bb != f231bb.asReadOnlyBuffer().get());
 
             out.println("\ncalling f332bb(f232bb())");
             final ByteBuffer f232bb = MyJapi.f232bb().order(ByteOrder.nativeOrder());
@@ -904,7 +904,7 @@ public class MyJapiTest {
             MyJapi.f511bb1(f411bb);
             assert (nf411bb == f411bb.asReadOnlyBuffer().get());
             MyJapi.f511bb1(MyJapi.f411bb1());
-            assert (nf411bb - 1 == f411bb.asReadOnlyBuffer().get());
+            assert (nf411bb != f411bb.asReadOnlyBuffer().get());
 
             out.println("\ncalling f512bb1(f412bb1())");
             final ByteBuffer f412bb = MyJapi.f412bb1().order(ByteOrder.nativeOrder());
@@ -998,7 +998,7 @@ public class MyJapiTest {
             final ByteBuffer f431bb = MyJapi.f431bb1().order(ByteOrder.nativeOrder());
             final byte nf431bb = f431bb.asReadOnlyBuffer().get();
             MyJapi.f531bb1(f431bb);
-            assert (nf431bb - 1 == f431bb.asReadOnlyBuffer().get());
+            assert (nf431bb != f431bb.asReadOnlyBuffer().get());
 
             out.println("\ncalling f532bb1(f432bb1())");
             final ByteBuffer f432bb = MyJapi.f432bb1().order(ByteOrder.nativeOrder());
@@ -1072,7 +1072,7 @@ public class MyJapiTest {
             MyJapi.f551bb1(f451bb);
             assert (nf451bb == f451bb.asReadOnlyBuffer().get());
             MyJapi.f551bb1(MyJapi.f451bb1());
-            assert (nf451bb - 1 == f451bb.asReadOnlyBuffer().get());
+            assert (nf451bb != f451bb.asReadOnlyBuffer().get());
 
             out.println("\ncalling f552bb1(f452bb1())");
             final ByteBuffer f452bb = MyJapi.f452bb1().order(ByteOrder.nativeOrder());
@@ -1166,7 +1166,7 @@ public class MyJapiTest {
             final ByteBuffer f471bb = MyJapi.f471bb1().order(ByteOrder.nativeOrder());
             final byte nf471bb = f471bb.asReadOnlyBuffer().get();
             MyJapi.f571bb1(f471bb);
-            assert (nf471bb - 1 == f471bb.asReadOnlyBuffer().get());
+            assert (nf471bb != f471bb.asReadOnlyBuffer().get());
 
             out.println("\ncalling f572bb1(f472bb1())");
             final ByteBuffer f472bb = MyJapi.f472bb1().order(ByteOrder.nativeOrder());


Attachment: [text/bzr-bundle] bzr/martin.zaun@oracle.com-20110607194842-uo0hu844mmai7pib.bundle
Thread
bzr commit into mysql-5.1-telco-7.1 branch (martin.zaun:4238) Martin Zaun7 Jun