summaryrefslogtreecommitdiff
path: root/tests/lib/libcurses
AgeCommit message (Collapse)Author
2023-06-02follow the steps of Andrew Doran (ad) commit and fix more s/loose/lose/ typos.andvar
also s/beyound/beyond/ and few others along the way, mainly in comments.
2022-12-05Update check files due to reversion of a libcurses change.blymn
2022-11-30Update the check files due to bug fix in libcurses.blymn
2022-11-10Uncomment the waddstr call that was returning ERR, this is actuallyblymn
correct so make the expected return ERR then repeat the call with scrollok set to true to validate. Do refreshes on the window instead of stdscr so we get the window contents reported and update the check files with the expected output.
2022-11-08* Uncomment the slk_wset test which was previously commented out dueblymn
to incorrect output as this bug has been fixed. * Added a check file to verify the slk_wset output.
2022-11-04Update check files to allow for changes due to fixes to libcurses.blymn
2022-10-19Updates to account for changes resulting from fixes to libcurses.blymn
2022-05-03Add mutt_test to the test runs, this test tries to emulate a realblymn
curses application to test the interaction of various curses calls.
2022-05-03Update check files, changes due to bug fixes.blymn
2022-05-03Output changed due to bug fixes in curses.blymn
2022-04-26Add test for wresize.blymn
2022-04-21Actually add the bkgrndset test case so it runs plus fix a typo inblymn
the bkgrndset test script.
2022-04-20Add a test for the bkgrndset functionblymn
2022-04-12Update to account for default colour change in libcurses.blymn
2022-04-10fix various typos in comments and output/log messages.andvar
2022-04-04fix various typos, mainly in comments.andvar
2022-03-01Add the -F flag to the getopt string, it was there in the help andblymn
in the arguments handling but getopt was not told about it.
2022-01-25Remove excess shift since locale is no longer passedblymn
2022-01-25Update of tests to account for output changes associated with wide charblymn
fixes. Also, default all tests to using UTF8 instead of doing a special dance for the wide character tests and fix debug_test to force set the locale to UTF8 so tests under debug don't throw spurious mismatches when a wide character test is run.
2021-12-31fix few typos in comments, mainly in word "parameter".andvar
2021-12-07tests/libcurses: fix grammar in comment (since yesterday)rillig
2021-12-06tests/libcurses: clean up commentsrillig
2021-11-16Add more testing for special character handling in ins_wstr family.blymn
2021-11-15Add handling for backspace special character (\b)blymn
2021-11-15Update the ins_(n)wstr test family to split out the check filesblymn
for each call separately and update check files to reflect changed behaviour due to a fix to related calls.
2021-09-07PR lib/56388rin
Regen addstr2.chk after fix for the line-hash bug in libcurses. Now, all t_curses tests successfully pass on all platforms I have tried. Thanks blymn@ for kind advice!
2021-09-04Cosmetic fixes. No functional changes intended.rin
- Reorganize logic to reduce indent levels significantly. - Use ``for'' rather than ``while''.
2021-08-21fix some more typos in comments/log messages, improve wording as well.andvar
2021-06-22Update the check files to account for fixes to addstr.cblymn
2021-06-22Fix slk test and check files due to libcurses slk changes.blymn
2021-06-15Restore the slk_wset test after fixing a but in libcurses.blymn
2021-06-13tests/libcurses: fix argument handling for mvwget_wchrillig
There's currently no test for that function, therefore no functional change.
2021-06-13tests/libcurses: make error handling in the linter simplerrillig
2021-06-13tests/libcurses: improve code locality in linterrillig
No functional change.
2021-06-13tests/libcurses: improve local variable names in linterrillig
2021-06-13tests/libcurses: unexport argument handling functionsrillig
No functional change.
2021-06-13tests/libcurses: KNF for while looprillig
2021-06-13tests/libcurses: remove redundant argument numbersrillig
Since all arguments are processed in increasing order, there is no need to add the redundant argument numbers. Most of the curses functions have less than 5 arguments, which makes it easy enough to count the ARG macros. Changes to curses_commands.c: * replace ^(\tARG_\w+\()\d(?:, |) with $1 * replace (define ARG_\w+\()i,\s with $1 * replace args\[i\] with *args++ * replace \(i\) with () * replace \(void\)0 with args++ The wrong argument count in cmd_mvwget_wch is still detected by lint.lua, as it was before. There is no test yet that covers this function.
2021-06-13tests/libcurses: add parentheses around argument to sizeofrillig
2021-06-13tests/libcurses: sprinkle 'const', normalize sizeofrillig
No functional change.
2021-06-10Unset ESCDELAY in libcurses test director to ensure consistent resultsmcf
Non-default values of ESCDELAY may result in unexpected test failures.
2021-06-06New tests and updates for corrected behaviour due to fix for PR56224blymn
* Added extra testing to the addstr test to demonstrate bug described in PR#56224 and validate case when scrolling enabled still works. * Fixed slk test, the slk_init output changed due to corrected wrapping, slk_restore no longer returns ERR probably due to addwchar no longer returning ERR when an implicit scroll was attempted when scrolling disabled. Commented out the slk_wset test, this is now returning ERR instead of misbehaving, needs investigation.
2021-06-05Convert % into %% in input string so printf won't barfblymn
2021-06-05Decouple the clear test from the addstr test, they should not be linkedblymn
together because they are not really related.
2021-06-05Add new check file for the clear test.blymn
2021-06-04Fix debug_test so it actually works and does not do damageblymn
* disable blind clearing of /tmp. The comment says this is needed for getwin/putwin those tests need to be looked at to correct this. * remove invalid -I option from director arguments for now. * fix paths to executables so debug_test will work with installed versions by default the previous version was using the src tree locations but basedir was wrong for that.
2021-04-06tests/libcurses: fix names of over-the-wire data typesrillig
The test 'mvscanw' reported that it would send '%s' as 'numeric', which was rather suspicious.
2021-04-06tests/libcurses: clean up table of input functionsrillig
The previous "table" was an insult to any reader. It was unsorted, listed the functions shuffled, and was not even formatted consistently. No functional change.
2021-04-06tests/libcurses: don't waste time calling strlen needlesslyrillig
2021-04-04Reapply fix for big-endian environments, which was lost when GSoC resultsrin
were merged... http://www.nerv.org/netbsd/?q=id:20200620T075016Z.3584036ccf31f69ee76ea4a02e9be30ff081df21 > Fix false positive for mvscanw tests on big endian machines. > > When conversion specifier is not a derivative form of "%s", retrieve > input as 32bit integer, and then convert to string literal. Then we > can avoid interpretation from ASCII code to integer, which is > apparently byte-order depended.