From 62ef6cd11052c76eba29feb8a1873c46738e25d1 Mon Sep 17 00:00:00 2001 From: Liang Zhang Date: Sun, 15 Dec 2024 12:03:37 +0800 Subject: [PATCH] Move package of MetaDataChangedEventBuilderTest (#34066) --- .../builder/MetaDataChangedEventBuilderTest.java | 3 +-- .../builder/RuleConfigurationChangedEventBuilderTest.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) rename mode/core/src/test/java/org/apache/shardingsphere/mode/event/{ => dispatch}/builder/MetaDataChangedEventBuilderTest.java (98%) rename mode/core/src/test/java/org/apache/shardingsphere/mode/event/{ => dispatch}/builder/RuleConfigurationChangedEventBuilderTest.java (97%) diff --git a/mode/core/src/test/java/org/apache/shardingsphere/mode/event/builder/MetaDataChangedEventBuilderTest.java b/mode/core/src/test/java/org/apache/shardingsphere/mode/event/dispatch/builder/MetaDataChangedEventBuilderTest.java similarity index 98% rename from mode/core/src/test/java/org/apache/shardingsphere/mode/event/builder/MetaDataChangedEventBuilderTest.java rename to mode/core/src/test/java/org/apache/shardingsphere/mode/event/dispatch/builder/MetaDataChangedEventBuilderTest.java index 1ebcafb3c2fb3..c1dbeaabd23b1 100644 --- a/mode/core/src/test/java/org/apache/shardingsphere/mode/event/builder/MetaDataChangedEventBuilderTest.java +++ b/mode/core/src/test/java/org/apache/shardingsphere/mode/event/dispatch/builder/MetaDataChangedEventBuilderTest.java @@ -15,12 +15,11 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.event.builder; +package org.apache.shardingsphere.mode.event.dispatch.builder; import org.apache.shardingsphere.mode.event.DataChangedEvent; import org.apache.shardingsphere.mode.event.DataChangedEvent.Type; import org.apache.shardingsphere.mode.event.dispatch.DispatchEvent; -import org.apache.shardingsphere.mode.event.dispatch.builder.MetaDataChangedEventBuilder; import org.apache.shardingsphere.mode.event.dispatch.datasource.node.StorageNodeAlteredEvent; import org.apache.shardingsphere.mode.event.dispatch.datasource.node.StorageNodeRegisteredEvent; import org.apache.shardingsphere.mode.event.dispatch.datasource.node.StorageNodeUnregisteredEvent; diff --git a/mode/core/src/test/java/org/apache/shardingsphere/mode/event/builder/RuleConfigurationChangedEventBuilderTest.java b/mode/core/src/test/java/org/apache/shardingsphere/mode/event/dispatch/builder/RuleConfigurationChangedEventBuilderTest.java similarity index 97% rename from mode/core/src/test/java/org/apache/shardingsphere/mode/event/builder/RuleConfigurationChangedEventBuilderTest.java rename to mode/core/src/test/java/org/apache/shardingsphere/mode/event/dispatch/builder/RuleConfigurationChangedEventBuilderTest.java index b5a5035d1a7a6..bd4de594750d2 100644 --- a/mode/core/src/test/java/org/apache/shardingsphere/mode/event/builder/RuleConfigurationChangedEventBuilderTest.java +++ b/mode/core/src/test/java/org/apache/shardingsphere/mode/event/dispatch/builder/RuleConfigurationChangedEventBuilderTest.java @@ -15,13 +15,12 @@ * limitations under the License. */ -package org.apache.shardingsphere.mode.event.builder; +package org.apache.shardingsphere.mode.event.dispatch.builder; import org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader; import org.apache.shardingsphere.mode.event.DataChangedEvent; import org.apache.shardingsphere.mode.event.DataChangedEvent.Type; import org.apache.shardingsphere.mode.event.dispatch.DispatchEvent; -import org.apache.shardingsphere.mode.event.dispatch.builder.RuleConfigurationChangedEventBuilder; import org.apache.shardingsphere.mode.event.dispatch.rule.alter.AlterNamedRuleItemEvent; import org.apache.shardingsphere.mode.event.dispatch.rule.alter.AlterUniqueRuleItemEvent; import org.apache.shardingsphere.mode.event.dispatch.rule.drop.DropNamedRuleItemEvent;