On Mon, 19 Oct 2026 10:50:05 GMT, Robert Lichtenberger <[email protected]> 
wrote:

>> modules/javafx.controls/src/test/java/test/javafx/scene/control/behavior/TextAreaBehaviorTest.java
>>  line 152:
>> 
>>> 150:     @Test
>>> 151:     @Disabled("JDK-8393470")
>>> 152:     public void testDoubleClickSelectsCharacterClassBlocks() {
>> 
>> Not a big fan of a big test that tests multiple things (in this case `#`, 
>> `...x`, ` `, `,,,`, `\t`) -- I'm more in favor of a parameterized test or 
>> separate tests.
>> But this is a nitpick, so fine for me as is.
>
> Most of the tests in this (currently disabled) test won't make it anyway, 
> since the discovery of the Windows special behavior. My idea of a simple 
> "character class block" selection algorithm is just not compatible with the 
> idea of selecting a word plus any subsequent whitespace...
> 
> When tackling JDK-8393470 I will most probably extract tests from this and 
> finally delete this test, which will be obsolete then.

fine for me either way -- I'm glad that we have now a good battery of tests! 
Everything else is, again, really just a nitpick from my side :)

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2334#discussion_r4313064199

Reply via email to