You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2014/05/14 17:11:48 UTC
[4/6] git commit: Removed junit dep
Removed junit dep
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/43cfb8f3
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/43cfb8f3
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/43cfb8f3
Branch: refs/heads/master
Commit: 43cfb8f3f8b1d271538ac0989d689eba78cdecb7
Parents: c6d5f21
Author: randgalt <ra...@apache.org>
Authored: Wed Apr 2 21:24:06 2014 -0500
Committer: randgalt <ra...@apache.org>
Committed: Wed Apr 2 21:24:06 2014 -0500
----------------------------------------------------------------------
.../org/apache/curator/framework/recipes/locks/TestReaper.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/43cfb8f3/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestReaper.java
----------------------------------------------------------------------
diff --git a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestReaper.java b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestReaper.java
index 39c4817..48868d5 100644
--- a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestReaper.java
+++ b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestReaper.java
@@ -19,7 +19,6 @@
package org.apache.curator.framework.recipes.locks;
-import junit.framework.Assert;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.framework.recipes.BaseClassForTests;
@@ -31,6 +30,7 @@ import org.apache.curator.test.Timing;
import org.apache.curator.utils.CloseableUtils;
import org.apache.zookeeper.CreateMode;
import org.apache.zookeeper.data.Stat;
+import org.testng.Assert;
import org.testng.annotations.Test;
import java.io.IOException;
import java.util.Queue;
@@ -476,7 +476,7 @@ public class TestReaper extends BaseClassForTests
timing.sleepABit();
Stat stat = client.checkExists().forPath("/a/b");
- Assert.assertNull("Child qty: " + ((stat != null) ? stat.getNumChildren() : 0), stat);
+ Assert.assertNull(stat, "Child qty: " + ((stat != null) ? stat.getNumChildren() : 0));
}
finally
{