spice/server/tests
Frediano Ziglio 137d9ec8e9 test-stream-device: Check incomplete reads of StreamMsgFormat
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
2017-11-27 21:38:02 +00:00
..
pki tests/pki: Use CA/certificate valid until 2048 2017-03-23 12:02:47 +01:00
valgrind build-sys: Add make check-valgrind target 2017-03-21 16:34:56 +01:00
.gitignore tests: Ignore test output results 2017-09-18 13:15:57 +01:00
base_test.ppm Adding image to be used as "correct" in regression tests 2012-02-14 14:53:47 +02:00
basic-event-loop.c Remove common/mem.h includes 2017-11-21 08:27:09 +00:00
basic-event-loop.h tests: Allow to quit the message loop 2017-09-07 08:54:18 +01:00
Makefile.am tests: Add a test for streaming devices 2017-11-21 10:02:50 +00:00
README tests: Update README 2017-09-07 08:54:18 +01:00
regression-test.py tests: Normalize test names 2016-11-25 13:52:39 +00:00
replay.c replay: Support TLS in replay utility 2017-02-06 10:06:09 +00:00
stat-test.c tests: Apply same warning level as main server code 2016-12-06 16:16:19 +00:00
test-agent-msg-filter.c Test agent message filter processing 2016-10-11 13:49:15 +01:00
test-channel.c Use standard "Red" namespace 2017-10-21 08:47:02 +01:00
test-codecs-parsing.c tests: Reuse GLib compatibility code 2017-03-03 16:49:43 +00:00
test-display-base.c tests: Automatically determine free port to use 2017-09-21 17:32:23 +02:00
test-display-base.h tests: Automatically determine free port to use 2017-09-21 17:32:23 +02:00
test-display-no-ssl.c tests: destroy test object 2017-09-02 08:07:38 +01:00
test-display-resolution-changes.c tests: destroy test object 2017-09-02 08:07:38 +01:00
test-display-streaming.c tests: destroy test object 2017-09-02 08:07:38 +01:00
test-display-width-stride.c tests: destroy test object 2017-09-02 08:07:38 +01:00
test-empty-success.c tests: Make test-empty-success automated 2017-09-07 08:54:18 +01:00
test-fail-on-null-core-interface.c tests: Make test-fail-on-null-core-interface an automated test 2017-09-07 08:54:18 +01:00
test-glib-compat.c Fix minor incompatibilities with RHEL6 2017-03-30 10:50:09 +01:00
test-glib-compat.h tests: Avoid to disable all deprecation warnings just for expect functions 2017-09-12 14:17:53 +01:00
test-gst.c test-gst: Free pipelines 2017-09-12 13:08:10 +01:00
test-just-sockets-no-ssl.c tests: Normalize test names 2016-11-25 13:52:39 +00:00
test-leaks.c inputs-channels: Remove leak using tablet device 2017-11-22 16:44:09 +00:00
test-loop.c tests: Normalize test names 2016-11-25 13:52:39 +00:00
test-multiple.py tests: Normalize test names 2016-11-25 13:52:39 +00:00
test-options.c tests: Move some specific GLib compatibility to compatibility file 2017-03-03 16:49:41 +00:00
test-playback.c tests: Make variables static where possible 2017-09-02 08:02:36 +01:00
test-qxl-parsing.c red-parse-qxl: s/true/false 2017-05-02 11:30:47 +02:00
test-stat-file.c red-channel: Initialize statistic node correctly 2017-03-31 11:02:02 +01:00
test-stat.c tests: Rename stat-main.c to test-stat.c 2017-09-18 13:50:26 +01:00
test-stream-device.c test-stream-device: Check incomplete reads of StreamMsgFormat 2017-11-27 21:38:02 +00:00
test-stream.c Use standard "Red" namespace 2017-10-21 08:47:02 +01:00
test-two-servers.c tests: Automatically determine free port to use 2017-09-21 17:32:23 +02:00
test-vdagent.c tests: Remove unused declarations 2017-09-02 08:02:36 +01:00
video-encoders test: Add vp9 support to GStreamer test 2017-04-07 16:45:54 +01:00

What is here
============

This directory will contain a testsuite for the server.

You can run all the tests and use libtool to debug any of them:

libtool --mode=execute gdb test-just-sockets-no-ssl

Overview of tests
=================

test-just-sockets-no-ssl
 A complete server, only provides the main and inputs channels. Doesn't actually produce anything on the channels. Essentially a test of the regular link code (reds.c), good for multiple connect/disconnect tests.

test-empty-success
 tests calling

test-fail-on-null-core-interface
 should abort when run (when spice tries to watch_add)

basic-event-loop.c
 event loop to provide core interface.

Automated tests
===============

test-display-streaming.c
 this test can be used to check regressions. For this, test-display-streaming needs to be called passing --automated-tests as parameter