Commit Graph

125 Commits

Author SHA1 Message Date
Roger A. Light
29cf4266d9 Remove old tests from ptest.py. 2018-11-20 23:00:02 +00:00
Roger A. Light
bb745b3308 Client prop test for format-payload-indicator. 2018-11-20 23:00:02 +00:00
Roger A. Light
22f284671d Request-response test with/without correlation data 2018-11-20 18:42:21 +00:00
Roger A. Light
f77c1ca91b private struct mqtt5__property -> public mosquitto_property. 2018-11-01 23:50:54 +00:00
Roger A. Light
12cba75c73 Client support for adding properties. 2018-10-31 12:38:39 +00:00
Roger A. Light
636e813d1c Load of constant renames ahead of making mqtt_protocol.h public. 2018-10-30 11:11:31 +00:00
Roger A. Light
9eebcf6704 Rename property__free_all->mosquitto_property_free_all
Make public function.
2018-10-30 10:16:42 +00:00
Roger A. Light
12fa336140 Handle some incoming PUBLISH properties.
PAYLOAD_FORMAT_INDICATOR, CORRELATION_DATA, USER_PROPERTY, CONTENT_TYPE
are now all passed on to subscribing clients from an incoming PUBLISH
only (not from Wills). The other PUBLISH properties are silently
dropped.
2018-10-25 16:35:24 +01:00
Roger A. Light
6996fd450a Simple pub/sub/unsub tests for v5. 2018-10-25 14:57:41 +01:00
Roger A. Light
52c25fa899 Simple connect test for v5. 2018-10-25 14:43:43 +01:00
Roger A. Light
723d9c2782 Check whether properties are on the correct commands. 2018-10-25 11:23:04 +01:00
Roger A. Light
42896112a1 Pub/sub topic checking tests. 2018-10-16 23:09:08 +01:00
Roger A. Light
1e9e552034 Property write bad identifier test. 2018-10-16 22:57:52 +01:00
Roger A. Light
40ed672ecf Fix topic matching tests and function. 2018-10-16 22:49:13 +01:00
Roger A. Light
77099bb58c Add property write tests. 2018-10-16 21:32:13 +01:00
Roger A. Light
a7fff2ad2e Topic test improvements. 2018-10-16 13:49:38 +01:00
Roger A. Light
6609bbac10 Move topic matching tests to unit tests. Needs improving. 2018-10-10 17:52:41 +01:00
Roger A. Light
c0ff424082 Add property__get_length_all() and property__get_length().
For getting the number of bytes needed for writing a property list.
2018-10-10 14:50:30 +01:00
Roger A. Light
a17dcb4e8f Property string pair, varint and more complicated packet tests. 2018-10-07 00:37:38 +01:00
Roger A. Light
e1d0bde0b1 Binary property read tests. 2018-10-05 12:43:05 +01:00
Roger A. Light
194d013279 Finish property string read tests. 2018-10-04 23:08:53 +01:00
Roger A. Light
bc1caedc32 Some property string read tests. 2018-10-04 22:49:34 +01:00
Roger A. Light
f59526a014 Property read in16 tests. 2018-10-04 21:16:46 +01:00
Roger A. Light
e14b613a02 Property read int32 tests. 2018-10-04 19:04:21 +01:00
Roger A. Light
f4b2838574 Property reading, and tests for byte properties. 2018-10-04 17:18:57 +01:00
Roger A. Light
34c8c28e9d Remove old UTF-8 tests. 2018-10-04 13:18:46 +01:00
Roger A. Light
cdb22edb1c Split malformed UTF-8 validation tests to ensure better coverage. 2018-10-04 12:04:40 +01:00
Roger A. Light
1635dd3883 Multiple bytes read tests. 2018-10-04 09:23:42 +01:00
Roger A. Light
c9d9ad8e72 UTF-8 validation tests and fixes. 2018-10-04 09:03:54 +01:00
Roger A. Light
8c7220d7a5 UTF-8 String write tests. 2018-10-03 22:37:57 +01:00
Roger A. Light
c124b07929 Four Byte Integer write test. 2018-10-03 22:29:45 +01:00
Roger A. Light
e701608e71 Two Byte Integer write test. 2018-10-03 22:22:42 +01:00
Roger A. Light
eec3220622 Byte write test. 2018-10-03 21:54:10 +01:00
Roger A. Light
72131c84ce Binary data read functions and tests. 2018-10-03 21:35:33 +01:00
Roger A. Light
99e324e860 Make test strings unsigned. 2018-10-03 20:50:39 +01:00
Roger A. Light
ed06255847 Rename to _read so _write can be separate. 2018-10-03 20:40:56 +01:00
Roger A. Light
debf7493ad UTF-8 validation tests and fixes. 2018-10-03 18:42:15 +01:00
Roger A. Light
0fad0bd025 UTF-8 String read tests. 2018-10-03 15:04:55 +01:00
Roger A. Light
d532253f10 Byte read tests. 2018-10-03 13:02:58 +01:00
Roger A. Light
d157e5c41e Four Byte Integer read tests. 2018-10-03 12:40:16 +01:00
Roger A. Light
ff67672a2c Two Byte Integer read tests. 2018-10-03 12:04:26 +01:00
Roger A. Light
b6b8da1fa6 Variable Byte Integer reading tests. 2018-10-03 11:57:20 +01:00
Roger A. Light
9df05e93c0 Add test for $test publishing bug. 2018-09-25 14:25:54 +01:00
Roger A. Light
ba175e581e Update expired test certs. 2018-09-18 11:53:11 +01:00
Roger A. Light
f6f509031a Add missing test. 2018-08-16 23:23:56 +01:00
Roger A. Light
11395f9852 Fix accessor functions for username and client id when used in plugin auth check. 2018-08-16 17:00:00 +01:00
Roger A. Light
6a75eb377b Add test for issue in #828.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-09 13:01:34 +01:00
Roger A. Light
7c496153a9 Add test for issue 505. 2018-08-09 11:24:45 +01:00
Roger A. Light
50abaedaff Add new test to parallel test script.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-08 13:49:12 +01:00
Wolfgang Hottgenroth
50b0c0b1f1 Add test which currently fails.
Signed-off-by: Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>
2018-08-08 13:42:50 +01:00