Roger A. Light
fcf4cd0b27
Merge branch 'master' into mqtt5
7 years ago
Roger A. Light
31e6dbbe74
Tests and fixes for subscription options.
7 years ago
Roger A. Light
94fdc9cb44
Disallow UTF-8 control characters.
7 years ago
Roger A. Light
bc1349c0d7
Tests for user facing mosquitto_string_to_property_info function.
7 years ago
Roger A. Light
8b368aeb6b
Fix memory leaks in tests.
7 years ago
Roger A. Light
699e5c762f
Tests for user facing read functions.
7 years ago
Roger A. Light
679a9a54a5
Tests for user facing property add functions.
7 years ago
Roger A. Light
1e6117bcf5
Fix duplicate string property tests.
7 years ago
Roger A. Light
4fe75b1af0
Make user functions for reading properties easier to use.
7 years ago
Roger A. Light
608b8d33e7
Remove no longer used file.
7 years ago
Roger A. Light
9896e61727
Test and small fix for response-topic and correlation-data props.
7 years ago
Roger A. Light
6ef2c79e9a
Add max_keepalive, for limiting keepalives of MQTT v5 clients.
7 years ago
Roger A. Light
fda66e8311
Add broker test for assigned client id.
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
d5108956bf
Process session-expiry-interval on CONNECT and DISCONNECT.
...
Add test to check for invalid values.
7 years ago
Roger A. Light
34e7da426c
Use test helper for importing modules.
7 years ago
Roger A. Light
c31aae25a8
Fix v5 tests with no CONNECT properties.
7 years ago
Roger A. Light
3647dc357a
Test for retain_available=false.
7 years ago
Roger A. Light
0123ff1efe
Rename *_with_properties() -> *_v5().
7 years ago
Roger Light
17d213b79a
Declare lack of support for shared subs and sub IDs.
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
353990e856
Tidy up test directory.
7 years ago
Roger A. Light
d7bcec4878
Don't disconnect clients when a plugin denies SUBSCRIBE.
...
Thanks to Ibrahim Koujar.
Bug: https://github.com/eclipse/mosquitto/issues/1016
7 years ago
Roger A. Light
c26892244c
Test x509 generation script requires no interaction now.
7 years ago
Roger A. Light
f77c1ca91b
private struct mqtt5__property -> public mosquitto_property.
7 years ago
Roger A. Light
12cba75c73
Client support for adding properties.
7 years ago
Roger A. Light
636e813d1c
Load of constant renames ahead of making mqtt_protocol.h public.
7 years ago
Roger A. Light
9eebcf6704
Rename property__free_all->mosquitto_property_free_all
...
Make public function.
7 years ago
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.
7 years ago
Roger A. Light
6996fd450a
Simple pub/sub/unsub tests for v5.
7 years ago
Roger A. Light
52c25fa899
Simple connect test for v5.
7 years ago
Roger A. Light
723d9c2782
Check whether properties are on the correct commands.
7 years ago
Roger A. Light
42896112a1
Pub/sub topic checking tests.
7 years ago
Roger A. Light
1e9e552034
Property write bad identifier test.
7 years ago
Roger A. Light
40ed672ecf
Fix topic matching tests and function.
7 years ago
Roger A. Light
77099bb58c
Add property write tests.
7 years ago
Roger A. Light
a7fff2ad2e
Topic test improvements.
7 years ago
Roger A. Light
6609bbac10
Move topic matching tests to unit tests. Needs improving.
7 years ago
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.
7 years ago
Roger A. Light
a17dcb4e8f
Property string pair, varint and more complicated packet tests.
7 years ago
Roger A. Light
e1d0bde0b1
Binary property read tests.
7 years ago
Roger A. Light
194d013279
Finish property string read tests.
7 years ago
Roger A. Light
bc1caedc32
Some property string read tests.
7 years ago
Roger A. Light
f59526a014
Property read in16 tests.
7 years ago
Roger A. Light
e14b613a02
Property read int32 tests.
7 years ago
Roger A. Light
f4b2838574
Property reading, and tests for byte properties.
7 years ago
Roger A. Light
34c8c28e9d
Remove old UTF-8 tests.
7 years ago
Roger A. Light
cdb22edb1c
Split malformed UTF-8 validation tests to ensure better coverage.
7 years ago
Roger A. Light
1635dd3883
Multiple bytes read tests.
7 years ago
Roger A. Light
c9d9ad8e72
UTF-8 validation tests and fixes.
7 years ago
Roger A. Light
8c7220d7a5
UTF-8 String write tests.
7 years ago
Roger A. Light
c124b07929
Four Byte Integer write test.
7 years ago
Roger A. Light
e701608e71
Two Byte Integer write test.
7 years ago
Roger A. Light
eec3220622
Byte write test.
7 years ago
Roger A. Light
72131c84ce
Binary data read functions and tests.
7 years ago
Roger A. Light
99e324e860
Make test strings unsigned.
7 years ago
Roger A. Light
ed06255847
Rename to _read so _write can be separate.
7 years ago
Roger A. Light
debf7493ad
UTF-8 validation tests and fixes.
7 years ago
Roger A. Light
0fad0bd025
UTF-8 String read tests.
7 years ago
Roger A. Light
d532253f10
Byte read tests.
7 years ago
Roger A. Light
d157e5c41e
Four Byte Integer read tests.
7 years ago
Roger A. Light
ff67672a2c
Two Byte Integer read tests.
7 years ago
Roger A. Light
b6b8da1fa6
Variable Byte Integer reading tests.
7 years ago
Roger A. Light
9df05e93c0
Add test for $test publishing bug.
7 years ago
Roger A. Light
ba175e581e
Update expired test certs.
7 years ago
Roger A. Light
f6f509031a
Add missing test.
7 years ago
Roger A. Light
11395f9852
Fix accessor functions for username and client id when used in plugin auth check.
7 years ago
Roger A. Light
6a75eb377b
Add test for issue in #828 .
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
7c496153a9
Add test for issue 505.
7 years ago
Roger A. Light
50abaedaff
Add new test to parallel test script.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Wolfgang Hottgenroth
50b0c0b1f1
Add test which currently fails.
...
Signed-off-by: Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>
7 years ago
Wolfgang Hottgenroth
9912418f78
Change test scripts according to hints in #507 (replace localhost by 127.0.0.1)
...
Signed-off-by: Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>
7 years ago
Roger A. Light
f40ccd195d
Disable queued bytes test pending a fix.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
9fd55c0d44
Simplify broker tests with helper function.
7 years ago
Roger A. Light
40e2eab4c4
Disable queued bytes test temporarily.
7 years ago
Roger A. Light
cd271041f5
Add test for issue #874 .
7 years ago
Roger A. Light
d3b3ba86f1
Updated crude performance test.
8 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
51aa7b7121
Update tests as a step towards parallelism.
8 years ago
Roger A. Light
8cb3a29fd7
Fix a variety of protocol handling errors.
...
Closes #704
Closes #705
Closes #730
Closes #732
Thanks to Umberto Boscolo.
8 years ago
Roger A. Light
7615ae24ce
Handle CONNECT protocol errors.
...
Don't allow username when no username flag set.
Don't allow password when no password flag set.
Closes #730 . Closes #731 .
Thanks to Umberto Boscolo.
8 years ago
Roger A. Light
729a09310a
Add UTF-8 tests, plus some validation fixes.
...
Closes #693 .
8 years ago
Roger A. Light
24d68b5af8
Remove support for openssl 1.0.0 and 1.0.1.
...
These are no longer supported by openssl.
8 years ago
Roger A. Light
8676cc0359
Replace mentions of deprecated 'c_rehash' with 'openssl rehash'.
8 years ago
Roger A. Light
40e6a75709
Use c99 as compiling standard.
...
Closes : #765 .
8 years ago
Roger A. Light
c3314fd593
Add missing tests ( Closes #748 ).
8 years ago
Roger A. Light
dbdd113c86
Merge branch 'develop' of github.com:eclipse/mosquitto into develop
8 years ago
Roger A. Light
a979ed6535
Per listener plugins.
8 years ago
Pierre Fersing
6dd63d3000
Add more test for auth-plugin
...
Tests for:
* MOSQ_ACL_SUBSCRIBE acl check
* MOSQ_ERR_PLUGIN_DEFER with 2 auth-plugin
* Binary compatibility with v2 of auth-plugin
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
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
Tatsuzo Osawa
024fd400d4
Fix Unsubscribe with No Topic
...
Signed-off-by: Tatsuzo Osawa <tatsuzo.osawa@gmail.com>
8 years ago
Pierre Fersing
7775924bae
[534]Fix upgrade_outgoing_qos for retained message
8 years ago
Pierre Fersing
a47c1a821b
Add test for bridge topic name mapping
...
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
8 years ago
Roger A. Light
d2118aeb17
[636] Don't run TLS-PSK tests when disabled at compile time.
...
Thanks to 'TBK'.
Bug: https://github.com/eclipse/mosquitto/issues/636
8 years ago
Tatsuzo Osawa
355bb37ab9
Fix 08-ssl-bridge.conf to dial localhost by ipv4.
...
Signed-off-by: Tatsuzo Osawa <tatsuzo.osawa@gmail.com>
8 years ago