rdesktop/tests
Pierre Ossman 3e340f2f20 Add explicit STREAM allocation function
Avoids mistakes by making sure everyone allocates these the same
way.

The smart card code still has manual allocation because it has it's
own magical memory management.
2019-05-06 14:33:05 +02:00
..
asn_test.c Add explicit STREAM allocation function 2019-05-06 14:33:05 +02: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
iso_mock.c Add test for Conference Join Request packet creation 2018-01-31 11:03:32 +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 Added ber_out_sequence() util for writing ASN.1 sequences 2018-01-31 11:03:32 +01:00
mcs_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
mcs_test.c Add explicit STREAM allocation function 2019-05-06 14:33:05 +02: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 Rename of global variable 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 Add explicit STREAM allocation function 2019-05-06 14:33:05 +02:00
seamless_mock.c Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
secure_mock.c Add test for Conference Join Request packet creation 2018-01-31 11:03:32 +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_mock.c Refactor handling of user requested window sizes 2018-01-11 15:10:05 +01:00
xwin_test.c Rename of global variable 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.