Skip to content

Commit

Permalink
Restore deprecated API that was erroneously deleted.
Browse files Browse the repository at this point in the history
Closes #7.10.1
  • Loading branch information
krmahadevan committed Apr 9, 2024
1 parent 0ab2ade commit 5eac7fa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Current (7.11.0)

7.10.1
Fixed: GITHUB-3110: Update from testng 7.9.0 to 7.10.0 break maven build with junit5 (Krishnan Mahadevan)

7.10.0
Fixed: GITHUB-3000: Method predecessors lookup and/or method sorting is broken in certain inheritance and naming setups (Krishnan Mahadevan)
Fixed: GITHUB-3095: Super class annotated with ITestNGListenerFactory makes derived test class throw TestNGException on execution (Krishnan Mahadevan)
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kotlin.code.style=official
# Note: testng.kotlin-library.gradle.kts adds kotlin-stdlib for testImplementation
kotlin.stdlib.default.dependency=false

testng.version=7.11.0
testng.version=7.10.1

group=org.testng

Expand Down
4 changes: 4 additions & 0 deletions testng-core-api/src/main/java/org/testng/IClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ default Object[] getInstances(boolean create, String errorMsgPrefix) {
return getInstances(create);
}

/** @deprecated - As of TestNG <code>v7.10.0</code> */
@Deprecated
long[] getInstanceHashCodes();

/**
* @param instance - The instance to be added.
* @deprecated - As of TestNG <code>v7.10.0</code>
Expand Down

0 comments on commit 5eac7fa

Please sign in to comment.