You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2023/04/07 11:54:41 UTC

[shardingsphere] branch master updated: Move package of MethodTimeRecorderTest (#25060)

This is an automated email from the ASF dual-hosted git repository.

zhonghongsheng 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 ce273c1f019 Move package of MethodTimeRecorderTest (#25060)
ce273c1f019 is described below

commit ce273c1f01912f2657298fec84ab6bfd3e725652
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Fri Apr 7 19:54:33 2023 +0800

    Move package of MethodTimeRecorderTest (#25060)
---
 agent/api/pom.xml                                  | 23 ----------------------
 .../{util => recorder}/MethodTimeRecorderTest.java |  3 +--
 2 files changed, 1 insertion(+), 25 deletions(-)

diff --git a/agent/api/pom.xml b/agent/api/pom.xml
index 40c76069baf..7f0440a6c58 100644
--- a/agent/api/pom.xml
+++ b/agent/api/pom.xml
@@ -26,27 +26,4 @@
     </parent>
     <artifactId>shardingsphere-agent-api</artifactId>
     <name>${project.artifactId}</name>
-    
-    <dependencies>
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>jcl-over-slf4j</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>jul-to-slf4j</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
 </project>
diff --git a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/MethodTimeRecorderTest.java b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/recorder/MethodTimeRecorderTest.java
similarity index 92%
rename from agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/MethodTimeRecorderTest.java
rename to agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/recorder/MethodTimeRecorderTest.java
index df99bd65677..eb4e63b4ca2 100644
--- a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/MethodTimeRecorderTest.java
+++ b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/recorder/MethodTimeRecorderTest.java
@@ -15,10 +15,9 @@
  * limitations under the License.
  */
 
-package org.apache.shardingsphere.agent.plugin.core.util;
+package org.apache.shardingsphere.agent.plugin.core.recorder;
 
 import org.apache.shardingsphere.agent.api.advice.AgentAdvice;
-import org.apache.shardingsphere.agent.plugin.core.recorder.MethodTimeRecorder;
 import org.junit.jupiter.api.Test;
 
 import static org.hamcrest.CoreMatchers.is;