streamline one more test name

[?]
Dec 13, 2022, 5:50 PM
FQZ3U3YATUWJM4L4H3OK4CKXUZ6UWDDG5ZCV3LQWDI2UXY7XGRYAC

Dependencies

  • [2] KKMFQDR4 editing source code from within the app
  • [3] LF7BWEG4 group all editor globals
  • [4] OI4FPFIN support drawings in the source editor
  • [5] LNUHQOGH start passing in Editor_state explicitly
  • [6] APYPFFS3 call edit rather than App callbacks in tests
  • [7] UHB4GARJ left/right margin -> left/right coordinates
  • [8] 2JLVAYHB start decoupling editor tests from App
  • [9] CNCYMM6A make test initializations a little more obvious
  • [10] KMSL74GA support selections in the source editor
  • [11] LAW2O3NW extract variable Margin_left
  • [12] GL4Q5WCV keep text from overflowing right margin
  • [13] LXTTOB33 extract a couple of files

Change contents

  • replacement in text_tests.lua at line 1206
    [3.16080][3.16080:16235]()
    function test_page_down_followed_by_down_arrow_does_not_scroll_screen_up()
    io.write('\ntest_page_down_followed_by_down_arrow_does_not_scroll_screen_up')
    [3.16080]
    [3.8890]
    function test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up()
    io.write('\ntest_pagedown_followed_by_down_arrow_does_not_scroll_screen_up')
  • replacement in text_tests.lua at line 1217
    [3.9081][3.16479:16597](),[3.30459][3.16479:16597](),[3.16479][3.16479:16597]()
    App.screen.check(y, 'abc', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:1')
    [3.9081]
    [3.30460]
    App.screen.check(y, 'abc', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:1')
  • replacement in text_tests.lua at line 1219
    [3.30495][3.16619:16737](),[3.16619][3.16619:16737]()
    App.screen.check(y, 'def', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:2')
    [3.30495]
    [3.30496]
    App.screen.check(y, 'def', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:2')
  • replacement in text_tests.lua at line 1221
    [3.30531][3.2498:2617]()
    App.screen.check(y, 'ghij', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:3')
    [3.30531]
    [3.16879]
    App.screen.check(y, 'ghij', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:3')
  • replacement in text_tests.lua at line 1224
    [3.4166][3.30532:30935](),[3.16992][3.30532:30935]()
    check_eq(Editor_state.screen_top1.line, 3, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/screen_top')
    check_eq(Editor_state.cursor1.line, 3, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:line')
    check_eq(Editor_state.cursor1.pos, 1, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:pos')
    [3.4166]
    [3.17356]
    check_eq(Editor_state.screen_top1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/screen_top')
    check_eq(Editor_state.cursor1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:line')
    check_eq(Editor_state.cursor1.pos, 1, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:pos')
  • replacement in text_tests.lua at line 1229
    [3.4215][3.30936:31187](),[3.17491][3.30936:31187](),[3.31187][3.2618:2740]()
    check_eq(Editor_state.screen_top1.line, 3, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/screen_top')
    check_eq(Editor_state.cursor1.line, 3, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/cursor:line')
    check_eq(Editor_state.cursor1.pos, 5, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/cursor:pos')
    [3.4215]
    [3.9082]
    check_eq(Editor_state.screen_top1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen_top')
    check_eq(Editor_state.cursor1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/cursor:line')
    check_eq(Editor_state.cursor1.pos, 5, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/cursor:pos')
  • replacement in text_tests.lua at line 1233
    [3.9105][3.2741:2851]()
    App.screen.check(y, 'ghij', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/screen:1')
    [3.9105]
    [3.31340]
    App.screen.check(y, 'ghij', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:1')
  • replacement in text_tests.lua at line 1235
    [3.31375][3.2852:2960]()
    App.screen.check(y, 'kl', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/screen:2')
    [3.31375]
    [3.31376]
    App.screen.check(y, 'kl', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:2')
  • replacement in text_tests.lua at line 1237
    [3.31411][3.18104:18213](),[3.18104][3.18104:18213]()
    App.screen.check(y, 'mno', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/screen:3')
    [3.31411]
    [3.18213]
    App.screen.check(y, 'mno', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:3')
  • replacement in source_text_tests.lua at line 1175
    [2.43635][2.43635:43790]()
    function test_page_down_followed_by_down_arrow_does_not_scroll_screen_up()
    io.write('\ntest_page_down_followed_by_down_arrow_does_not_scroll_screen_up')
    [2.43635]
    [2.43790]
    function test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up()
    io.write('\ntest_pagedown_followed_by_down_arrow_does_not_scroll_screen_up')
  • replacement in source_text_tests.lua at line 1186
    [2.44166][2.44166:44284]()
    App.screen.check(y, 'abc', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:1')
    [2.44166]
    [2.44284]
    App.screen.check(y, 'abc', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:1')
  • replacement in source_text_tests.lua at line 1188
    [2.44319][2.44319:44437]()
    App.screen.check(y, 'def', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:2')
    [2.44319]
    [2.44437]
    App.screen.check(y, 'def', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:2')
  • replacement in source_text_tests.lua at line 1190
    [2.44472][2.44472:44591]()
    App.screen.check(y, 'ghij', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:3')
    [2.44472]
    [2.44591]
    App.screen.check(y, 'ghij', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:3')
  • replacement in source_text_tests.lua at line 1193
    [2.44719][2.44719:45122]()
    check_eq(Editor_state.screen_top1.line, 3, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/screen_top')
    check_eq(Editor_state.cursor1.line, 3, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:line')
    check_eq(Editor_state.cursor1.pos, 1, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:pos')
    [2.44719]
    [2.45122]
    check_eq(Editor_state.screen_top1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/screen_top')
    check_eq(Editor_state.cursor1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:line')
    check_eq(Editor_state.cursor1.pos, 1, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:pos')
  • replacement in source_text_tests.lua at line 1198
    [2.45272][2.45272:45645]()
    check_eq(Editor_state.screen_top1.line, 3, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/screen_top')
    check_eq(Editor_state.cursor1.line, 3, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/cursor:line')
    check_eq(Editor_state.cursor1.pos, 5, 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/cursor:pos')
    [2.45272]
    [2.45645]
    check_eq(Editor_state.screen_top1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen_top')
    check_eq(Editor_state.cursor1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/cursor:line')
    check_eq(Editor_state.cursor1.pos, 5, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/cursor:pos')
  • replacement in source_text_tests.lua at line 1202
    [2.45668][2.45668:45778]()
    App.screen.check(y, 'ghij', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/screen:1')
    [2.45668]
    [2.45778]
    App.screen.check(y, 'ghij', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:1')
  • replacement in source_text_tests.lua at line 1204
    [2.45813][2.45813:45921]()
    App.screen.check(y, 'kl', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/screen:2')
    [2.45813]
    [2.45921]
    App.screen.check(y, 'kl', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:2')
  • replacement in source_text_tests.lua at line 1206
    [2.45956][2.45956:46065]()
    App.screen.check(y, 'mno', 'F - test_page_down_followed_by_down_arrow_does_not_scroll_screen_up/screen:3')
    [2.45956]
    [2.46065]
    App.screen.check(y, 'mno', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:3')