This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 8af634d45cd Move package of AgentPreconditionsTest (#33387)
8af634d45cd is described below
commit 8af634d45cd5a1a96b8c0e8708ec98e440aff7ba
Author: Liang Zhang <[email protected]>
AuthorDate: Thu Oct 24 16:35:56 2024 +0800
Move package of AgentPreconditionsTest (#33387)
---
.../{ => agent/core}/preconditions/AgentPreconditionsTest.java | 3 +--
.../shardingsphere/{ => agent/core}/yaml/AgentYamlEngineTest.java | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git
a/agent/core/src/test/java/org/apache/shardingsphere/preconditions/AgentPreconditionsTest.java
b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/preconditions/AgentPreconditionsTest.java
similarity index 93%
rename from
agent/core/src/test/java/org/apache/shardingsphere/preconditions/AgentPreconditionsTest.java
rename to
agent/core/src/test/java/org/apache/shardingsphere/agent/core/preconditions/AgentPreconditionsTest.java
index b1b665e6e5a..0d8f79e34c5 100644
---
a/agent/core/src/test/java/org/apache/shardingsphere/preconditions/AgentPreconditionsTest.java
+++
b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/preconditions/AgentPreconditionsTest.java
@@ -15,9 +15,8 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.preconditions;
+package org.apache.shardingsphere.agent.core.preconditions;
-import org.apache.shardingsphere.agent.core.preconditions.AgentPreconditions;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
diff --git
a/agent/core/src/test/java/org/apache/shardingsphere/yaml/AgentYamlEngineTest.java
b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlEngineTest.java
similarity index 98%
rename from
agent/core/src/test/java/org/apache/shardingsphere/yaml/AgentYamlEngineTest.java
rename to
agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlEngineTest.java
index 42e911fc420..77834f2e284 100644
---
a/agent/core/src/test/java/org/apache/shardingsphere/yaml/AgentYamlEngineTest.java
+++
b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlEngineTest.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.yaml;
+package org.apache.shardingsphere.agent.core.yaml;
import org.apache.shardingsphere.agent.api.PluginConfiguration;
import
org.apache.shardingsphere.agent.core.advisor.config.yaml.entity.YamlAdvisorConfiguration;
@@ -26,7 +26,6 @@ import
org.apache.shardingsphere.agent.core.advisor.config.yaml.fixture.YamlAdvi
import
org.apache.shardingsphere.agent.core.advisor.config.yaml.fixture.YamlTargetObjectFixture;
import
org.apache.shardingsphere.agent.core.plugin.config.yaml.entity.YamlAgentConfiguration;
import
org.apache.shardingsphere.agent.core.plugin.config.yaml.swapper.YamlPluginsConfigurationSwapper;
-import org.apache.shardingsphere.agent.core.yaml.AgentYamlEngine;
import org.junit.jupiter.api.Test;
import java.io.File;