You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by zz...@apache.org on 2013/02/02 00:35:59 UTC
git commit: add missing file
Updated Branches:
refs/heads/master 058399a98 -> 4f1214ad3
add missing file
Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/4f1214ad
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/4f1214ad
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/4f1214ad
Branch: refs/heads/master
Commit: 4f1214ad31d6b6041e859b77244e888b802c2f8a
Parents: 058399a
Author: zzhang <zz...@uci.edu>
Authored: Fri Feb 1 15:35:50 2013 -0800
Committer: zzhang <zz...@uci.edu>
Committed: Fri Feb 1 15:35:50 2013 -0800
----------------------------------------------------------------------
.../java/org/apache/helix/ZkHelixTestManager.java | 25 +++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/4f1214ad/helix-core/src/test/java/org/apache/helix/ZkHelixTestManager.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/ZkHelixTestManager.java b/helix-core/src/test/java/org/apache/helix/ZkHelixTestManager.java
new file mode 100644
index 0000000..bf7d351
--- /dev/null
+++ b/helix-core/src/test/java/org/apache/helix/ZkHelixTestManager.java
@@ -0,0 +1,25 @@
+package org.apache.helix;
+
+import java.util.List;
+
+import org.apache.helix.manager.zk.CallbackHandler;
+import org.apache.helix.manager.zk.ZKHelixManager;
+import org.apache.helix.manager.zk.ZkClient;
+
+// ZkHelixManager used for test only. expose more class members
+public class ZkHelixTestManager extends ZKHelixManager {
+
+ public ZkHelixTestManager(String clusterName, String instanceName, InstanceType instanceType,
+ String zkConnectString) throws Exception {
+ super(clusterName, instanceName, instanceType, zkConnectString);
+ // TODO Auto-generated constructor stub
+ }
+
+ public ZkClient getZkClient() {
+ return _zkClient;
+ }
+
+ public List<CallbackHandler> getHandlers() {
+ return _handlers;
+ }
+}