Commit graph

21 commits

Author SHA1 Message Date
afc0d3aa27 Bugfix: Do not allow DUP flag for QoS 0
Re #11
2018-07-30 22:20:10 +02:00
254194dfc6 Add client id sanity check
Re #10
2018-07-30 22:13:37 +02:00
9b89eba536 Set last will in publish test to increase coverage 2018-07-30 22:06:47 +02:00
cfd8934779 Bugfix: Implement last will correctly, fix some QoS handling and allow for clean session
Re #4
2018-07-30 22:04:54 +02:00
883a3cc476 Increase coverage by subscribing to more than one topic and unsubscribing afterwards. 2018-07-30 03:14:24 +02:00
323d8916e0 Automatically run tests again 2018-07-30 02:59:12 +02:00
022b5a87ec Make connect tests work (needs a local MQTT broker) 2018-07-30 02:57:58 +02:00
5d746b6787 Cleanup whitespace 2018-07-30 02:57:40 +02:00
31cf6d965d Bugfix: Some packets need fixed flags in header, missed that in the spec 2018-07-30 02:54:37 +02:00
db273fc8a4 Start implementation of protocol statemachine 2018-07-29 03:43:01 +02:00
091e6bf4b9 General cleanup 2018-07-29 03:41:55 +02:00
fe3a4d0b58 Hide internal API again and modify tests so coverage will be higher 2018-07-28 22:35:15 +02:00
053434f2bd Add decoder tests 2018-07-28 20:42:32 +02:00
a16d50b717 Modify existing tests to new test.h 2018-07-28 20:40:59 +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
7e4afa462d Cleanup 2018-07-28 02:51:38 +02:00
9c7b65b74c VSCode settings updated to squelch linter 2018-07-28 02:38:07 +02:00
6ff7d2a841 Implement packet encoder, start writing tests 2018-07-28 02:30:41 +02:00
4a32facdb5 Initial commit 2018-07-27 02:25:06 +02:00