From ad78be715e90ed04b257aaaca86aadd6defd04be Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 20 Nov 2018 17:59:33 +0100 Subject: [PATCH] Update @since and @API values for 1.3.2/5.3.2 Issue: #1652 --- .../ParameterizedTestIntegrationTests.java | 22 +++++++++---------- .../MethodArgumentsProviderTests.java | 6 ++--- .../commons/util/ReflectionUtils.java | 4 ++-- .../tasks/VerboseTreeListenerTests.java | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/junit-jupiter-params/src/test/java/org/junit/jupiter/params/ParameterizedTestIntegrationTests.java b/junit-jupiter-params/src/test/java/org/junit/jupiter/params/ParameterizedTestIntegrationTests.java index a219e6f7088e..732196e73355 100644 --- a/junit-jupiter-params/src/test/java/org/junit/jupiter/params/ParameterizedTestIntegrationTests.java +++ b/junit-jupiter-params/src/test/java/org/junit/jupiter/params/ParameterizedTestIntegrationTests.java @@ -177,7 +177,7 @@ void emptyMethodSource() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void oneDimensionalPrimitiveArray() { @@ -188,7 +188,7 @@ void oneDimensionalPrimitiveArray() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void twoDimensionalPrimitiveArray() { @@ -199,7 +199,7 @@ void twoDimensionalPrimitiveArray() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void oneDimensionalObjectArray() { @@ -211,7 +211,7 @@ void oneDimensionalObjectArray() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void oneDimensionalStringArray() { @@ -230,7 +230,7 @@ void twoDimensionalObjectArray() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void twoDimensionalStringArray() { @@ -241,7 +241,7 @@ void twoDimensionalStringArray() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void streamOfOneDimensionalPrimitiveArrays() { @@ -252,7 +252,7 @@ void streamOfOneDimensionalPrimitiveArrays() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void streamOfTwoDimensionalPrimitiveArrays() { @@ -260,7 +260,7 @@ void streamOfTwoDimensionalPrimitiveArrays() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void streamOfTwoDimensionalPrimitiveArraysWrappedInObjectArrays() { @@ -268,7 +268,7 @@ void streamOfTwoDimensionalPrimitiveArraysWrappedInObjectArrays() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void streamOfTwoDimensionalPrimitiveArraysWrappedInArguments() { @@ -283,7 +283,7 @@ private void assertStreamOfTwoDimensionalPrimitiveArrays(String methodName) { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void streamOfOneDimensionalObjectArrays() { @@ -295,7 +295,7 @@ void streamOfOneDimensionalObjectArrays() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void streamOfTwoDimensionalObjectArrays() { diff --git a/junit-jupiter-params/src/test/java/org/junit/jupiter/params/provider/MethodArgumentsProviderTests.java b/junit-jupiter-params/src/test/java/org/junit/jupiter/params/provider/MethodArgumentsProviderTests.java index 5dda29a0a1f6..74b0c830463b 100644 --- a/junit-jupiter-params/src/test/java/org/junit/jupiter/params/provider/MethodArgumentsProviderTests.java +++ b/junit-jupiter-params/src/test/java/org/junit/jupiter/params/provider/MethodArgumentsProviderTests.java @@ -77,7 +77,7 @@ void providesArgumentsUsingIntStream() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void providesArgumentsUsingStreamOfIntArrays() { @@ -90,7 +90,7 @@ void providesArgumentsUsingStreamOfIntArrays() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void providesArgumentsUsingStreamOfTwoDimensionalIntArrays() { @@ -110,7 +110,7 @@ void providesArgumentsUsingStreamOfObjectArrays() { } /** - * @since 5.4 + * @since 5.3.2 */ @Test void providesArgumentsUsingStreamOfTwoDimensionalObjectArrays() { diff --git a/junit-platform-commons/src/main/java/org/junit/platform/commons/util/ReflectionUtils.java b/junit-platform-commons/src/main/java/org/junit/platform/commons/util/ReflectionUtils.java index aebf1e464845..e2294e0b817e 100644 --- a/junit-platform-commons/src/main/java/org/junit/platform/commons/util/ReflectionUtils.java +++ b/junit-platform-commons/src/main/java/org/junit/platform/commons/util/ReflectionUtils.java @@ -287,9 +287,9 @@ public static boolean isArray(Object obj) { * * @param obj the object to test; potentially {@code null} * @return {@code true} if the object is a multidimensional array - * @since 1.4 + * @since 1.3.2 */ - @API(status = INTERNAL, since = "1.4") + @API(status = INTERNAL, since = "1.3.2") public static boolean isMultidimensionalArray(Object obj) { return (obj != null && obj.getClass().isArray() && obj.getClass().getComponentType().isArray()); } diff --git a/platform-tests/src/test/java/org/junit/platform/console/tasks/VerboseTreeListenerTests.java b/platform-tests/src/test/java/org/junit/platform/console/tasks/VerboseTreeListenerTests.java index 62c646eb14a8..05f83994b52b 100644 --- a/platform-tests/src/test/java/org/junit/platform/console/tasks/VerboseTreeListenerTests.java +++ b/platform-tests/src/test/java/org/junit/platform/console/tasks/VerboseTreeListenerTests.java @@ -25,7 +25,7 @@ import org.junit.platform.launcher.TestIdentifier; /** - * @since 1.4 + * @since 1.3.2 */ class VerboseTreeListenerTests {