On Thu, 18 Dec 2025 23:01:07 GMT, Justin Lu <[email protected]> wrote:

> Please review this PR which migrates the java.time tests from TestNG to 
> JUnit. The java.time tests use TestNG based on the directory level settings 
> configured by TEST.properties, so they are best migrated altogether. This is 
> a large PR, so I have tried to make the changes clear by commit.
> 
> First, the auto conversion tool is run in 
> https://github.com/openjdk/jdk/commit/b1fd7dbdec85aac5a44cc875e57a36be8f1b6974.
> https://github.com/openjdk/jdk/commit/3805cfd8765c0c76b61893dcf1670951402f98c3
>  and 
> https://github.com/openjdk/jdk/commit/b697ca5d9a8067bcecea2dfb32f92f7699085dee
>  are required so that the tests can actually compile and run.
> https://github.com/openjdk/jdk/commit/d07c912c4c16d2b3307e489563f148f71cfdf4a4
>  addresses the timeout annotation which was not covered by the auto 
> conversion tool.
> The rest of the commits are aesthetic related.
> 
> Before conversion stats
> 
> 
> Test results: passed: 187
> Framework-based tests: 32,339 = 32,339 TestNG + 0 JUnit
> 
> 
> After conversion stats
> 
> 
> Test results: passed: 187
> Framework-based tests: 32,339 = 0 TestNG + 32,339 JUnit

This pull request has now been integrated.

Changeset: 53300b4a
Author:    Justin Lu <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/53300b4ac12240ea08227386412bfb90650c0aee
Stats:     13724 lines in 186 files changed: 2264 ins; 691 del; 10769 mod

8373830: Refactor test/jdk/java/time/test tests to use JUnit over TestNG
8373829: Refactor test/jdk/java/time/tck tests to use JUnit over TestNG

Reviewed-by: naoto

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

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

Reply via email to