Roger A. Light
e5f58a8ff3
Test for unsupported extended auth.
2019-04-02 10:22:16 +01:00
Roger A. Light
7e49d91898
Convert tests to Python 3
2019-03-28 21:32:12 +00:00
Roger A. Light
75c2a39d2c
Send topic alias maximum from the broker.
2019-03-27 17:38:35 +00:00
Roger A. Light
c944f840a6
Don't advertise shared subs as unavailable any more.
2019-03-14 10:58:15 +00:00
Roger A. Light
3b6b6d5fa8
Test improvements
...
And some related fixes.
2019-02-27 09:27:34 +00:00
Roger A. Light
c506c8335b
Will delay tests and implementation.
2019-02-27 09:27:34 +00:00
Roger A. Light
1ec0cea34a
Fix missing reason_code on v5 UNSUBACK.
...
Closes #1167 . Thanks to Christoph Krey.
2019-02-17 09:30:06 +00:00
Roger A. Light
084062c85e
Merge branch 'fixes' into mqtt5
2019-02-12 17:05:42 +00:00
Roger A. Light
36b5421c59
Fix and tests for security bug #543401 .
2019-02-08 13:01:07 +00:00
Roger A. Light
873ffce27a
Send DISCONNECT on invalid topic alias, plus test.
2019-01-25 22:53:31 +00:00
Roger A. Light
219f47b07f
Add test for multiple unsubscribe.
2019-01-25 21:38:33 +00:00
Roger A. Light
ca3782b38d
Test and fixes for will message expiry interval.
2019-01-22 17:51:57 +00:00
Roger A. Light
0a9885aea1
Rename "resv" in connack to "flags" to better match v5 spec.
2019-01-22 12:12:18 +00:00
Roger Light
8513af4da5
Tests and fixes for shortened DISCONNECT packets.
2019-01-17 18:51:23 +00:00
Roger Light
4b97a90ef9
Tests and fixes for truncated PUB* packets
...
For the cases where reason_code is 0, or properties are missing.
2019-01-17 17:24:31 +00:00
Roger Light
9aec82b0e1
Finalise test proplists in the packet gen funcs.
...
This makes it easier to add part of a proplist in the test itself, and have the gen func add some more.
2019-01-08 18:37:38 +00:00
Roger Light
67c1d4453e
Receive maximum support for clients.
2019-01-08 14:24:41 +00:00
Roger A. Light
c1baf21185
Add tests for subscription identifiers.
2018-12-23 21:39:15 +00:00
Roger A. Light
7c3666d593
Subscription identifier support.
2018-12-20 15:32:43 +00:00
Roger A. Light
fda66e8311
Add broker test for assigned client id.
2018-12-05 20:26:43 +00:00
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
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 Light
17d213b79a
Declare lack of support for shared subs and sub IDs.
2018-11-22 18:54:12 +00:00
Roger A. Light
bb745b3308
Client prop test for format-payload-indicator.
2018-11-20 23:00:02 +00:00
Roger A. Light
12cba75c73
Client support for adding properties.
2018-10-31 12:38:39 +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
cd271041f5
Add test for issue #874 .
2018-08-01 19:26:12 +01:00
Roger A. Light
ba71bc3b32
Experimental parallel testing for library.
2018-04-16 10:02:22 +01:00
Roger A. Light
5d2f5c25d7
Experimental parallel testing for broker.
2018-04-15 23:38:18 +01:00
Roger A. Light
51aa7b7121
Update tests as a step towards parallelism.
2018-04-13 22:04:40 +01:00
Roger A. Light
8cb3a29fd7
Fix a variety of protocol handling errors.
...
Closes #704
Closes #705
Closes #730
Closes #732
Thanks to Umberto Boscolo.
2018-04-13 12:41:34 +01:00
Roger A. Light
e74203de2c
Merge branch 'master' into develop
2017-07-16 22:52:01 +01:00
Roger A. Light
96db6d6644
Fix CONNECT check for reserved=0, as per MQTT v3.1.1 check MQTT-3.1.2-3.
2017-06-27 11:11:43 +01:00
Karl Palsson
9d00eab64c
tests: support generating longer publish packets
...
Remaining length for publish packets wasn't being handled completely.
Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-08-17 10:27:37 +00:00
Roger A. Light
883af8af53
Better subtree searching.
2016-07-19 15:05:53 +01:00
Roger A. Light
1c3988a397
Merge branch 'master' into develop
2016-06-21 23:33:58 +01:00
Roger A. Light
30686f2dc9
Fix mosquitto_topic_matches_sub().
2016-06-02 20:53:09 +01:00
Roger A. Light
07b21f0fe5
Fix minor test problems highlighted by codacy.com.
2016-04-09 22:18:11 +01:00
Roger A. Light
8906d67ad4
Default to MQTT v3.1.1 in tests.
2016-03-13 08:01:39 +00:00
Roger A. Light
405b7f0aab
Don't free here, leads to potential double free.
2014-07-03 17:37:31 +01:00
Roger A. Light
fd9496433c
Configure client tests for valgrind.
2014-07-01 22:02:06 +01:00
Roger A. Light
39674a443e
Need bigger delay for valgrind.
2014-06-30 22:55:56 +01:00
Roger A. Light
6427105bf6
Tests can now use valgrind.
2014-06-26 23:12:55 +01:00
Roger Light
0364bd1be7
Initial contribution.
2014-05-07 23:27:00 +01:00