diff --git a/build.gradle b/build.gradle index 242143794e471..52a53a703a548 100644 --- a/build.gradle +++ b/build.gradle @@ -2158,6 +2158,7 @@ project(':server-common') { testImplementation libs.hamcrest testRuntimeOnly runtimeTestLibs + testRuntimeOnly project(":test-common") } task createVersionFile() { @@ -2509,6 +2510,7 @@ project(':tools') { testImplementation libs.apachedsLdifPartition testRuntimeOnly libs.junitPlatformLanucher + testRuntimeOnly project(':test-common') } javadoc { diff --git a/server-common/src/test/resources/junit-platform.properties b/server-common/src/test/resources/junit-platform.properties deleted file mode 100644 index 05069923a7f21..0000000000000 --- a/server-common/src/test/resources/junit-platform.properties +++ /dev/null @@ -1,15 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -junit.jupiter.params.displayname.default = "{displayName}.{argumentsWithNames}" diff --git a/core/src/test/resources/junit-platform.properties b/test-common/src/test/resources/junit-platform.properties similarity index 100% rename from core/src/test/resources/junit-platform.properties rename to test-common/src/test/resources/junit-platform.properties diff --git a/tools/src/test/resources/junit-platform.properties b/tools/src/test/resources/junit-platform.properties deleted file mode 100644 index 05069923a7f21..0000000000000 --- a/tools/src/test/resources/junit-platform.properties +++ /dev/null @@ -1,15 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -junit.jupiter.params.displayname.default = "{displayName}.{argumentsWithNames}"