cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: fix build
Date Wed, 15 Jan 2014 21:38:22 GMT
Updated Branches:
  refs/heads/trunk 63c490af9 -> 602dd62e5


fix build


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/602dd62e
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/602dd62e
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/602dd62e

Branch: refs/heads/trunk
Commit: 602dd62e5a93ae1ada5d63f8db5cc3e77fe0e5ee
Parents: 63c490a
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Wed Jan 15 16:37:55 2014 -0500
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Wed Jan 15 16:37:55 2014 -0500

----------------------------------------------------------------------
 .../unit/org/apache/cassandra/db/RangeTombstoneTest.java |  5 +++++
 .../apache/cassandra/db/SecondaryIndexCellSizeTest.java  | 10 ++++++++++
 .../cassandra/db/index/PerRowSecondaryIndexTest.java     | 11 ++++++++---
 3 files changed, 23 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/602dd62e/test/unit/org/apache/cassandra/db/RangeTombstoneTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/db/RangeTombstoneTest.java b/test/unit/org/apache/cassandra/db/RangeTombstoneTest.java
index 3bbf4b8..c1e4e8e 100644
--- a/test/unit/org/apache/cassandra/db/RangeTombstoneTest.java
+++ b/test/unit/org/apache/cassandra/db/RangeTombstoneTest.java
@@ -420,5 +420,10 @@ public class RangeTombstoneTest extends SchemaLoader
         public void truncateBlocking(long truncatedAt) { }
 
         public boolean indexes(CellName name) { return name.toByteBuffer().equals(ByteBufferUtil.bytes(1));
}
+
+        @Override
+        public long estimateResultRows() {
+            return 0;
+        }
     }
 }

http://git-wip-us.apache.org/repos/asf/cassandra/blob/602dd62e/test/unit/org/apache/cassandra/db/SecondaryIndexCellSizeTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/db/SecondaryIndexCellSizeTest.java b/test/unit/org/apache/cassandra/db/SecondaryIndexCellSizeTest.java
index 940a565..3222d29 100644
--- a/test/unit/org/apache/cassandra/db/SecondaryIndexCellSizeTest.java
+++ b/test/unit/org/apache/cassandra/db/SecondaryIndexCellSizeTest.java
@@ -143,6 +143,11 @@ public class SecondaryIndexCellSizeTest
         {
             return true;
         }
+
+        @Override
+        public long estimateResultRows() {
+            return 0;
+        }
     }
 
 
@@ -226,5 +231,10 @@ public class SecondaryIndexCellSizeTest
         {
             return true;
         }
+
+        @Override
+        public long estimateResultRows() {
+            return 0;
+        }
     }
 }

http://git-wip-us.apache.org/repos/asf/cassandra/blob/602dd62e/test/unit/org/apache/cassandra/db/index/PerRowSecondaryIndexTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/db/index/PerRowSecondaryIndexTest.java b/test/unit/org/apache/cassandra/db/index/PerRowSecondaryIndexTest.java
index 03f5860..60cb19a 100644
--- a/test/unit/org/apache/cassandra/db/index/PerRowSecondaryIndexTest.java
+++ b/test/unit/org/apache/cassandra/db/index/PerRowSecondaryIndexTest.java
@@ -55,7 +55,7 @@ public class PerRowSecondaryIndexTest extends SchemaLoader
     }
 
     @Test
-    public void testIndexInsertAndUpdate() throws IOException
+    public void testIndexInsertAndUpdate()
     {
         // create a row then test that the configured index instance was able to read the
row
         Mutation rm;
@@ -79,7 +79,7 @@ public class PerRowSecondaryIndexTest extends SchemaLoader
     }
 
     @Test
-    public void testColumnDelete() throws IOException
+    public void testColumnDelete()
     {
         // issue a column delete and test that the configured index instance was notified
to update
         Mutation rm;
@@ -98,7 +98,7 @@ public class PerRowSecondaryIndexTest extends SchemaLoader
     }
 
     @Test
-    public void testRowDelete() throws IOException
+    public void testRowDelete()
     {
         // issue a row level delete and test that the configured index instance was notified
to update
         Mutation rm;
@@ -205,5 +205,10 @@ public class PerRowSecondaryIndexTest extends SchemaLoader
         public void truncateBlocking(long truncatedAt)
         {
         }
+
+        @Override
+        public long estimateResultRows() {
+            return 0;
+        }
     }
 }


Mime
View raw message