Roger A. Light
4a7da066e0
Use mosq_test.get_build_root()
2 years ago
Roger A. Light
41f0d34348
Add mosq_test.env_add_ld_library_path() for tests
2 years ago
Roger A. Light
a31bee722f
Simplify make build.
2 years ago
Roger A. Light
311f13153c
Fix cmake offline client test
2 years ago
Roger Light
92c1899278
Add MOSQ_EVT_CLIENT_OFFLINE.
...
This allows plugins to know when a client with a non-zero session expiry
interval has gone offline.
2 years ago
Roger A. Light
53dc3006a2
Make cJSON a hard dependency.
3 years ago
Roger A. Light
71e87c7561
Some support for running broker sequence tests over websockets
3 years ago
Roger A. Light
365f7047af
Message out event should be able to deny publishes.
3 years ago
Roger A. Light
ff8cac9fa7
Test: v5 subscribe with all options set.
3 years ago
Roger A. Light
fd330de080
client_id -> clientid rename.
3 years ago
Roger A. Light
0dc1fa5a49
Rejig SUBSCRIBE and UNSUBSCRIBE plugin event structs.
3 years ago
Roger A. Light
3e17494d34
Rename topic -> topic_filter in events.
3 years ago
Roger A. Light
9ef6c49266
Renaming and adding tests.
3 years ago
Abilio Marques
1677d1aed2
allow message modification on output
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Roger A. Light
92452aa37c
Test for dhparamfile use.
3 years ago
Roger A. Light
343a984083
Big rejig of library tests
...
Includes full consistency between C/C++ library tests
3 years ago
Norbert Heusser
ba5f8eb448
Cleanup of include guard defines
...
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light
7419aa7530
Add more lib msg sequence tests
3 years ago
Roger A. Light
94b366b5e7
Start of message sequence "fuzzish" tests for library
3 years ago
Roger A. Light
3a9441122c
Code for replaying failed sequence tests to make debugging easier
3 years ago
Roger A. Light
1f0d7a8064
Per group global test settings
3 years ago
Roger A. Light
5c0cfade12
Add http origin checking to built in websockets.
3 years ago
Roger A. Light
99c49d3d39
Remove duplicate tests.
3 years ago
Roger A. Light
529cd609ba
Test improvements.
3 years ago
Roger A. Light
3d5309a622
Complicated config test.
3 years ago
Roger A. Light
06f4b09ae3
Test fixes and bridge leak fixes.
3 years ago
Roger A. Light
c1edce8df8
Plugin loading.
3 years ago
Roger A. Light
b873e1d5d6
Fix some retained topic memory not being cleared immediately after used.
3 years ago
Roger A. Light
8a6bb872fe
Invalid/unsupported plugin tests.
3 years ago
Roger A. Light
907b754566
Add test for MOSQ_EVT_PSK_KEY
3 years ago
Roger A. Light
514f8dc89a
Extend protocol edge-case test suite.
3 years ago
Norbert Heusser
f0300087f6
Added new test for broker missing config file and extend tests for config errors
...
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light
9aeb756dac
Fix Coverity Scan 1499842
3 years ago
Roger A. Light
9d3f19b3bb
Test tidy
3 years ago
Roger A. Light
74ef9eec4c
Don't use deprecated wrap_socket.
3 years ago
Roger A. Light
ad8a841a4a
More robust SSL test.
3 years ago
Roger A. Light
7fb760ef27
Split config parse tests by tls/not.
3 years ago
Roger A. Light
d8bdc17a39
Fix slightly flaky test.
3 years ago
Roger A. Light
01dfb6fea1
Persist: Improve tests
3 years ago
Roger A. Light
16feb14a57
Persistence interface updates and sqlite plugin fixes
...
The MOSQ_EVT_PERSIST_CLIENT_MSG_CLEAR event has been removed, due to
never being called. It is the responsibility of the plugin to remove
client subscriptions and client messages when the client is removed.
Lots of persist test improvements and additions - mostly checking item
counts.
3 years ago
Roger A. Light
ef078b31b5
Make persistence tests easier to use for other plugins.
3 years ago
Roger A. Light
1d230bd255
dynsec: Fix listClients/getClient crashing if an anon user present
...
This only affects the unreleased `develop` branch.
3 years ago
Roger A. Light
3c4d2d0772
Fix persisted clients being restored without a session expiry time.
3 years ago
Roger A. Light
9ab0bc3cbe
Build auth_plugin_v5_handle_tick plugin for cmake tests
3 years ago
Roger A. Light
fd68bf00c7
Merge branch 'master' into develop
3 years ago
Roger A. Light
ba13edc6a4
dynsec: Forbid deleting the anon group.
3 years ago
Roger A. Light
4d1b587e29
dynsec: Forbid deleting the anon group.
3 years ago
Roger A. Light
351911bd8f
Fix incorrect return code being sent in DISCONNECT.
...
This is for when a client session is taken over.
Closes #2607 . Thanks to der-b
3 years ago
Roger A. Light
570d54e4e8
Fix tests on when running under valgrind
3 years ago
Roger A. Light
9b04d0dd36
dynsec: Add roles to group test.
3 years ago