Tests for dxirc IRC engines.

Automated regression tests (ctest)
    cmake -B build -DDXIRC_BUILD_TESTS=ON [-DCMAKE_BUILD_TYPE=Debug]
    cmake --build build
    ctest --test-dir build --output-on-failure

qt/    IrcEngine (Qt) against an in-process scripted fake server, EmojisDialog
       deleted on close, version check reply parsing, routable IP, IPv4 check,
       server certificate verification, DCC transfer, command line spellcheck words
       and paste, enchant dictionaries loaded on first use; offscreen platform
fox/   IrcEngine (Fox), the same scenarios, version check; dxSocket (OpenSSL builds): SNI,
       TLS errors, certificate verification, large transfers, address fallback, cancel,
       listen/accept; DCC transfer; dxText wrapping (UTF-8, emoji), selection, reactions,
       topic tooltip;
       Linux only, run.sh uses xvfb-run when available and a temporary HOME
fuzz   qt-fuzz, fox-fuzz: IrcEngine gets 20000 malformed and random server lines
       (tests/fuzzlines.h, fixed seed), must not crash and still answer PING;
       best in a build with -fsanitize=address,undefined. Other runs:
           build/qt/fuzz-qt-test lines=50000 seed=7

Single scenarios: run the binary with test names as arguments, e.g.
    build/qt/ircengine-qt-test sasl_plain scram
    sh tests/fox/run.sh build/fox/ircengine-fox-test channel_keys
DXIRC_TEST_VERBOSE=1 shows engine debug output. On a failure the whole traffic
between engine and fake server is printed.

Manual tools (not in ctest, not in the source archive)
Run against dxirc-fox / dxirc-qt on Xvfb:
    Xvfb :99 -screen 0 1280x800x24 &

session/runreply.sh <binary> fox|qt   server without echo-message sends a message
        with msgid, leaves the app running for manual reply/react (replyd.py);
        app pid in session/app.pid
capsasl/ergocheck.py <nick> <target>  checks on local Ergo (127.0.0.1:6667) that
        <target> joined
