Roger A. Light
d5108956bf
Process session-expiry-interval on CONNECT and DISCONNECT.
...
Add test to check for invalid values.
2018-11-27 12:23:21 +00:00
Roger A. Light
34e7da426c
Use test helper for importing modules.
2018-11-27 11:26:21 +00:00
Roger A. Light
c31aae25a8
Fix v5 tests with no CONNECT properties.
2018-11-27 10:01:56 +00:00
Roger A. Light
3647dc357a
Test for retain_available=false.
2018-11-22 21:32:49 +00:00
Roger A. Light
0123ff1efe
Rename *_with_properties() -> *_v5().
2018-11-22 18:55:04 +00:00
Roger Light
17d213b79a
Declare lack of support for shared subs and sub IDs.
2018-11-22 18:54:12 +00:00
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