Skip to content

Commit 5eac7fa

Browse files
committed
Restore deprecated API that was erroneously deleted.
Closes #7.10.1
1 parent 0ab2ade commit 5eac7fa

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGES.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Current (7.11.0)
22

3+
7.10.1
4+
Fixed: GITHUB-3110: Update from testng 7.9.0 to 7.10.0 break maven build with junit5 (Krishnan Mahadevan)
5+
36
7.10.0
47
Fixed: GITHUB-3000: Method predecessors lookup and/or method sorting is broken in certain inheritance and naming setups (Krishnan Mahadevan)
58
Fixed: GITHUB-3095: Super class annotated with ITestNGListenerFactory makes derived test class throw TestNGException on execution (Krishnan Mahadevan)

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kotlin.code.style=official
44
# Note: testng.kotlin-library.gradle.kts adds kotlin-stdlib for testImplementation
55
kotlin.stdlib.default.dependency=false
66

7-
testng.version=7.11.0
7+
testng.version=7.10.1
88

99
group=org.testng
1010

testng-core-api/src/main/java/org/testng/IClass.java

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ default Object[] getInstances(boolean create, String errorMsgPrefix) {
4747
return getInstances(create);
4848
}
4949

50+
/** @deprecated - As of TestNG <code>v7.10.0</code> */
51+
@Deprecated
52+
long[] getInstanceHashCodes();
53+
5054
/**
5155
* @param instance - The instance to be added.
5256
* @deprecated - As of TestNG <code>v7.10.0</code>

0 commit comments

Comments
 (0)