Commit graph

10 commits

Author SHA1 Message Date
ccd0ea3bf8 Port to MSVC/Windows
The encode and decode packet tests do not work currently as the compiler does not like the test harnish.

connect - publish and connect - subscribe work though and seem to not crash for now.
It is possible that the mqtt.dll is not working correctly right now, possibly the exports are not right.

Re #21
2018-08-05 02:28:38 +02:00
24b9d6c3c6 Eliminate -Wextra warnings 2018-08-01 01:55:32 +02:00
Johannes Schriewer
a9ecc71ad6 Disable buffered stdout for test files 2018-07-31 17:42:20 +02:00
7123331e6d Remove unused code 2018-07-30 23:24:59 +02:00
745485dde3 Cleanup 2018-07-30 22:27:27 +02:00
091e6bf4b9 General cleanup 2018-07-29 03:41:55 +02:00
8548dcaeb2 Modify test harnish:
- Successful TESTASSERTs now continue on
- Failed TESTASSERTs stop the test function with an error message
- Test binary outputs summary at end
- Tests have to be finished with TEST_OK()
2018-07-28 20:37:17 +02:00
74a29da7df Implement tests for all encoder functions 2018-07-28 17:57:19 +02:00
b7a41b932c Extend test harnish to auto-hexdump on buffer differences 2018-07-28 16:09:34 +02:00
6ff7d2a841 Implement packet encoder, start writing tests 2018-07-28 02:30:41 +02:00