Commit graph

53 commits

Author SHA1 Message Date
Jonny
5ae8155866 Tweak CAN still-alive tests to more reliably construct batteries (and change name) 2025-09-08 10:34:49 +01:00
Jonny
96b3293023 Add tests to make sure batteries aren't renewing liveness on bogus CAN frames 2025-09-08 09:36:53 +01:00
Jonny
036f9aa4b9 Make the CAN log tests check for aliveness 2025-09-07 22:46:11 +01:00
Jonny
5555b38fea Tidy up parameterised test names 2025-09-07 22:45:12 +01:00
Jonny
7d8accb95d Change can log test flags 2025-09-07 09:40:17 +01:00
Jonny
fd9d1ec714 Add CAN log replay based battery tests 2025-09-07 08:58:30 +01:00
Jonny
7f8f48756d Tidy up and add more test stubs 2025-09-07 08:58:30 +01:00
pre-commit-ci[bot]
630c67a482 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-09-02 18:57:25 +00:00
Daniel Öster
081d96e055 Fix unit tests after removal of USER_SETTINGS 2025-09-02 21:56:30 +03:00
Daniel Öster
53d40cbe51 Remove USER_SETTINGS for good 2025-09-02 21:18:15 +03:00
Daniel Öster
12cc542a42 Make tests pass 2025-09-01 21:27:09 +03:00
Daniel Öster
7c72526946 Make tests pass 2025-08-31 15:08:45 +03:00
Daniel Öster
c3caad4da7
Merge branch 'main' into feature/lilygo_t_2can 2025-08-31 14:11:21 +03:00
Daniel Öster
268910ef63 Add mock print implementation for unit tests 2025-08-31 13:07:17 +03:00
Daniel Öster
825db3567f Fix unit test to work with logging 2025-08-31 11:37:39 +03:00
Daniel Öster
8af86d9f29 Add logging to tests 2025-08-31 11:31:45 +03:00
pre-commit-ci[bot]
9774e591da [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-08-27 18:16:40 +00:00
Matt Holmes
5fae1c645d Fixing unit tests and formatting 2025-08-27 19:14:54 +01:00
pre-commit-ci[bot]
36a6dd049b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-08-22 18:44:38 +00:00
Jaakko Haakana
8494463926 Add mock ESP class 2025-08-22 21:44:24 +03:00
Daniel Öster
2536639272 Increase setpoint in tests 2025-08-17 12:43:23 +03:00
Daniel Öster
73834cceeb
Merge pull request #1378 from jonny5532/feature/modbus-inverter-ram-usage
Make Modbus inverters allocate their own register memory as required
2025-08-15 20:30:36 +03:00
Jonny
ab3d63ab18 Add static constexpr to lots of static battery CAN_frames to save RAM 2025-08-07 21:31:11 +01:00
Jonny
55d8a24f55 Add more Arduino/FreeRTOS test stubs so that eModbus builds in ESP32 mode. 2025-08-06 20:28:55 +01:00
Jaakko Haakana
28609f18a6 Merge from main and fix conflicts 2025-07-26 16:57:29 +03:00
Jaakko Haakana
4c51c278f7 Support CMake 3.28 (for Windows WSL) 2025-07-26 16:50:31 +03:00
Jaakko Haakana
450b93d699 More proper IPAddress 2025-07-26 16:30:13 +03:00
Jaakko Haakana
742d14d7c3 Dummy IPAddress type 2025-07-26 16:20:21 +03:00
Jaakko Haakana
fec8aac53c Try to compile wstring 2025-07-26 16:00:29 +03:00
Jaakko Haakana
9e44de269c Fix test compilation errors and max 2025-07-26 15:53:24 +03:00
Jaakko Haakana
44d74b285e Make types compatible 2025-07-26 15:40:08 +03:00
Jaakko Haakana
98b568f5cb Fix filename and define HW and battery for unit tests 2025-07-26 15:36:10 +03:00
Jaakko Haakana
5719726da8 Add dummy Wifi.h 2025-07-26 15:28:22 +03:00
Jaakko Haakana
760e21c31f Lower cmake version to be able to run in github 2025-07-26 15:22:35 +03:00
Jaakko Haakana
995cc7784c Add working unit tests 2025-07-26 15:19:49 +03:00
Jaakko Haakana
64d1fa418a Remove include.h, does not build yet 2025-07-23 09:32:53 +03:00
pre-commit-ci[bot]
0e975dfea6 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-04-07 16:35:33 +00:00
Cabooman
ffa7a54f20
Refactoring: Scalability and performance (#252)
Refactoring v5.7 step 1
2024-04-14 14:41:01 +02:00
Cabooman
1e0740fd27 15 minuter timer for EE write 2024-02-12 01:49:09 +01:00
Cabooman
d12fe99e8e Preparing for the unit testing of events 2024-02-12 01:42:35 +01:00
Cabooman
6cb7e55dad Lots of modifications... Hopefully the end 2024-02-11 22:22:36 +01:00
Cabooman
25cdc7a98a Merge branch 'main' into feature/event-log 2024-02-11 11:24:03 +01:00
Cabooman
fb33bee991 Explicit event initialization, local unit test execution 2024-02-09 23:23:16 +01:00
Cabooman
c839646e58 Various additions, still WIP 2024-02-09 22:27:13 +01:00
Cabooman
b528c8917f Event cleanup 2024-02-07 08:36:28 +01:00
Cabooman
32378df03e Some cleanup before more surgery 2024-02-06 22:11:02 +01:00
Cabooman
6bc253ff6e Comments 2024-02-06 08:32:53 +01:00
Cabooman
12136fa189 Restore the timer test 2024-02-06 08:25:58 +01:00
Cabooman
4577df094e Some updates, temp disable other Actions 2024-02-06 08:17:47 +01:00
Cabooman
a81133c6c0 Update timer_test.cpp 2024-02-06 07:59:22 +01:00