RFR: 8347359: RichTextArea API Tests [v8]
Kevin Rushforth
kcr at openjdk.org
Wed Apr 23 20:42:54 UTC 2025
On Wed, 23 Apr 2025 18:28:17 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> beginning, missing, and end
Um, sorry about the typo. I'll blame auto-correct (although it's probably my fault).
I meant "beginning, **middle**, and end".
Currently you are testing `copy` with the entire paragraph selected. What I was trying to say is that another good test might be:
append("abcde");
clearSelection();
copy();
verify that clipboard contains ""
select(0);
copy();
verify that clipboard contains "a"
select(2);
copy();
verify that clipboard contains "c"
select(4);
copy();
verify that clipboard contains "e"
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1677#discussion_r2056842147
More information about the openjfx-dev
mailing list