rdesktop/tests
Cendio bcd676dacc Remove double definition of global variables in test
Signed-off-by: Henrik Andersson <hean01@cendio.com>
Signed-off-by: Thomas Nilefalk <thoni56@cendio.se>
2018-01-11 15:10:05 +01:00
..
bitmap_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
brushtest.c added brushtest 2008-11-02 03:55:00 +00:00
brushtest.exe added brushtest 2008-11-02 03:55:00 +00:00
brushtestMakefile added brushtest 2008-11-02 03:55:00 +00:00
cache_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
channels_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
cliprdr_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
ctrl_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
disk_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
dvc_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
ewmh_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
licence_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
lspci_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
Makefile Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
mcs_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
mppc_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
notepadbehindwordpad.c Added simple tool for SeamlessRDP testing 2008-03-24 17:49:06 +00:00
notepadbehindwordpad.exe Added simple tool for SeamlessRDP testing 2008-03-24 17:49:06 +00:00
orders_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
parallel_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
parse_geometry_test.c Refactor g_sizeopt into an enumeration for clarity 2018-01-11 15:10:05 +01:00
printer_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
pstcache_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
rdesktop_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
rdp5_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
rdp_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
rdp_test.c Remove double definition of global variables in test 2018-01-11 15:10:05 +01:00
rdpdr_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
rdpedisp_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
README.md Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
resize_test.c Refactor g_sizeopt into an enumeration for clarity 2018-01-11 15:10:05 +01:00
seamless_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
secure_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
serial_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
ssl_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
tcp_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
ui_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
utils_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
utils_test.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
x11_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
xclip_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
xkeymap_mock.c Refactor geometry string parsing 2018-01-11 15:10:05 +01:00
xwin_test.c Refactor g_sizeopt into an enumeration for clarity 2018-01-11 15:10:05 +01:00

Automated test suite

An basic test suite was added while implementing the dynamic resize feature. Improvements to this test suite are very welcome.

Requirements

In addition to the build requirements of rdesktop itself, you also need:

Building and running the tests

cd tests
make

This will build and run each test in turn. Re-running make will recompile the tests as necessary, and run them again.

Cgreen documentation

You can find the Cgreen documentation over at their github site.