upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-23 04:55:11 +0530
committerYour Name <you@example.com>2026-05-23 04:55:11 +0530
commitfb8558cbf964fae5a840f8f948b89a0d42045802 (patch)
tree7b95a9e8cfa665c13ce56c8c0b9bdba950bc4934 /tests
parent9330b01c28aebc865a3c0a51df8730196cb4152e (diff)
Phase 6e-6f: Break circular dependencies
6e: Extract tls_worker queue from tollgate_api.c into shared tls_worker.c/h - mint_health.c no longer includes tollgate_api.h - tollgate_api.c no longer defines tls_worker functions - Clean circular dependency broken 6f: Move payout_config_t from lightning_payout.h to config.h - config.h no longer includes lightning_payout.h - lightning_payout.h includes config.h for types - Reverse dependency broken All 21 unit tests pass. ESP-IDF build passes.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/stubs/tollgate_api.h7
-rwxr-xr-xtests/unit/test_beacon_pricebin35744 -> 35592 bytes
-rwxr-xr-xtests/unit/test_firewall_sandboxbin111016 -> 111016 bytes
-rwxr-xr-xtests/unit/test_marketbin49456 -> 49360 bytes
-rwxr-xr-xtests/unit/test_session_payment_methodbin117880 -> 117792 bytes
-rwxr-xr-xtests/unit/test_tollgate_client_miningbin48448 -> 48424 bytes
6 files changed, 0 insertions, 7 deletions
diff --git a/tests/unit/stubs/tollgate_api.h b/tests/unit/stubs/tollgate_api.h
index 7e20fce..88292da 100644
--- a/tests/unit/stubs/tollgate_api.h
+++ b/tests/unit/stubs/tollgate_api.h
@@ -1,11 +1,4 @@
1#ifndef STUB_TOLLGATE_API_H 1#ifndef STUB_TOLLGATE_API_H
2#define STUB_TOLLGATE_API_H 2#define STUB_TOLLGATE_API_H
3 3
4#include "freertos/queue.h"
5
6static inline void tls_worker_set_queue(QueueHandle_t q)
7{
8 (void)q;
9}
10
11#endif 4#endif
diff --git a/tests/unit/test_beacon_price b/tests/unit/test_beacon_price
index a9f6357..5e4bf90 100755
--- a/tests/unit/test_beacon_price
+++ b/tests/unit/test_beacon_price
Binary files differ
diff --git a/tests/unit/test_firewall_sandbox b/tests/unit/test_firewall_sandbox
index 7e5aa6d..0c3aa59 100755
--- a/tests/unit/test_firewall_sandbox
+++ b/tests/unit/test_firewall_sandbox
Binary files differ
diff --git a/tests/unit/test_market b/tests/unit/test_market
index 8efac8e..d68ab15 100755
--- a/tests/unit/test_market
+++ b/tests/unit/test_market
Binary files differ
diff --git a/tests/unit/test_session_payment_method b/tests/unit/test_session_payment_method
index 44cafd3..258fb01 100755
--- a/tests/unit/test_session_payment_method
+++ b/tests/unit/test_session_payment_method
Binary files differ
diff --git a/tests/unit/test_tollgate_client_mining b/tests/unit/test_tollgate_client_mining
index d331bd1..750c145 100755
--- a/tests/unit/test_tollgate_client_mining
+++ b/tests/unit/test_tollgate_client_mining
Binary files differ