Roger A. Light
d6c7923d16
Add `make check` and document testing procedure.
...
Also support test target in cmake.
7 years ago
Roger A. Light
689989cc56
Fix inflight quota inc/dec for both broker and library.
7 years ago
Roger A. Light
7e49d91898
Convert tests to Python 3
7 years ago
Roger A. Light
5f0cb3a44c
Possible fix for errant test.
7 years ago
Roger A. Light
7b002abd7e
Sort tests.
7 years ago
Roger A. Light
36f10c7623
Update tests to not use TLS 1.0.
7 years ago
Roger A. Light
571c643b3d
More C90 fixes for travis.
7 years ago
Roger A. Light
b9b8e0ff2a
Add client support for outgoing maximum packet size.
7 years ago
Roger A. Light
66c1e2ccf0
Add mosquitto_unsubscribe_multiple(), plus tests.
7 years ago
Roger A. Light
c823073be6
v5 unsubscribe test, single topic.
7 years ago
Roger A. Light
baa4642bd3
Generic ptest implementation.
7 years ago
Roger A. Light
1cc3e558ee
Test for server keepalive.
7 years ago
Roger Light
4b97a90ef9
Tests and fixes for truncated PUB* packets
...
For the cases where reason_code is 0, or properties are missing.
7 years ago
Roger A. Light
326292681a
Add maximum-qos support to broker and client.
...
This comes in the form of:
* Per listener maximum_qos option, which can be in the range 0-2.
* Changes to mosquitto_publish*() to return MOSQ_ERR_QOS_NOT_SUPPORTED
if attempting to publish with a higher QoS than supported.
* Bridges will downgrade messages to match the maximum QoS.
More tests on the broker side (specifically bridges) are required. This
needs bridge support for MQTT 5 first.
7 years ago
Roger Light
930a314caf
Add reason_code to on_publish_v5 callback.
7 years ago
Roger Light
740a128769
Support PUBREC reason code >=0x80 as partial qos2 flow.
7 years ago
Roger Light
6119f83571
Add receive-maximum=1 test for client.
7 years ago
Roger A. Light
aeba5b5d0d
Fix and tests for client side receive-maximum.
7 years ago
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.
7 years ago
Roger A. Light
4fe75b1af0
Make user functions for reading properties easier to use.
7 years ago
Roger A. Light
f01042fb97
Simplify test makefiles.
7 years ago
Roger A. Light
085fdf3593
Add tests for Content Type property sending.
7 years ago
Roger A. Light
34e7da426c
Use test helper for importing modules.
7 years ago
Roger A. Light
0123ff1efe
Rename *_with_properties() -> *_v5().
7 years ago
Roger A. Light
29cf4266d9
Remove old tests from ptest.py.
7 years ago
Roger A. Light
bb745b3308
Client prop test for format-payload-indicator.
7 years ago
Roger A. Light
22f284671d
Request-response test with/without correlation data
7 years ago
Roger A. Light
6609bbac10
Move topic matching tests to unit tests. Needs improving.
7 years ago
Roger A. Light
34c8c28e9d
Remove old UTF-8 tests.
7 years ago
Roger A. Light
ba71bc3b32
Experimental parallel testing for library.
8 years ago
Roger A. Light
5d2f5c25d7
Experimental parallel testing for broker.
8 years ago
Roger A. Light
81cb7ab547
Merge branch 'fixes' into develop
8 years ago
Roger A. Light
b02c1a41bb
[670] Fix topic matching of foo/bar against foo/+/#
...
Thanks to mrdis.
Bug: https://github.com/eclipse/mosquitto/issues/670
8 years ago
Roger A. Light
b11855821e
Update UTF-8 validation checks.
8 years ago
Roger A. Light
1c3988a397
Merge branch 'master' into develop
9 years ago
Roger A. Light
a8a5daf06b
Check client topic inputs for valid UTF-8.
9 years ago
Roger A. Light
30686f2dc9
Fix mosquitto_topic_matches_sub().
9 years ago
Roger A. Light
4a67fcebc5
More codacy test fixes.
10 years ago
Roger A. Light
07b21f0fe5
Fix minor test problems highlighted by codacy.com.
10 years ago
Roger A. Light
37dceb38f9
Fix some defects discovered by coverity.
10 years ago
Roger A. Light
cdbe62c2bb
Outgoing messages with QoS>0 are no longer retried after a timeout.
...
This change in behaviour can be justified by considering when the
timeout may have occurred.
* If a connection is unreliable and has dropped, but without one end
noticing, the messages will be retried on reconnection. Sending
additional PUBLISH or PUBREL would not have changed anything.
* If a client is overloaded/unable to respond/has a slow connection then
sending additional PUBLISH or PUBREL would not help the client catch
up. Once the backlog has cleared the client will respond. If it is not
able to catch up, sending additional duplicates would not help either.
11 years ago
Roger A. Light
ff038b312a
Disable fake ca test.
11 years ago
Roger A. Light
4c72b2dd45
[457373] Fix tests when compiled with WITH_TLS=no.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=457373
11 years ago
Roger A. Light
5b6f6976c7
Fix use of "dup" with pubrel, subscribe, unsubscribe.
...
Thanks to Paolo Patierno.
11 years ago
Roger A. Light
94cd34c86d
Add executable permissions.
11 years ago
Roger A. Light
cabcada849
Test fixes.
11 years ago
Roger A. Light
fd9496433c
Configure client tests for valgrind.
11 years ago
Roger A. Light
5146779c44
Add client test for encrypted x509 keys.
12 years ago
Roger Light
9ff56eefd0
Fix topic matching edge case.
...
Thanks to Tobias Assarsson.
12 years ago
Roger Light
0364bd1be7
Initial contribution.
12 years ago