summaryrefslogtreecommitdiff
path: root/test/readline
AgeCommit message (Collapse)Author
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-07-10Remove half-defined Reline on LoadErrorNobuyoshi Nakada
When fiddle is not avaiable, reline/terminfo depending on it also fails.
2021-06-21Fix finish_using_lib_relineaycabta
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-06-21Revert "Use Encoding.default_external for tests of Readline::HISTORY"aycabta
This reverts commit 089a26b0a619a649b1958061df8f21a6cdc6cacd.
2021-06-21Use Encoding.default_external for tests of Readline::HISTORYaycabta
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] Use require check instead of DONT_RUN_RELINE_TEST envaycabta
https://github.com/ruby/readline-ext/commit/1df99d1481
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
2019-12-17Fix return condition according to the condition to skipaycabta
2019-12-17Check wether Readline.completion_append_character= existsaycabta
2019-12-13Check wether TestReadline is definedaycabta
2019-12-12Some tests failed with before GNU Readline 6.0 on Windowsaycabta
2019-12-11The result of Readline.completion_proc should have the same encoding of ↵aycabta
Encoding.default_external
2019-12-11skip continuous failure test.Koichi Sasada
On mingw this test fails and not solved long time, so skip it. Please revert it when it solved. https://ci.appveyor.com/project/ruby/ruby/builds/29458671/job/9nbcjnfe6p0xnxoe
2019-12-09Remove workaround encoding modificationaycabta