RFR: 8270609: [TESTBUG] java/awt/print/Dialog/DialogCopies.java does not show instruction [v3]

lawrence.andrews github.com+87324768+lawrence-andrew at openjdk.java.net
Fri Sep 17 18:59:23 UTC 2021


On Fri, 17 Sep 2021 18:01:06 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> lawrence.andrews has updated the pull request incrementally with three additional commits since the last revision:
>> 
>>  - removed unwanted textarea.setText
>>  - minor change
>>  - Close instruction frame after clicking OK/Cancel button
>
> test/jdk/java/awt/print/Dialog/DialogCopies.java line 46:
> 
>> 44:                 Document Writer does not allow setting copies to anything but 1.
>> 45:                 If printer is installed then PrintDialog is visible increase the
>> 46:                 number of copies and press OK/Cancel button.""";
> 
> Suggestion:
> 
>                 This test requires that you have a printer.
>                 
>                 Press Cancel if your system has only virtual printers such as
>                 Microsoft Print to PDF or Microsoft XPS Document Writer since
>                 neither allows setting copies to anything but 1.
>                 
>                 If a real printer is installed, select it from the drop-down
>                 list in the Print dialog and increase the number of copies,
>                 then press OK button.""";
> 
> 
> I tried to make the instructions clearer: Press Cancel if … . Otherwise do the following.
> 
> Maybe it's better to write _“…since they don't allow setting copies to anything but 1.”_
> where “they” refers to any virtual printer.

Changed the instruction.

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

PR: https://git.openjdk.java.net/jdk/pull/4850



More information about the client-libs-dev mailing list