diff options
| author | Your Name <you@example.com> | 2026-05-17 01:39:03 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-17 01:39:03 +0530 |
| commit | 32844ac7c4a135659714aabf7d2414f156176d72 (patch) | |
| tree | 414e6272a9a174bd50566c65e432ed62b29236b3 /tests/unit/stubs/freertos/FreeRTOS.h | |
| parent | 60e0a1042e5c56fe7d4b46d760441391df4ff809 (diff) | |
test_cashu (10/10) + test_session (18/18): all 86 unit tests passing
- Expand esp_http_client.h stub: full config struct + method enum + init/perform/cleanup
- Add portTICK_PERIOD_MS + esp_err_to_name to stubs
- session.c: reject duplicate spent secrets in session_create (double-spend protection)
- .gitignore: add test binaries
Diffstat (limited to 'tests/unit/stubs/freertos/FreeRTOS.h')
| -rw-r--r-- | tests/unit/stubs/freertos/FreeRTOS.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/stubs/freertos/FreeRTOS.h b/tests/unit/stubs/freertos/FreeRTOS.h index 0fee758..696da87 100644 --- a/tests/unit/stubs/freertos/FreeRTOS.h +++ b/tests/unit/stubs/freertos/FreeRTOS.h | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | static inline uint32_t xTaskGetTickCount(void) { return 0; } | 6 | static inline uint32_t xTaskGetTickCount(void) { return 0; } |
| 7 | static inline void vTaskDelay(uint32_t ticks) { (void)ticks; } | 7 | static inline void vTaskDelay(uint32_t ticks) { (void)ticks; } |
| 8 | #define pdMS_TO_TICKS(ms) ((ms) / 10) | 8 | #define pdMS_TO_TICKS(ms) ((ms) / 10) |
| 9 | #define portTICK_PERIOD_MS 10 | ||
| 9 | #define portMAX_DELAY 0xFFFFFFFF | 10 | #define portMAX_DELAY 0xFFFFFFFF |
| 10 | 11 | ||
| 11 | #endif | 12 | #endif |