提交 037ecb3f 编写于 作者: T tristaZero

move tests

上级 4688a312
......@@ -15,7 +15,7 @@
* </p>
*/
package io.shardingsphere.jdbc.orchestration.yaml.fixture;
package io.shardingsphere.jdbc.orchestration.api.yaml.fixture;
import io.shardingsphere.core.api.algorithm.sharding.PreciseShardingValue;
import io.shardingsphere.core.api.algorithm.sharding.standard.PreciseShardingAlgorithm;
......
......@@ -15,16 +15,16 @@
* </p>
*/
package io.shardingsphere.jdbc.orchestration.reg.newzk.client.cache;
package io.shardingsphere.orchestration.reg.newzk.client.cache;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.action.IClient;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.utility.ZookeeperConstants;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper.ClientFactory;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper.base.BaseTest;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper.base.TestSupport;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper.section.ZookeeperEventListener;
import io.shardingsphere.jdbc.orchestration.util.EmbedTestingServer;
import java.io.IOException;
import io.shardingsphere.orchestration.reg.newzk.client.action.IClient;
import io.shardingsphere.orchestration.reg.newzk.client.util.EmbedTestingServer;
import io.shardingsphere.orchestration.reg.newzk.client.utility.ZookeeperConstants;
import io.shardingsphere.orchestration.reg.newzk.client.zookeeper.ClientFactory;
import io.shardingsphere.orchestration.reg.newzk.client.zookeeper.base.BaseTest;
import io.shardingsphere.orchestration.reg.newzk.client.zookeeper.base.TestSupport;
import io.shardingsphere.orchestration.reg.newzk.client.zookeeper.section.ZookeeperEventListener;
import lombok.extern.slf4j.Slf4j;
import org.apache.zookeeper.CreateMode;
import org.apache.zookeeper.KeeperException;
......@@ -34,6 +34,8 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import static org.hamcrest.CoreMatchers.hasItems;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertNull;
......
......@@ -15,10 +15,10 @@
* </p>
*/
package io.shardingsphere.jdbc.orchestration.reg.newzk.client.retry;
package io.shardingsphere.orchestration.reg.newzk.client.retry;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.action.IProvider;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper.provider.BaseProvider;
import io.shardingsphere.orchestration.reg.newzk.client.action.IProvider;
import io.shardingsphere.orchestration.reg.newzk.client.zookeeper.provider.BaseProvider;
import org.apache.zookeeper.KeeperException;
public abstract class TestCallable extends RetryCallable {
......
......@@ -15,17 +15,17 @@
* </p>
*/
package io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper;
package io.shardingsphere.orchestration.reg.newzk.client.zookeeper;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.action.IClient;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.action.IProvider;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.retry.DelayRetryPolicy;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.retry.TestCallable;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.retry.TestResultCallable;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.utility.PathUtil;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper.base.TestSupport;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper.section.StrategyType;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper.strategy.UsualStrategy;
import io.shardingsphere.orchestration.reg.newzk.client.action.IClient;
import io.shardingsphere.orchestration.reg.newzk.client.action.IProvider;
import io.shardingsphere.orchestration.reg.newzk.client.retry.DelayRetryPolicy;
import io.shardingsphere.orchestration.reg.newzk.client.retry.TestCallable;
import io.shardingsphere.orchestration.reg.newzk.client.retry.TestResultCallable;
import io.shardingsphere.orchestration.reg.newzk.client.utility.PathUtil;
import io.shardingsphere.orchestration.reg.newzk.client.zookeeper.base.TestSupport;
import io.shardingsphere.orchestration.reg.newzk.client.zookeeper.section.StrategyType;
import io.shardingsphere.orchestration.reg.newzk.client.zookeeper.strategy.UsualStrategy;
import lombok.extern.slf4j.Slf4j;
import org.apache.zookeeper.CreateMode;
import org.apache.zookeeper.KeeperException;
......
......@@ -15,11 +15,10 @@
* </p>
*/
package io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper.base;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.action.IClient;
import io.shardingsphere.jdbc.orchestration.reg.newzk.client.zookeeper.section.ClientContext;
import io.shardingsphere.jdbc.orchestration.util.EmbedTestingServer;
package io.shardingsphere.orchestration.reg.newzk.client.zookeeper.base;
import io.shardingsphere.orchestration.reg.newzk.client.zookeeper.section.ClientContext;
import io.shardingsphere.orchestration.reg.newzk.client.action.IClient;
import io.shardingsphere.orchestration.reg.newzk.client.util.EmbedTestingServer;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
......
......@@ -19,7 +19,7 @@
<dependencies>
<dependency>
<groupId>io.shardingsphere</groupId>
<artifactId>sharding-jdbc-orchestration</artifactId>
<artifactId>sharding-orchestration-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册