notcurses/tests
Nick Black 415d4b813f
Tight work on unit testing, controlling tty vs output fd (#758)
* Some things go to the FILE* we're provided. Some can only go to a controlling terminal. Check to see if the FILE we're given is a TTY. If not, open up /dev/tty #752.
* term_emit(): fflush() can return EAGAIN. Loop on it to eliminate a rare error on shutdown that particularly affected unit tests (where we start and shut down Notcurses many times in a row).
* sgr poc: check return value of setlocale()
* drone: run all unit tests
* CMake: add some tests using PoCs
* ncneofetch: print even small palettes
2020-07-02 18:03:52 -04:00
..
cell.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
channel.cpp Redefine CELL_ALPHA_ in their natural forms 2020-06-28 01:53:42 -04:00
direct.cpp direct mode unit tests: allow init failure 2020-05-17 08:07:25 -04:00
egcpool.cpp notcurses-tester: run passing tests in C locale #325 2020-05-11 05:59:55 -04:00
Exceptions.cpp drone: set TERM on debian 2020-06-28 07:21:22 -04:00
fade.cpp ncneofetch: create info plane #550 2020-06-17 19:39:37 -04:00
fds.cpp Tight work on unit testing, controlling tty vs output fd (#758) 2020-07-02 18:03:52 -04:00
fills.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
geom.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
input.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
internal.cpp tests: collapse RGB conversions into one TEST_CASE 2020-05-20 18:35:47 -04:00
layout.cpp ncplane_puttext(): four more unit tests #691 2020-06-16 02:47:21 -04:00
main.cpp tester: pass INHIBIT_SETLOCALE|NO_ALTERNATE_SCREEN 2020-07-02 00:39:06 -04:00
main.h rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
menu.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
metric.cpp metric: use FE_TONEAREST instead of TOWARDZERO #615 2020-06-01 08:25:59 -04:00
ncplane.cpp ncneofetch: don't print (null) for distro_pretty 2020-06-28 06:43:29 -04:00
Ncpp.cpp yield demo: punch up with polyfills 2020-06-06 05:11:45 -04:00
notcurses.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
palette.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
plot.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
reader.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
reel.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
resize.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
rotate.cpp Redefine CELL_ALPHA_ in their natural forms 2020-06-28 01:53:42 -04:00
scrolling.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
selector.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
visual.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00
wide.cpp drone: set TERM for fedora 2020-06-28 07:00:20 -04:00
zaxis.cpp rewrite all unit tests to use testing_notcurses() #718 2020-06-15 23:58:43 -04:00