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

Fernando Guallini fguallini at openjdk.org
Thu Jun 27 15:37:45 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.

Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:

  move HumanInputStream to test library for reusability

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19790/files
  - new: https://git.openjdk.org/jdk/pull/19790/files/648e556a..d9dbdfa3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19790&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19790&range=00-01

  Stats: 382 lines in 3 files changed: 194 ins; 181 del; 7 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