How do you run the TestNG tests that are in the JDK code?

Pavel Rappo pavel.rappo at oracle.com
Tue Jun 11 13:01:52 UTC 2019


> On 11 Jun 2019, at 13:48, Jaikiran Pai <jai.forums2013 at gmail.com> wrote:
> 
> test/jdk/java/net/httpclient/whitebox/java.net.http/jdk/internal/net/http/.

Those are the tests that are not run directly by JTREG, but rather using a JTREG
wrapper. Consider

  test/jdk/java/net/httpclient/whitebox/java.net.http/jdk/internal/net/http/DefaultProxy.java

The wrapper for this test would be

  test/jdk/java/net/httpclient/whitebox/DefaultProxyDriver.java

That wrapper is the actual test you should pass to JTREG.
Hope that helps.

-Pavel



More information about the jdk-dev mailing list