Roger A. Light
2fcf246f07
Fix potential crashes on memory alloc failure in tests only.
7 years ago
Roger A. Light
2a5995106a
Fix Coverity Scan defect 140436. Null dereference.
7 years ago
Roger A. Light
43c159b9a5
Support and tests for saving message expiry interval.
7 years ago
Roger A. Light
5841da2c36
Tests for persisting message store properties.
7 years ago
Roger A. Light
efb20625fb
Code and tests for persisting client msg properties.
7 years ago
Roger A. Light
48253bc12c
Persist message store publish properties.
7 years ago
Roger A. Light
2f15a7be2b
Add subscription-identifier and options to persistence.
7 years ago
Roger A. Light
214a5f3aab
v5 persistence file format
...
This includes changes to improve read/write performance.
It is not complete, and will have further changes to add properties and anything else required for MQTT v5.
7 years ago
Roger A. Light
e249ca7e91
Separate the persistence actual writing functions.
7 years ago
Roger A. Light
7a53b28080
Start of persistence writing tests.
7 years ago
Roger A. Light
a7d0660749
Separate out persist reading code from restoring code.
7 years ago
Roger A. Light
9411d94842
Start of tests for persistence reading.
7 years ago
Roger A. Light
72941db546
Coverity fixes
...
1399064
1399065
1398655
1398656
1398654
1399067
1399066
1399063
1399060
1399059
1399068
1399062
1398657
1398653
1302848
1302847
1399070
7 years ago
Roger A. Light
b9b8e0ff2a
Add client support for outgoing maximum packet size.
7 years ago
Roger A. Light
bb914b985c
Fix `mosquitto_topic_matches_sub()` rc with sub=="topic/#abc".
...
This now returns MOSQ_ERR_INVAL as expected.
7 years ago
Roger A. Light
b6fb2c5824
Fix property write test after function changes.
7 years ago
Roger A. Light
00c4fd137a
More UTF-8 tests.
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
f77c1ca91b
private struct mqtt5__property -> public mosquitto_property.
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
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
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