geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [61/61] [abbrv] incubator-geode git commit: OffHeapRegionEntryHelperJUnitTest now compiles and runs
Date Thu, 11 Feb 2016 00:39:35 GMT
OffHeapRegionEntryHelperJUnitTest now compiles and runs


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/95e23f0b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/95e23f0b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/95e23f0b

Branch: refs/heads/feature/GEODE-831
Commit: 95e23f0b6ac04e79ec85234ecd4125a5f685613a
Parents: 811aeb0
Author: Darrel Schneider <dschneider@pivotal.io>
Authored: Wed Feb 10 16:37:34 2016 -0800
Committer: Darrel Schneider <dschneider@pivotal.io>
Committed: Wed Feb 10 16:37:34 2016 -0800

----------------------------------------------------------------------
 .../OffHeapRegionEntryHelperJUnitTest.java        | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/95e23f0b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/offheap/OffHeapRegionEntryHelperJUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/offheap/OffHeapRegionEntryHelperJUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/offheap/OffHeapRegionEntryHelperJUnitTest.java
index b800977..eae2b7a 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/offheap/OffHeapRegionEntryHelperJUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/offheap/OffHeapRegionEntryHelperJUnitTest.java
@@ -81,7 +81,7 @@ public class OffHeapRegionEntryHelperJUnitTest {
     boolean isSerialized = true;
     boolean isCompressed = false;
 
-    GemFireChunk chunk = (GemFireChunk) ma.allocateAndInitialize(v, isSerialized, isCompressed,
GemFireChunk.TYPE);
+    GemFireChunk chunk = (GemFireChunk) ma.allocateAndInitialize(v, isSerialized, isCompressed);
 
     return chunk;
   }
@@ -446,7 +446,7 @@ public class OffHeapRegionEntryHelperJUnitTest {
     // mock Chunk static methods - in-order to verify that release is called
     PowerMockito.spy(Chunk.class);
     PowerMockito.doNothing().when(Chunk.class);
-    Chunk.release(oldValue.getMemoryAddress(), true);
+    Chunk.release(oldValue.getMemoryAddress());
 
     // mock region entry methods required for test
     when(re.getAddress()).thenReturn(oldValue.getMemoryAddress());
@@ -460,7 +460,7 @@ public class OffHeapRegionEntryHelperJUnitTest {
 
     // verify oldAddress is released
     PowerMockito.verifyStatic();
-    Chunk.release(oldValue.getMemoryAddress(), true);
+    Chunk.release(oldValue.getMemoryAddress());
   }
 
   @Test
@@ -477,7 +477,7 @@ public class OffHeapRegionEntryHelperJUnitTest {
     // mock Chunk static methods - in-order to verify that release is never called
     PowerMockito.spy(Chunk.class);
     PowerMockito.doNothing().when(Chunk.class);
-    Chunk.release(oldAddress, true);
+    Chunk.release(oldAddress);
 
     // mock region entry methods required for test
     when(re.getAddress()).thenReturn(oldAddress);
@@ -491,7 +491,7 @@ public class OffHeapRegionEntryHelperJUnitTest {
 
     // verify that release is never called as the old address is not on offheap
     PowerMockito.verifyStatic(never());
-    Chunk.release(oldAddress, true);
+    Chunk.release(oldAddress);
   }
 
   @Test
@@ -507,7 +507,7 @@ public class OffHeapRegionEntryHelperJUnitTest {
     // mock Chunk static methods - in-order to verify that release is never called
     PowerMockito.spy(Chunk.class);
     PowerMockito.doNothing().when(Chunk.class);
-    Chunk.release(oldAddress, true);
+    Chunk.release(oldAddress);
 
     // mock region entry methods required for test
     when(re.getAddress()).thenReturn(oldAddress);
@@ -521,7 +521,7 @@ public class OffHeapRegionEntryHelperJUnitTest {
 
     // verify that release is never called as the old address is not on offheap
     PowerMockito.verifyStatic(never());
-    Chunk.release(oldAddress, true);
+    Chunk.release(oldAddress);
   }
 
   @Test(expected = IllegalStateException.class)
@@ -640,7 +640,7 @@ public class OffHeapRegionEntryHelperJUnitTest {
     boolean isSerialized = true;
     boolean isCompressed = true;
 
-    GemFireChunk chunk = (GemFireChunk) ma.allocateAndInitialize(data, isSerialized, isCompressed,
GemFireChunk.TYPE);
+    GemFireChunk chunk = (GemFireChunk) ma.allocateAndInitialize(data, isSerialized, isCompressed);
 
     // create the mock context
     RegionEntryContext regionContext = mock(RegionEntryContext.class);
@@ -669,7 +669,7 @@ public class OffHeapRegionEntryHelperJUnitTest {
     boolean isSerialized = false;
     boolean isCompressed = true;
 
-    GemFireChunk chunk = (GemFireChunk) ma.allocateAndInitialize(data, isSerialized, isCompressed,
GemFireChunk.TYPE);
+    GemFireChunk chunk = (GemFireChunk) ma.allocateAndInitialize(data, isSerialized, isCompressed);
 
     // create the mock context
     RegionEntryContext regionContext = mock(RegionEntryContext.class);


Mime
View raw message