From 08df4761392f1e37e54f4dd1d7f29f66d1832916 Mon Sep 17 00:00:00 2001 From: Jim Marino Date: Sat, 23 Mar 2024 15:37:55 +0100 Subject: [PATCH] feat: Remove Junit dependency and move test to proper module (#4040) Remove Junit dependency; move test --- .../java/org/eclipse/edc/util/reflection}/PathItemTest.java | 3 +-- spi/common/core-spi/build.gradle.kts | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) rename {spi/common/core-spi/src/test/java/org/eclipse/edc/spi/types => core/common/util/src/test/java/org/eclipse/edc/util/reflection}/PathItemTest.java (94%) diff --git a/spi/common/core-spi/src/test/java/org/eclipse/edc/spi/types/PathItemTest.java b/core/common/util/src/test/java/org/eclipse/edc/util/reflection/PathItemTest.java similarity index 94% rename from spi/common/core-spi/src/test/java/org/eclipse/edc/spi/types/PathItemTest.java rename to core/common/util/src/test/java/org/eclipse/edc/util/reflection/PathItemTest.java index 754dda58687..2844aa49310 100644 --- a/spi/common/core-spi/src/test/java/org/eclipse/edc/spi/types/PathItemTest.java +++ b/core/common/util/src/test/java/org/eclipse/edc/util/reflection/PathItemTest.java @@ -12,9 +12,8 @@ * */ -package org.eclipse.edc.spi.types; +package org.eclipse.edc.util.reflection; -import org.eclipse.edc.util.reflection.PathItem; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; diff --git a/spi/common/core-spi/build.gradle.kts b/spi/common/core-spi/build.gradle.kts index c306a16b659..79443f23bd8 100644 --- a/spi/common/core-spi/build.gradle.kts +++ b/spi/common/core-spi/build.gradle.kts @@ -28,8 +28,6 @@ dependencies { testImplementation(project(":core:common:junit")) - // needed by the abstract test spec located in testFixtures - testFixturesImplementation(project(":core:common:junit")) testFixturesImplementation(libs.bundles.jupiter) testFixturesImplementation(libs.mockito.core) testFixturesImplementation(libs.assertj)