accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [1/2] git commit: ACCUMULO-1000 use Assert.fail() vs Assert.assertTrue(false), delete test folder
Date Thu, 25 Jul 2013 20:38:42 GMT
Updated Branches:
  refs/heads/master 6677a162c -> 260b43188


ACCUMULO-1000 use Assert.fail() vs Assert.assertTrue(false), delete test folder


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

Branch: refs/heads/master
Commit: ffaba0888389b418dd63901f6336ef2f2236ee79
Parents: 6677a16
Author: Eric Newton <ecn@apache.org>
Authored: Thu Jul 25 10:59:38 2013 -0400
Committer: Eric Newton <ecn@apache.org>
Committed: Thu Jul 25 10:59:38 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/test/ConditionalWriterTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/ffaba088/test/src/test/java/org/apache/accumulo/test/ConditionalWriterTest.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/ConditionalWriterTest.java b/test/src/test/java/org/apache/accumulo/test/ConditionalWriterTest.java
index a42a08b..f5340cc 100644
--- a/test/src/test/java/org/apache/accumulo/test/ConditionalWriterTest.java
+++ b/test/src/test/java/org/apache/accumulo/test/ConditionalWriterTest.java
@@ -356,7 +356,7 @@ public class ConditionalWriterTest {
 
     try {
       cw2.write(cm8).getStatus();
-      Assert.assertTrue(false);
+      Assert.fail();
     } catch (AccumuloSecurityException ase) {}
     
 
@@ -1108,7 +1108,7 @@ public class ConditionalWriterTest {
       else if (cf.equals("data") && cq.equals("x"))
         Assert.assertEquals("a", val);
       else
-        Assert.assertTrue(false);
+        Assert.fail();
     }
     
     ConditionalMutation cm3 = new ConditionalMutation("r1", new Condition("tx", "seq").setValue("1"));
@@ -1231,6 +1231,6 @@ public class ConditionalWriterTest {
   @AfterClass
   public static void tearDownAfterClass() throws Exception {
     cluster.stop();
-    // folder.delete();
+    folder.delete();
   }
 }


Mime
View raw message