RFR: 8334562: Automate com/sun/security/auth/callback/TextCallbackHandler/Default.java test

Fernando Guallini fguallini at openjdk.org
Wed Jun 19 15:46:33 UTC 2024


The following test: **com/sun/security/auth/callback/TextCallbackHandler/Default.java** is currently marked to be run manually because user inputs are required in the console, but instead it can be automated by providing a custom inputStream to System.in in the actual test to simulate sequential user input.

In addition, this patch is removing the test from the problemList as it passes, and from manual test list.

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

Commit messages:
 - test TextCallbackHandler/Default.java is automated

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

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



More information about the security-dev mailing list