hsaturn
02496bef73
[test] Test added for retain
2023-03-22 20:31:05 +01:00
hsaturn
143d57db2d
Re-enabled lot of local unit tests
2023-02-22 07:40:12 +01:00
hsaturn
2a8dbd09c5
Memory deletion fixes
2023-02-20 05:24:35 +01:00
hsaturn
9228408f57
[tests] Added -Wall and use TinyConsole::string
2023-02-20 02:39:43 +01:00
hsaturn
1653b2e386
[tests] Added a compilation test (based on example tiny-tests)
2023-02-20 02:28:22 +01:00
Francois BIOT
775fbc14ee
[tests] Use TinyConsole::string instead of any
2023-02-20 02:24:39 +01:00
hsaturn
c21b7b63fb
[tests] Removed warning and using namespace std
2023-02-20 02:21:33 +01:00
hsaturn
2eeda4ecab
[makefiles] Added missing Makefile.opt
2023-02-15 05:39:17 +01:00
hsaturn
787cb77a26
String indexer std::string removed
2023-02-15 05:37:23 +01:00
hsaturn
8641627742
Re-added flto in makefile
2023-01-15 16:04:16 +01:00
hsaturn
3b2460572b
Fix unit tests
2023-01-14 14:26:30 +01:00
hsaturn
baffda8a6d
MqttClient - fix local disconnect after pulish + ka
2023-01-03 04:25:26 +01:00
hsaturn
292592c3dd
Added missing Makefile for unit test of MqttClassBinder
2022-12-29 02:17:54 +01:00
Francois BIOT
2b92833ea5
Remove spaces to end of lines
2022-12-28 21:22:19 +01:00
hsaturn
220e904ae9
Add MqttClassBinder
2022-12-28 19:34:29 +01:00
HSaturn
18ce34c458
:xDefault client is no more empty
2022-12-17 18:36:32 +01:00
Francois BIOT
744a590467
Replaced tabs by spaces
2022-12-03 20:47:02 +01:00
hsaturn
4726ff293c
[MqttClient] Fix keep_alive decoding
2022-12-03 20:23:15 +01:00
hsaturn
3358340319
Fix unit tests
2022-11-30 20:52:29 +01:00
hsaturn
96766f7091
[Topic] Wildcards added
...
+ wildcard added
# wildcard added
* wildcard added (but does not appear in mqtt specification...)
$SYS messages compare is supported
2022-11-21 01:37:55 +01:00
hsaturn
354aec239f
[tests] Re-added debug mode in tests
...
The EXTRA_FLAGS needs some clean before running tests.
This commit allows to compile twice for this situation, but it is not perfect
because EXTRA_CFLAGS can still cause some problems. The tests Makefile should
be able to detect this and to group builds and tests with each own EXTRA flags.
2022-10-31 02:12:15 +01:00
hsaturn
3839a0a830
[tests] Fix unit tests timed out
...
The debug-tests was changing the compilation (TINY_MQTT_DEBUG on)
Thus the other tests were too long to execute due to Serial output emulation.
2022-10-31 01:49:11 +01:00
hsaturn
0444a4c348
[tests] removed useless code in debug-tests.ino
2022-10-31 01:35:21 +01:00
hsaturn
b7d44445af
[tests] Added a debug mode compilation phase (and fixed it)
2022-10-31 01:20:30 +01:00
hsaturn
e7fc147424
Changed tab to spaces
2022-10-30 21:43:45 +01:00
hsaturn
f5e9a43461
[StringIndexer] Fix compare bug and moved strToIndex to private
...
strToIndex is dangerous because it can increment the use of a string, or
create a new string. This method should only be called by IndexedString.
2022-10-30 21:41:52 +01:00
hsaturn
cabb56fc8c
[tests] Added -g3 for tests for debugging purposes
2022-10-30 20:44:44 +01:00
hsaturn
4eb8f18ebf
[MqttMessage] Rewrite of the length encoding
2022-10-30 13:24:05 +01:00
hsaturn
da3ec41d71
Update network-tests.ino
...
Remove useless code
2022-01-10 05:27:15 +01:00
hsaturn
5f7b4537c8
Enhance PR#22
2022-01-05 02:03:42 +01:00
hsaturn
cce4fecac6
Fix test local_client_should_unregister_when_destroyed
2022-01-05 02:02:18 +01:00
hsaturn
a5b8afc0bd
Added some ifdef for debugging purposes
2022-01-05 01:56:45 +01:00
hsaturn
dfd5983715
Rewrite comments and added hudge payload test
2021-09-20 01:57:40 +02:00
hsaturn
4dcc6a6cf4
Minor changes
2021-09-19 12:40:04 +02:00
hsaturn
b58f3e3d67
Merge branch 'issue_2_broken_large_payloads' into main
2021-09-17 22:35:28 +02:00
hsaturn
a6b3540cb8
Fix issue_2 : Broken large payloads
2021-09-17 22:32:00 +02:00
hsaturn
ccbf42f81b
howto added for building and running tests
2021-09-17 19:58:24 +02:00
hsaturn
c1fd1bc907
Remove pending length test
2021-08-09 10:44:19 +02:00
hsaturn
d919188eb0
Merge pull request #15 from bxparks/epoxyfix
...
Fix unit tests for EpoxyDuino
2021-08-09 10:39:26 +02:00
hsaturn
9c7f3b6b8e
Fix of decode length
2021-08-09 10:37:46 +02:00
Brian Park
88c7d552cb
Fix unit tests for EpoxyDuino
2021-08-08 19:37:04 -07:00
hsaturn
c4cf39ab68
Fix aunit tests
2021-08-09 02:33:01 +02:00
hsaturn
024e80c9dc
Perpare for future ESP32 aunit tests
2021-04-28 21:00:31 +00:00
hsaturn
c75f4893e8
AsyncTcp
...
AsyncTcp
2021-04-10 17:16:25 +02:00
hsaturn
67a296eb28
Fix too many things in StringIndexer test
2021-04-10 15:39:42 +02:00
hsaturn
ca8ad88109
Refactoring of EspMock
2021-04-07 06:44:15 +02:00
hsaturn
62868cba34
Fix payload test (the payload was sent, the test was buggy)
2021-04-05 13:54:40 +02:00
hsaturn
297a22efb5
Big rewrite of MqttClient in order to avoid code duplicate
2021-04-04 05:57:48 +02:00
hsaturn
510ff514a9
[tests] Changed assertions
2021-04-04 01:07:12 +02:00
hsaturn
ad6f7155e5
Added test for StringIndexer
2021-04-03 21:11:54 +02:00