summaryrefslogtreecommitdiff
path: root/test/readline/test_readline.rb
AgeCommit message (Collapse)Author
2021-08-12Try to run test_interrupt_in_other_thread with Editlineaycabta
2021-08-12Outer block is required to rescue Timeout::Erroraycabta
2021-08-11Add TODO comment to #test_interrupt_in_other_threadaycabta
2021-08-11Add comments about testing stepsaycabta
2021-08-11Put the result of the process into a variable onceaycabta
To make the meaning of assertion easier to understand,
2021-08-11Stop exiting to show "SUCCESS"aycabta
2021-08-11Add logging about Errno::EPIPEaycabta
2021-08-11Write log to stdout immediatelyaycabta
2021-08-11Stop checking char from "read"aycabta
Because it's sometimes nil due to race condition.
2021-08-11Break immediately if assertions finishedaycabta
2021-08-11Add "START" logaycabta
2021-08-10Add comment about I/O that is not ttyaycabta
2021-08-09Omit on Readline 7.0 because it's wrong behaviour for not TTY envaycabta
2021-08-09Extended logging for debugging readline failures.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4722
2021-08-09Rework the readline test to be more robust.Samuel Williams
- Capture that the child is started by initial log line. - More robust handling of child status reaping. - Direct exit without sucess mesage if `#readline` receives input. Notes: Merged: https://github.com/ruby/ruby/pull/4721
2021-08-08Use #full_message instead of #backtrace_locationsaycabta
2021-08-08Show backtrace locations when I/O timed outaycabta
2021-08-06Show Readline::VERSION for debuggingaycabta
2021-08-06Omit test_interrupt_in_other_thread with Editlineaycabta
2021-08-06Fix reversal of assertion resultaycabta
2021-08-06Fix control structure to preperly catch Timeout::Erroraycabta
2021-08-05Show log when timed outaycabta
2021-08-04Remove an unused variableaycabta
2021-08-04Run interrupt test except on Windowsaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Add a load path to require 'helper'aycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Show the log of test_interrupt_in_other_thread when failedaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Check the existence of the test classesaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-08-04Add a test for handling SIGINT in other threadaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4704
2021-06-21Call super method by teardown of tests of Reline as Readlineaycabta
2021-06-21Call Reline-specific method in helper fileaycabta
2021-06-21Call Reline.test_reset in teardown of tests for readline definitelyaycabta
2021-06-21Use test encoding for TestRelineAsReadline and TestRelineAsReadlineHistoryaycabta
2021-02-18[ruby/readline-ext] Use omitNobuyoshi Nakada
https://github.com/ruby/readline-ext/commit/f6dff0a9f6
2020-12-21Fixed a typo in an error class nameNobuyoshi Nakada
2020-07-18Suppress bell during the testNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3322
2020-05-14Restore class variable setting for testsaycabta
2020-05-14Restore Readline.completion_case_fold in testaycabta
2020-02-29Set Readline.completion_append_character = nil alwaysaycabta
GNU Readline add a white space when Readline.completion_append_character is not initialized.
2020-02-28support random order test.Koichi Sasada
test_readline: HISTORY should be empty. test_using_quoting_detection_proc: test_using_quoting_detection_proc_with_multibyte_input: Readline.completer_quote_characters= and Readline.completer_word_break_characters= doesn't accept nil, so skip if previous values are nil.
2020-02-28Omit test_using_quoting_detection_proc_with_multibyte_input temporarily for ↵aycabta
random order test
2020-02-22test/readline - allow ENV control of test class creationMSP-Greg
In ruby/ruby, the tests run on both readline & reline by creating four test classes: ``` TestReadline TestReadlineHistory TestRelineAsReadline TestRelineAsReadlineHistory ``` Reline inports the test files and uses them in its CI. Adding the ENV control allows it to only run the `TestRelineAsReadline` classes. Notes: Merged: https://github.com/ruby/ruby/pull/2916
2020-02-19support multi-run test for test_readline.rbS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/2914
2020-02-09[ruby/readline-ext] Check TestRelineAsReadline existanceaycabta
https://github.com/ruby/readline-ext/commit/c0a6303168
2020-02-04Fix inaccuracy in encoding testsLars Kanis
These tests assume Encoding.find('locale') == Encoding.find('external') and fail if they are distinct.
2020-01-23Check DONT_RUN_RELINE_TEST envvaraycabta
2020-01-23Use omit instead of skipaycabta
2020-01-23Skip a test that uses assert_ruby_status if it doesn't existaycabta
2020-01-23Stop using minitest dependent methodsaycabta
2020-01-21Reline: Fix changed test results due to change to UTF-8 on WindowsLars Kanis
In commit f8ea2860b0cac1aec79978e6c44168802958e8af the Reline encoding for native windows console was changed to hardcoded UTF-8. This caused failures in reline and readline tests, but they were hidden, because parallel ruby tests incorrectly used Reline::ANSI as IOGate. Tests failures were raised in single process mode, but not with -j switch. This patch corrects encodings on native Windows console. Notes: Merged: https://github.com/ruby/ruby/pull/2848
2019-12-31text/readline/test_readline.rb - fix skip on Reline (#2743)MSP-Greg
TestRelineAsReadline#test_input_metachar passes on MinGW