From c0e1e772f1fc0ab2142f3a4114a2b8cfe60fa7e1 Mon Sep 17 00:00:00 2001 From: Krishnan Mahadevan Date: Tue, 6 Dec 2022 16:06:50 +0530 Subject: [PATCH] Adjust version reference in deprecation msgs. --- .../src/main/java/org/testng/junit/IJUnitTestRunner.java | 2 +- .../src/main/java/org/testng/junit/JUnit3TestClass.java | 2 +- .../src/main/java/org/testng/junit/JUnit3TestMethod.java | 2 +- .../src/main/java/org/testng/junit/JUnit3TestRecognizer.java | 2 +- .../main/java/org/testng/junit/JUnit4ConfigurationMethod.java | 2 +- .../src/main/java/org/testng/junit/JUnit4SpockMethod.java | 2 +- .../src/main/java/org/testng/junit/JUnit4TestClass.java | 2 +- .../src/main/java/org/testng/junit/JUnit4TestMethod.java | 2 +- .../src/main/java/org/testng/junit/JUnit4TestRecognizer.java | 2 +- .../src/main/java/org/testng/junit/JUnit4TestRunner.java | 2 +- .../src/main/java/org/testng/junit/JUnitMethodFinder.java | 4 ++-- .../src/main/java/org/testng/junit/JUnitTestClass.java | 2 +- .../src/main/java/org/testng/junit/JUnitTestFinder.java | 2 +- .../src/main/java/org/testng/junit/JUnitTestMethod.java | 2 +- .../src/main/java/org/testng/junit/JUnitTestRecognizer.java | 2 +- .../src/main/java/org/testng/junit/JUnitTestRunner.java | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/testng-core/src/main/java/org/testng/junit/IJUnitTestRunner.java b/testng-core/src/main/java/org/testng/junit/IJUnitTestRunner.java index 462acfe53..0992166f4 100644 --- a/testng-core/src/main/java/org/testng/junit/IJUnitTestRunner.java +++ b/testng-core/src/main/java/org/testng/junit/IJUnitTestRunner.java @@ -12,7 +12,7 @@ /** * An abstraction interface over JUnit test runners. * - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public interface IJUnitTestRunner { diff --git a/testng-core/src/main/java/org/testng/junit/JUnit3TestClass.java b/testng-core/src/main/java/org/testng/junit/JUnit3TestClass.java index 3c6c8c531..9f8fd3b23 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnit3TestClass.java +++ b/testng-core/src/main/java/org/testng/junit/JUnit3TestClass.java @@ -3,7 +3,7 @@ import junit.framework.Test; /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public class JUnit3TestClass extends JUnitTestClass { diff --git a/testng-core/src/main/java/org/testng/junit/JUnit3TestMethod.java b/testng-core/src/main/java/org/testng/junit/JUnit3TestMethod.java index b234c0699..1359fc29b 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnit3TestMethod.java +++ b/testng-core/src/main/java/org/testng/junit/JUnit3TestMethod.java @@ -7,7 +7,7 @@ import org.testng.internal.Utils; /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public class JUnit3TestMethod extends JUnitTestMethod { diff --git a/testng-core/src/main/java/org/testng/junit/JUnit3TestRecognizer.java b/testng-core/src/main/java/org/testng/junit/JUnit3TestRecognizer.java index 8709b7785..3d49301ea 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnit3TestRecognizer.java +++ b/testng-core/src/main/java/org/testng/junit/JUnit3TestRecognizer.java @@ -5,7 +5,7 @@ import junit.framework.Test; /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public class JUnit3TestRecognizer implements JUnitTestRecognizer { diff --git a/testng-core/src/main/java/org/testng/junit/JUnit4ConfigurationMethod.java b/testng-core/src/main/java/org/testng/junit/JUnit4ConfigurationMethod.java index 73c11d03c..136934869 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnit4ConfigurationMethod.java +++ b/testng-core/src/main/java/org/testng/junit/JUnit4ConfigurationMethod.java @@ -4,7 +4,7 @@ import org.testng.internal.ConstructorOrMethod; /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public class JUnit4ConfigurationMethod extends ConstructorOrMethod { diff --git a/testng-core/src/main/java/org/testng/junit/JUnit4SpockMethod.java b/testng-core/src/main/java/org/testng/junit/JUnit4SpockMethod.java index ffe80d736..74b62adb3 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnit4SpockMethod.java +++ b/testng-core/src/main/java/org/testng/junit/JUnit4SpockMethod.java @@ -4,7 +4,7 @@ import org.junit.runner.Description; import org.testng.internal.ConstructorOrMethod; -/** @deprecated - Support for Spock1.x series is being deprecated as of TestNG 7.6.2 */ +/** @deprecated - Support for Spock1.x series is being deprecated as of TestNG 7.7.0 */ @Deprecated public class JUnit4SpockMethod extends ConstructorOrMethod { diff --git a/testng-core/src/main/java/org/testng/junit/JUnit4TestClass.java b/testng-core/src/main/java/org/testng/junit/JUnit4TestClass.java index cdc4c38fd..d719763ba 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnit4TestClass.java +++ b/testng-core/src/main/java/org/testng/junit/JUnit4TestClass.java @@ -3,7 +3,7 @@ import org.junit.runner.Description; /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public class JUnit4TestClass extends JUnitTestClass { diff --git a/testng-core/src/main/java/org/testng/junit/JUnit4TestMethod.java b/testng-core/src/main/java/org/testng/junit/JUnit4TestMethod.java index 99a7b8cb7..7a7d6d720 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnit4TestMethod.java +++ b/testng-core/src/main/java/org/testng/junit/JUnit4TestMethod.java @@ -8,7 +8,7 @@ import org.testng.log4testng.Logger; /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public class JUnit4TestMethod extends JUnitTestMethod { diff --git a/testng-core/src/main/java/org/testng/junit/JUnit4TestRecognizer.java b/testng-core/src/main/java/org/testng/junit/JUnit4TestRecognizer.java index a60775373..2b238466c 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnit4TestRecognizer.java +++ b/testng-core/src/main/java/org/testng/junit/JUnit4TestRecognizer.java @@ -5,7 +5,7 @@ import org.junit.runner.RunWith; /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public final class JUnit4TestRecognizer implements JUnitTestRecognizer { diff --git a/testng-core/src/main/java/org/testng/junit/JUnit4TestRunner.java b/testng-core/src/main/java/org/testng/junit/JUnit4TestRunner.java index ddcc8a7df..daf84d2f3 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnit4TestRunner.java +++ b/testng-core/src/main/java/org/testng/junit/JUnit4TestRunner.java @@ -19,7 +19,7 @@ /** * A JUnit TestRunner that records/triggers all information/events necessary to TestNG. * - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public class JUnit4TestRunner implements IJUnitTestRunner { diff --git a/testng-core/src/main/java/org/testng/junit/JUnitMethodFinder.java b/testng-core/src/main/java/org/testng/junit/JUnitMethodFinder.java index 9aa51c725..32ef20ffb 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnitMethodFinder.java +++ b/testng-core/src/main/java/org/testng/junit/JUnitMethodFinder.java @@ -18,7 +18,7 @@ * This class locates all test and configuration methods according to JUnit. It is used to change * the strategy used by TestRunner to locate its test methods. * - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public class JUnitMethodFinder implements ITestMethodFinder { @@ -121,7 +121,7 @@ public ITestNGMethod[] getAfterGroupsConfigurationMethods(Class testClass) { } } /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated interface INameFilter { diff --git a/testng-core/src/main/java/org/testng/junit/JUnitTestClass.java b/testng-core/src/main/java/org/testng/junit/JUnitTestClass.java index 2db4f7587..38918ae1b 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnitTestClass.java +++ b/testng-core/src/main/java/org/testng/junit/JUnitTestClass.java @@ -9,7 +9,7 @@ // NO JUnit specific code here to avoid runtime errors /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public abstract class JUnitTestClass implements ITestClass { diff --git a/testng-core/src/main/java/org/testng/junit/JUnitTestFinder.java b/testng-core/src/main/java/org/testng/junit/JUnitTestFinder.java index d1f20a22c..4e195a3a4 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnitTestFinder.java +++ b/testng-core/src/main/java/org/testng/junit/JUnitTestFinder.java @@ -5,7 +5,7 @@ import org.testng.internal.objects.InstanceCreator; /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public final class JUnitTestFinder { diff --git a/testng-core/src/main/java/org/testng/junit/JUnitTestMethod.java b/testng-core/src/main/java/org/testng/junit/JUnitTestMethod.java index 133a3fe89..d4286fa9e 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnitTestMethod.java +++ b/testng-core/src/main/java/org/testng/junit/JUnitTestMethod.java @@ -7,7 +7,7 @@ // NO JUnit specific code here to avoid runtime errors /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public abstract class JUnitTestMethod extends BaseTestMethod { diff --git a/testng-core/src/main/java/org/testng/junit/JUnitTestRecognizer.java b/testng-core/src/main/java/org/testng/junit/JUnitTestRecognizer.java index 54ee642be..486a0e1f7 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnitTestRecognizer.java +++ b/testng-core/src/main/java/org/testng/junit/JUnitTestRecognizer.java @@ -1,7 +1,7 @@ package org.testng.junit; /** - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated interface JUnitTestRecognizer { diff --git a/testng-core/src/main/java/org/testng/junit/JUnitTestRunner.java b/testng-core/src/main/java/org/testng/junit/JUnitTestRunner.java index 3f4581ab6..ca8264e62 100644 --- a/testng-core/src/main/java/org/testng/junit/JUnitTestRunner.java +++ b/testng-core/src/main/java/org/testng/junit/JUnitTestRunner.java @@ -23,7 +23,7 @@ /** * A JUnit TestRunner that records/triggers all information/events necessary to TestNG. * - * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.6.2 + * @deprecated - Support for running JUnit tests stands deprecated as of TestNG 7.7.0 */ @Deprecated public class JUnitTestRunner implements TestListener, IJUnitTestRunner {