Please review this change to use JUnit API in `MethodTemplateTest.java`. As 
only simple `assertTrue` and `assertFalse` are being called in test code, a 
swap of packages in `import` statements suffices.

This pull request also disallows `testng` actions in `jtreg` under this test 
root to prevent future additions of TestNG-based tests. See the umbrella issue 
https://bugs.openjdk.org/browse/JDK-8307843 and its associated subtasks for 
details.

-------------

Commit messages:
 - 8379326: Use JUnit in lib-test/jdk tests, here MethodTemplateTest

Changes: https://git.openjdk.org/jdk/pull/30087/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30087&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8379326
  Stats: 7 lines in 2 files changed: 3 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/30087.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30087/head:pull/30087

PR: https://git.openjdk.org/jdk/pull/30087

Reply via email to