You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
4 years ago
..
Exceptions.cpp drone: set TERM on debian 4 years ago
Ncpp.cpp yield demo: punch up with polyfills 4 years ago
cell.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
channel.cpp Redefine CELL_ALPHA_ in their natural forms 4 years ago
direct.cpp direct mode unit tests: allow init failure 4 years ago
egcpool.cpp notcurses-tester: run passing tests in C locale #325 4 years ago
fade.cpp ncneofetch: create info plane #550 4 years ago
fds.cpp Tight work on unit testing, controlling tty vs output fd (#758) 4 years ago
fills.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
geom.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
input.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
internal.cpp tests: collapse RGB conversions into one TEST_CASE 4 years ago
layout.cpp ncplane_puttext(): four more unit tests #691 4 years ago
main.cpp tester: pass INHIBIT_SETLOCALE|NO_ALTERNATE_SCREEN 4 years ago
main.h rewrite all unit tests to use testing_notcurses() #718 4 years ago
menu.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
metric.cpp metric: use FE_TONEAREST instead of TOWARDZERO #615 4 years ago
ncplane.cpp ncneofetch: don't print (null) for distro_pretty 4 years ago
notcurses.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
palette.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
plot.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
reader.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
reel.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
resize.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
rotate.cpp Redefine CELL_ALPHA_ in their natural forms 4 years ago
scrolling.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
selector.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
visual.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago
wide.cpp drone: set TERM for fedora 4 years ago
zaxis.cpp rewrite all unit tests to use testing_notcurses() #718 4 years ago