Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git pull + gradle build errors on windows #605

Closed
RedAdder opened this issue Oct 4, 2017 · 7 comments
Closed

git pull + gradle build errors on windows #605

RedAdder opened this issue Oct 4, 2017 · 7 comments

Comments

@RedAdder
Copy link

RedAdder commented Oct 4, 2017

Thank you for your patience.

I did a git pull on RichTextFX. Then I run gradle build. On Windows.
I get these integration test errors. Can I still hope that it will run in my application?
I guess i need to try ..


| Results: SUCCESS (22 tests, 22 successes, 0 failures, 0 skipped) |

:richtextfx:compileIntegrationTestJava
Download https://repo1.maven.org/maven2/org/testfx/testfx-junit/4.0.6-alpha/testfx-junit-4.0.6-alpha.pom
Download https://repo1.maven.org/maven2/org/testfx/openjfx-monocle/8u76-b04/openjfx-monocle-8u76-b04.pom
Download https://repo1.maven.org/maven2/org/testfx/testfx-core/4.0.6-alpha/testfx-core-4.0.6-alpha.pom
Download https://repo1.maven.org/maven2/com/nitorcreations/junit-runners/1.2/junit-runners-1.2.pom
Download https://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/4.1/asm-commons-4.1.pom
Download https://repo1.maven.org/maven2/org/ow2/asm/asm/4.1/asm-4.1.pom
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-parent/4.1/asm-parent-4.1.pom
Download https://repo1.maven.org/maven2/org/ow2/ow2/1.3/ow2-1.3.pom
Download https://repo1.maven.org/maven2/com/google/guava/guava/21.0/guava-21.0.pom
Download https://repo1.maven.org/maven2/com/google/code/findbugs/annotations/3.0.1u2/annotations-3.0.1u2.pom
Download https://repo1.maven.org/maven2/com/google/guava/guava-parent/21.0/guava-parent-21.0.pom
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/4.1/asm-tree-4.1.pom
Download https://repo1.maven.org/maven2/org/testfx/openjfx-monocle/8u76-b04/openjfx-monocle-8u76-b04.jar
Download https://repo1.maven.org/maven2/org/testfx/testfx-core/4.0.6-alpha/testfx-core-4.0.6-alpha.jar
Download https://repo1.maven.org/maven2/com/nitorcreations/junit-runners/1.2/junit-runners-1.2.jar
Download https://repo1.maven.org/maven2/org/ow2/asm/asm/4.1/asm-4.1.jar
Download https://repo1.maven.org/maven2/com/google/guava/guava/21.0/guava-21.0.jar
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/4.1/asm-commons-4.1.jar
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/4.1/asm-tree-4.1.jar
Download https://repo1.maven.org/maven2/org/testfx/testfx-junit/4.0.6-alpha/testfx-junit-4.0.6-alpha.jar
Download https://repo1.maven.org/maven2/com/google/code/findbugs/annotations/3.0.1u2/annotations-3.0.1u2.jar
:richtextfx:processIntegrationTestResources
:richtextfx:integrationTestClasses
:richtextfx:integrationTest

org.fxmisc.richtext.api.CaretTests > caret_bounds_are_absent_after_moving_caret_without_following_it PASSED

org.fxmisc.richtext.api.CaretTests > caret_bounds_are_present_after_moving_caret_and_following_it PASSED

org.fxmisc.richtext.api.CharacterBoundsTest > selection_bounds_are_unchanged_when_call_getCharacterBounds PASSED

org.fxmisc.richtext.api.HitTests > org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded$And_Area_Is_Not_Padded.clicking_character_should_move_caret_to_that_position FAILED
java.lang.AssertionError: expected:<110> but was:<1739>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded.runTest(HitTests.java:184)
at org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded.access$200(HitTests.java:169)
at org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded$And_Area_Is_Not_Padded.clicking_character_should_move_caret_to_that_position(HitTests.java:201)

org.fxmisc.richtext.api.HitTests > org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded$And_Area_Is_Padded.clicking_character_should_move_caret_to_that_position FAILED
java.lang.AssertionError: expected:<110> but was:<1739>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded.runTest(HitTests.java:184)
at org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded.access$200(HitTests.java:169)
at org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded$And_Area_Is_Padded.clicking_character_should_move_caret_to_that_position(HitTests.java:193)

org.fxmisc.richtext.api.HitTests > org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Inside_Area.prev_page_moves_caret_to_top_of_page PASSED

org.fxmisc.richtext.api.HitTests > org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Inside_Area.next_page_moves_caret_to_bottom_of_page PASSED

org.fxmisc.richtext.api.HitTests > org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Inside_Area.clicking_character_should_move_caret_to_that_position FAILED
java.lang.AssertionError: expected:<110> but was:<1739>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Inside_Area.clicking_character_should_move_caret_to_that_position(HitTests.java:133)

org.fxmisc.richtext.api.HitTests > org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Outside_Area.clicking_in_top_padding_moves_caret_to_top_line FAILED
java.lang.AssertionError: expected:<0> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Outside_Area.clicking_in_top_padding_moves_caret_to_top_line(HitTests.java:71)

org.fxmisc.richtext.api.HitTests > org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Outside_Area.clicking_in_bottom_padding_moves_caret_to_bottom_line FAILED
java.lang.AssertionError: expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Outside_Area.clicking_in_bottom_padding_moves_caret_to_bottom_line(HitTests.java:112)

org.fxmisc.richtext.api.HitTests > org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Outside_Area.clicking_in_right_padding_moves_caret_to_end_of_line_on_single_line_paragraph FAILED
java.lang.AssertionError: expected:<4> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Outside_Area.clicking_in_right_padding_moves_caret_to_end_of_line_on_single_line_paragraph(HitTests.java:98)

org.fxmisc.richtext.api.HitTests > org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Outside_Area.clicking_in_left_padding_moves_caret_to_beginning_of_line_on_single_line_paragraph FAILED
java.lang.AssertionError: expected:<0> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.api.HitTests$When_Area_Is_Padded$And_Hits_Occur_Outside_Area.clicking_in_left_padding_moves_caret_to_beginning_of_line_on_single_line_paragraph(HitTests.java:84)

org.fxmisc.richtext.api.MouseOverTextDelayTests > setting_delay_while_mouse_is_over_text_does_not_fire_event SKIPPED

org.fxmisc.richtext.api.MouseOverTextDelayTests > events_fire_after_delay_and_post_move SKIPPED

org.fxmisc.richtext.api.MouseOverTextDelayTests > null_delay_never_fires PASSED

org.fxmisc.richtext.api.MouseOverTextDelayTests > setting_delay_before_end_fires_prevents_end_from_firing SKIPPED

org.fxmisc.richtext.api.ParagraphLinesCountTests > single_line_returns_one PASSED

org.fxmisc.richtext.api.ParagraphLinesCountTests > multi_line_returns_correct_count PASSED

org.fxmisc.richtext.api.UndoManagerTests > org.fxmisc.richtext.api.UndoManagerTests$UsingStyledTextArea.testForBug216 PASSED

org.fxmisc.richtext.api.UndoManagerTests > org.fxmisc.richtext.api.UndoManagerTests$UsingInlineCssTextArea.testUndoWithWinNewlines PASSED

org.fxmisc.richtext.api.UndoManagerTests > org.fxmisc.richtext.api.UndoManagerTests$UsingInlineCssTextArea.incoming_change_is_not_merged_after_period_of_user_inactivity PASSED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$MiscellaneousCases$When_User_Makes_Selection_Ending_In_Newline_Character.copying_and_pasting_should_not_throw_exception PASSED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Replaced_In_Area_When_Paste_Via.shift_insert FAILED
junit.framework.ComparisonFailure: expected:<Once upon a time, [text] by a knight.> but was:<Once upon a time, [a princess was saved] by a knight.>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Replaced_In_Area_When_Paste_Via.runAssert(CutCopyPasteTests.java:256)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Replaced_In_Area_When_Paste_Via.shift_insert(CutCopyPasteTests.java:282)

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Replaced_In_Area_When_Paste_Via.paste SKIPPED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Replaced_In_Area_When_Paste_Via.shortcut_v FAILED
junit.framework.ComparisonFailure: expected:<Once upon a time, [text] by a knight.> but was:<Once upon a time, [a princess was saved] by a knight.>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Replaced_In_Area_When_Paste_Via.runAssert(CutCopyPasteTests.java:256)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Replaced_In_Area_When_Paste_Via.shortcut_v(CutCopyPasteTests.java:275)

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Removed_And_Stored_In_Clipboard_When_Cut_Via.shift_delete FAILED
junit.framework.ComparisonFailure: expected:<Once upon a time, [] by a knight.> but was:<Once upon a time, [a princess was saved] by a knight.>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Removed_And_Stored_In_Clipboard_When_Cut_Via.runAssert(CutCopyPasteTests.java:209)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Removed_And_Stored_In_Clipboard_When_Cut_Via.shift_delete(CutCopyPasteTests.java:239)

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Removed_And_Stored_In_Clipboard_When_Cut_Via.cut SKIPPED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Removed_And_Stored_In_Clipboard_When_Cut_Via.shortcut_x FAILED
junit.framework.ComparisonFailure: expected:<Once upon a time, [] by a knight.> but was:<Once upon a time, [a princess was saved] by a knight.>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Removed_And_Stored_In_Clipboard_When_Cut_Via.runAssert(CutCopyPasteTests.java:209)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Removed_And_Stored_In_Clipboard_When_Cut_Via.shortcut_x(CutCopyPasteTests.java:232)

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Stored_In_Clipboard_When_Copy_Via.copy SKIPPED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Stored_In_Clipboard_When_Copy_Via.shortcut_insert FAILED
java.lang.RuntimeException: junit.framework.AssertionFailedError
at org.testfx.util.WaitForAsyncUtils.waitFor(WaitForAsyncUtils.java:258)
at org.testfx.api.FxRobot.interact(FxRobot.java:492)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Stored_In_Clipboard_When_Copy_Via.runAssert(CutCopyPasteTests.java:172)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Stored_In_Clipboard_When_Copy_Via.shortcut_insert(CutCopyPasteTests.java:201)

    Caused by:
    junit.framework.AssertionFailedError

junit.framework.AssertionFailedError

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Stored_In_Clipboard_When_Copy_Via.shortcut_c FAILED
java.lang.RuntimeException: junit.framework.AssertionFailedError
at org.testfx.util.WaitForAsyncUtils.waitFor(WaitForAsyncUtils.java:258)
at org.testfx.api.FxRobot.interact(FxRobot.java:492)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Stored_In_Clipboard_When_Copy_Via.runAssert(CutCopyPasteTests.java:172)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Text_Is_Selected$Selection_Is_Stored_In_Clipboard_When_Copy_Via.shortcut_c(CutCopyPasteTests.java:194)

    Caused by:
    junit.framework.AssertionFailedError

junit.framework.AssertionFailedError

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Text_Is_Inserted_In_Area_When_Paste_Via.shift_insert FAILED
junit.framework.ComparisonFailure: expected:<Once upon a time, [text]a princess was saved...> but was:<Once upon a time, []a princess was saved...>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Text_Is_Inserted_In_Area_When_Paste_Via.runAssert(CutCopyPasteTests.java:117)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Text_Is_Inserted_In_Area_When_Paste_Via.shift_insert(CutCopyPasteTests.java:152)

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Text_Is_Inserted_In_Area_When_Paste_Via.paste SKIPPED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Text_Is_Inserted_In_Area_When_Paste_Via.shortcut_v FAILED
junit.framework.ComparisonFailure: expected:<Once upon a time, [text]a princess was saved...> but was:<Once upon a time, []a princess was saved...>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Text_Is_Inserted_In_Area_When_Paste_Via.runAssert(CutCopyPasteTests.java:117)
at org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Text_Is_Inserted_In_Area_When_Paste_Via.shortcut_v(CutCopyPasteTests.java:145)

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Nothing_Is_Removed_In_Area_When_Cut_Via.shift_delete PASSED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Nothing_Is_Removed_In_Area_When_Cut_Via.cut SKIPPED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Nothing_Is_Removed_In_Area_When_Cut_Via.shortcut_x PASSED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Nothing_Is_Stored_In_Clipboard_When_Copy_Via.copy SKIPPED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Nothing_Is_Stored_In_Clipboard_When_Copy_Via.shortcut_insert PASSED

org.fxmisc.richtext.keyboard.CutCopyPasteTests > org.fxmisc.richtext.keyboard.CutCopyPasteTests$When_Nothing_Is_Selected$Nothing_Is_Stored_In_Clipboard_When_Copy_Via.shortcut_c PASSED

org.fxmisc.richtext.keyboard.DeletionTests > org.fxmisc.richtext.keyboard.DeletionTests$When_Area_Ends_With_Empty_Line$And_All_Text_Is_Selected.pressing_backspace_should_not_throw_exceptions PASSED

org.fxmisc.richtext.keyboard.DeletionTests > org.fxmisc.richtext.keyboard.DeletionTests$When_Area_Ends_With_Empty_Line$And_All_Text_Is_Selected.pressing_delete_should_not_throw_exception PASSED

org.fxmisc.richtext.keyboard.DeletionTests > org.fxmisc.richtext.keyboard.DeletionTests$When_No_Modifiers.pressing_backspace_removes_previous_char FAILED
org.junit.ComparisonFailure: expected:<tex[]> but was:<tex[t]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.fxmisc.richtext.keyboard.DeletionTests$When_No_Modifiers.pressing_backspace_removes_previous_char(DeletionTests.java:94)

org.fxmisc.richtext.keyboard.DeletionTests > org.fxmisc.richtext.keyboard.DeletionTests$When_No_Modifiers.pressing_delete_removes_next_char FAILED
org.junit.ComparisonFailure: expected:<[]ext> but was:<[t]ext>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.fxmisc.richtext.keyboard.DeletionTests$When_No_Modifiers.pressing_delete_removes_next_char(DeletionTests.java:83)

org.fxmisc.richtext.keyboard.DeletionTests > org.fxmisc.richtext.keyboard.DeletionTests$When_Shortcut_Is_Down.pressing_delete_removes_next_word_and_space FAILED
org.junit.ComparisonFailure: expected:<text text[]> but was:<text text[ text]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.fxmisc.richtext.keyboard.DeletionTests$When_Shortcut_Is_Down.pressing_delete_removes_next_word_and_space(DeletionTests.java:52)

org.fxmisc.richtext.keyboard.DeletionTests > org.fxmisc.richtext.keyboard.DeletionTests$When_Shortcut_Is_Down.pressing_backspace_removes_previous_word_and_space FAILED
org.junit.ComparisonFailure: expected:<text text[]> but was:<text text[ text]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.fxmisc.richtext.keyboard.DeletionTests$When_Shortcut_Is_Down.pressing_backspace_removes_previous_word_and_space(DeletionTests.java:63)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_And_Shift_Pressed.home_selects_up_to_the_start_of_current_paragraph FAILED
java.lang.AssertionError: expected:<0> but was:<74>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_And_Shift_Pressed.home_selects_up_to_the_start_of_current_paragraph(MultiLineGridlikeTextTests.java:250)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_And_Shift_Pressed.up_does_not_move_caret PASSED

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_And_Shift_Pressed.end_selects_up_to_the_end_of_current_paragraph FAILED
java.lang.AssertionError: expected:<74> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_And_Shift_Pressed.end_selects_up_to_the_end_of_current_paragraph(MultiLineGridlikeTextTests.java:261)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_And_Shift_Pressed.down_does_not_move_caret PASSED

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shift_Is_Pressed.end_selects_up_to_the_end_of_current_line FAILED
java.lang.AssertionError: expected:<29> but was:<15>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shift_Is_Pressed.end_selects_up_to_the_end_of_current_line(MultiLineGridlikeTextTests.java:208)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shift_Is_Pressed.up FAILED
java.lang.AssertionError: expected:<15> but was:<30>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shift_Is_Pressed.up(MultiLineGridlikeTextTests.java:175)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shift_Is_Pressed.down FAILED
java.lang.AssertionError: expected:<30> but was:<15>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shift_Is_Pressed.down(MultiLineGridlikeTextTests.java:186)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shift_Is_Pressed.home_selects_up_to_the_start_of_current_line FAILED
java.lang.AssertionError: expected:<15> but was:<29>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shift_Is_Pressed.home_selects_up_to_the_start_of_current_line(MultiLineGridlikeTextTests.java:197)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_Is_Pressed.up_does_not_move_caret PASSED

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_Is_Pressed.end_moves_caret_to_end_of_current_paragraph FAILED
java.lang.AssertionError: expected:<74> but was:<15>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_Is_Pressed.end_moves_caret_to_end_of_current_paragraph(MultiLineGridlikeTextTests.java:155)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_Is_Pressed.home_moves_caret_to_start_of_current_paragraph FAILED
java.lang.AssertionError: expected:<0> but was:<30>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_Is_Pressed.home_moves_caret_to_start_of_current_paragraph(MultiLineGridlikeTextTests.java:144)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_Shortcut_Is_Pressed.down_does_not_move_caret PASSED

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_No_Modifiers_Pressed.home_moves_caret_to_start_of_current_line FAILED
java.lang.AssertionError: expected:<15> but was:<29>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_No_Modifiers_Pressed.home_moves_caret_to_start_of_current_line(MultiLineGridlikeTextTests.java:91)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_No_Modifiers_Pressed.down_moves_caret_to_next_line FAILED
java.lang.AssertionError: expected:<30> but was:<15>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_No_Modifiers_Pressed.down_moves_caret_to_next_line(MultiLineGridlikeTextTests.java:80)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_No_Modifiers_Pressed.end_moves_caret_to_end_of_current_line FAILED
java.lang.AssertionError: expected:<29> but was:<15>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_No_Modifiers_Pressed.end_moves_caret_to_end_of_current_line(MultiLineGridlikeTextTests.java:102)

org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests > org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_No_Modifiers_Pressed.up_moves_caret_to_previous_line FAILED
java.lang.AssertionError: expected:<15> but was:<30>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineGridlikeTextTests$When_No_Modifiers_Pressed.up_moves_caret_to_previous_line(MultiLineGridlikeTextTests.java:69)

org.fxmisc.richtext.keyboard.navigation.MultiLineJaggedTextTests > pressing_down_moves_caret_to_next_line FAILED
java.lang.AssertionError: expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineJaggedTextTests.pressing_down_moves_caret_to_next_line(MultiLineJaggedTextTests.java:35)

org.fxmisc.richtext.keyboard.navigation.MultiLineJaggedTextTests > pressing_up_moves_caret_to_previous_line FAILED
java.lang.AssertionError: expected:<0> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.MultiLineJaggedTextTests.pressing_up_moves_caret_to_previous_line(MultiLineJaggedTextTests.java:46)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_And_Shift_Pressed.left_once_selects_up_to_left_boundary_of_current_word FAILED
java.lang.AssertionError: expected:<12> but was:<16>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_And_Shift_Pressed.left_once_selects_up_to_left_boundary_of_current_word(SingleLineTests.java:181)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_And_Shift_Pressed.left_twice_selects_up_to_start_boundary_of_previous_word FAILED
java.lang.AssertionError: expected:<8> but was:<16>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_And_Shift_Pressed.left_twice_selects_up_to_start_boundary_of_previous_word(SingleLineTests.java:192)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_And_Shift_Pressed.right_once_selects_up_to_right_boundary_of_current_word FAILED
java.lang.AssertionError: expected:<3> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_And_Shift_Pressed.right_once_selects_up_to_right_boundary_of_current_word(SingleLineTests.java:203)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_And_Shift_Pressed.right_twice_selects_up_to_end_boundary_of_next_word FAILED
java.lang.AssertionError: expected:<7> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_And_Shift_Pressed.right_twice_selects_up_to_end_boundary_of_next_word(SingleLineTests.java:214)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shift_Is_Pressed.right_selects_next_character FAILED
java.lang.AssertionError: expected:<4> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shift_Is_Pressed.right_selects_next_character(SingleLineTests.java:160)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shift_Is_Pressed.left_selects_previous_character FAILED
java.lang.AssertionError: expected:<3> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shift_Is_Pressed.left_selects_previous_character(SingleLineTests.java:149)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_Is_Pressed.right_once_moves_caret_to_right_boundary_of_current_word FAILED
java.lang.AssertionError: expected:<3> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_Is_Pressed.right_once_moves_caret_to_right_boundary_of_current_word(SingleLineTests.java:109)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_Is_Pressed.left_twice_moves_caret_to_left_boundary_of_previous_word FAILED
java.lang.AssertionError: expected:<8> but was:<16>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_Is_Pressed.left_twice_moves_caret_to_left_boundary_of_previous_word(SingleLineTests.java:97)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_Is_Pressed.right_twice_moves_caret_to_right_boundary_of_next_word FAILED
java.lang.AssertionError: expected:<7> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_Is_Pressed.right_twice_moves_caret_to_right_boundary_of_next_word(SingleLineTests.java:120)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_Is_Pressed.left_once_moves_caret_to_left_boundary_of_current_word FAILED
java.lang.AssertionError: expected:<12> but was:<16>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_Is_Pressed.left_once_moves_caret_to_left_boundary_of_current_word(SingleLineTests.java:86)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_Is_Pressed.a_selects_all FAILED
org.junit.ComparisonFailure: expected:<[the cat can walk]> but was:<[]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_Shortcut_Is_Pressed.a_selects_all(SingleLineTests.java:130)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_No_Modifiers_Pressed.left_moves_caret_one_position FAILED
java.lang.AssertionError: expected:<3> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_No_Modifiers_Pressed.left_moves_caret_one_position(SingleLineTests.java:54)

org.fxmisc.richtext.keyboard.navigation.SingleLineTests > org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_No_Modifiers_Pressed.right_moves_caret_one_position FAILED
java.lang.AssertionError: expected:<5> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.navigation.SingleLineTests$When_No_Modifiers_Pressed.right_moves_caret_one_position(SingleLineTests.java:65)

org.fxmisc.richtext.keyboard.PageUpDownTests > page_up_moves_caret_to_top_of_viewport FAILED
java.lang.AssertionError: expected:<0> but was:<10>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.PageUpDownTests.page_up_moves_caret_to_top_of_viewport(PageUpDownTests.java:50)

org.fxmisc.richtext.keyboard.PageUpDownTests > shift_page_up_moves_caret_to_top_of_viewport_and_makes_selection FAILED
java.lang.AssertionError: expected:<0> but was:<10>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.PageUpDownTests.shift_page_up_moves_caret_to_top_of_viewport_and_makes_selection(PageUpDownTests.java:84)

org.fxmisc.richtext.keyboard.PageUpDownTests > page_down_moves_caret_to_bottom_of_viewport FAILED
java.lang.AssertionError: expected:<10> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.PageUpDownTests.page_down_moves_caret_to_bottom_of_viewport(PageUpDownTests.java:67)

org.fxmisc.richtext.keyboard.PageUpDownTests > shift_page_down_moves_caret_to_bottom_of_viewport_and_makes_selection FAILED
java.lang.AssertionError: expected:<10> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.fxmisc.richtext.keyboard.PageUpDownTests.shift_page_down_moves_caret_to_bottom_of_viewport_and_makes_selection(PageUpDownTests.java:101)

org.fxmisc.richtext.keyboard.TypingTests > typing_a_letter_moves_caret_after_the_inserted_letter PASSED

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.single_clicking_outside_of_selected_text_moves_caret_to_that_position FAILED
junit.framework.AssertionFailedError: expected:<4> but was:<45>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.Assert.assertEquals(Assert.java:241)
at junit.framework.TestCase.assertEquals(TestCase.java:409)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.single_clicking_outside_of_selected_text_moves_caret_to_that_position(ClickAndDragTests.java:194)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.double_clicking_outside_of_selected_text_selects_closest_word FAILED
junit.framework.ComparisonFailure: expected:<[Some]> but was:<[this is the selected text]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.double_clicking_outside_of_selected_text_selects_closest_word(ClickAndDragTests.java:207)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.single_clicking_within_selected_text_moves_caret_to_that_position FAILED
junit.framework.AssertionFailedError: expected:<4> but was:<19>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.Assert.assertEquals(Assert.java:241)
at junit.framework.TestCase.assertEquals(TestCase.java:409)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.single_clicking_within_selected_text_moves_caret_to_that_position(ClickAndDragTests.java:152)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.pressing_mouse_on_selection_and_dragging_displaces_caret FAILED
junit.framework.AssertionFailedError: expected:<4> but was:<19>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.Assert.assertEquals(Assert.java:241)
at junit.framework.TestCase.assertEquals(TestCase.java:409)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.pressing_mouse_on_selection_and_dragging_displaces_caret(ClickAndDragTests.java:258)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.pressing_mouse_on_unselected_text_and_dragging_makes_new_selection FAILED
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:55)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.Assert.assertFalse(Assert.java:39)
at junit.framework.Assert.assertFalse(Assert.java:47)
at junit.framework.TestCase.assertFalse(TestCase.java:219)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.pressing_mouse_on_unselected_text_and_dragging_makes_new_selection(ClickAndDragTests.java:237)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.triple_clicking_within_selected_text_selects_paragraph PASSED

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.pressing_mouse_on_selection_and_dragging_and_releasing_moves_selected_text_to_that_position SKIPPED

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.double_clicking_within_selected_text_selects_closest_word FAILED
junit.framework.ComparisonFailure: expected:<Some[]> but was:<Some[ text goes here]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.double_clicking_within_selected_text_selects_closest_word(ClickAndDragTests.java:165)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.triple_clicking_outside_of_selected_text_selects_paragraph FAILED
junit.framework.ComparisonFailure: expected:<[Some text goes here]> but was:<[this is the selected text]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Selected.triple_clicking_outside_of_selected_text_selects_paragraph(ClickAndDragTests.java:220)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Not_Selected.single_clicking_area_moves_caret_to_that_position FAILED
junit.framework.AssertionFailedError: expected:<4> but was:<0>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.Assert.assertEquals(Assert.java:241)
at junit.framework.TestCase.assertEquals(TestCase.java:409)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Not_Selected.single_clicking_area_moves_caret_to_that_position(ClickAndDragTests.java:105)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Not_Selected.pressing_mouse_over_text_and_dragging_mouse_selects_text FAILED
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:55)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.Assert.assertFalse(Assert.java:39)
at junit.framework.Assert.assertFalse(Assert.java:47)
at junit.framework.TestCase.assertFalse(TestCase.java:219)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Not_Selected.pressing_mouse_over_text_and_dragging_mouse_selects_text(ClickAndDragTests.java:128)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Not_Selected.double_clicking_text_in_area_selects_closest_word FAILED
junit.framework.ComparisonFailure: expected:<[Some]> but was:<[]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Not_Selected.double_clicking_text_in_area_selects_closest_word(ClickAndDragTests.java:112)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Not_Selected.triple_clicking_line_in_area_selects_paragraph FAILED
junit.framework.ComparisonFailure: expected:<[Some text goes here]> but was:<[]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Enabled$And_Text_Is_Not_Selected.triple_clicking_line_in_area_selects_paragraph(ClickAndDragTests.java:119)

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Disabled.releasing_the_mouse_after_drag_does_nothing PASSED

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Disabled.triple_clicking_area_does_nothing PASSED

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Disabled.dragging_the_mouse_does_not_select_text PASSED

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Disabled.single_clicking_area_does_nothing PASSED

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Disabled.double_clicking_area_does_nothing PASSED

org.fxmisc.richtext.mouse.ClickAndDragTests > org.fxmisc.richtext.mouse.ClickAndDragTests$When_Area_Is_Disabled.shift_clicking_area_does_nothing PASSED

org.fxmisc.richtext.mouse.ContextMenuTests > requesting_context_nenu_via_keyboard_works_on_windows FAILED
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:55)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.Assert.assertTrue(Assert.java:31)
at junit.framework.TestCase.assertTrue(TestCase.java:201)
at org.fxmisc.richtext.mouse.ContextMenuTests.requesting_context_nenu_via_keyboard_works_on_windows(ContextMenuTests.java:93)

org.fxmisc.richtext.mouse.ContextMenuTests > pressing_middle_mouse_button_hides_context_menu FAILED
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:55)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.Assert.assertFalse(Assert.java:39)
at junit.framework.Assert.assertFalse(Assert.java:47)
at junit.framework.TestCase.assertFalse(TestCase.java:219)
at org.fxmisc.richtext.mouse.ContextMenuTests.pressing_middle_mouse_button_hides_context_menu(ContextMenuTests.java:83)

org.fxmisc.richtext.mouse.ContextMenuTests > pressing_secondary_shows_context_menu SKIPPED

org.fxmisc.richtext.mouse.ContextMenuTests > clicking_secondary_shows_context_menu SKIPPED

org.fxmisc.richtext.mouse.ContextMenuTests > pressing_primary_mouse_button_hides_context_menu FAILED
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:55)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.Assert.assertFalse(Assert.java:39)
at junit.framework.Assert.assertFalse(Assert.java:47)
at junit.framework.TestCase.assertFalse(TestCase.java:219)
at org.fxmisc.richtext.mouse.ContextMenuTests.pressing_primary_mouse_button_hides_context_menu(ContextMenuTests.java:73)


| Results: FAILURE (106 tests, 30 successes, 64 failures, 12 skipped) |

106 tests completed, 64 failed, 12 skipped
:richtextfx:integrationTest FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':richtextfx:integrationTest'.
@RedAdder
Copy link
Author

RedAdder commented Oct 4, 2017

I tried, and this didn't work? Any amendments that can be done?

Exception in thread "JavaFX Application Thread" java.lang.NoSuchMethodError: org.fxmisc.undo.UndoManagerFactory.create(Lorg/reactfx/EventStream;Ljava/util/function/Function;Ljava/util/function/Consumer;Ljava/util/function/BiFunction;Ljava/util/function/Predicate;)Lorg/fxmisc/undo/UndoManager;
at org.fxmisc.richtext.util.UndoUtils.plainTextUndoManager(UndoUtils.java:132)
at org.fxmisc.richtext.util.UndoUtils.plainTextUndoManager(UndoUtils.java:110)
at org.fxmisc.richtext.util.UndoUtils.plainTextUndoManager(UndoUtils.java:100)
at org.fxmisc.richtext.util.UndoUtils.defaultUndoManager(UndoUtils.java:39)
at org.fxmisc.richtext.GenericStyledArea.(GenericStyledArea.java:628)
at org.fxmisc.richtext.StyledTextArea.(StyledTextArea.java:73)
at org.fxmisc.richtext.StyledTextArea.(StyledTextArea.java:85)
at org.fxmisc.richtext.StyleClassedTextArea.(StyleClassedTextArea.java:18)
at org.fxmisc.richtext.StyleClassedTextArea.(StyleClassedTextArea.java:31)
at org.fxmisc.richtext.CodeArea.(CodeArea.java:31)
at com.leosoftsys.sfb2.view.TextEditor.refresh(TextEditor.java:109)

@JordanMartinez
Copy link
Contributor

Exception in thread "JavaFX Application Thread" java.lang.NoSuchMethodError: org.fxmisc.undo.UndoManagerFactory.create(

Which version of WellBehavedFX are you using? Have you refreshed your dependencies via gradle --refresh-dependencies? You should be using the 0.3 version, not the 0.2 one.

@afester
Copy link
Collaborator

afester commented Oct 4, 2017

Regarding the failed tests: did you make sure NOT to touch the keyboard or the mouse while the tests were running? (just asking because I came across that several times ...)
Otherwise, are you using some "special" screen configuration like a dual monitor configuration or something similar?

@RedAdder
Copy link
Author

RedAdder commented Oct 5, 2017

I did run refresh-dependencies and then did not move the mouse during the tests.
This time the integration tests ran fine, with just one failure.
Thanks for pointing out that I should use WellBehavedFX 0.3, I will do that the next time I try to use the master build of richttextfx.

org.fxmisc.richtext.api.HitTests > org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded$And_Area_Is_Not_Padded.clicking_character_should_move_caret_to_that_position FAILED
    java.lang.AssertionError: expected:<110> but was:<1739>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:834)
        at org.junit.Assert.assertEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:631)
        at org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded.runTest(HitTests.java:184)
        at org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded.access$200(HitTests.java:169)
        at org.fxmisc.richtext.api.HitTests$When_ParagraphBox_Is_Padded$And_Area_Is_Not_Padded.clicking_character_should_move_caret_to_that_position(HitTests.java:201)

@RedAdder
Copy link
Author

RedAdder commented Oct 5, 2017

In my main project, I am using wellbehavedFX 0.3.1-SNAPSHOT.
I still got the error about Undomanager.
I am using undofx 1.2.2.
Is that the correct version to go with the current master?

@JordanMartinez
Copy link
Contributor

Nope. See richtextfx's build file

@JordanMartinez
Copy link
Contributor

I think this issue was addressed, so I'm closing it. Reopen if it wasn't addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants