aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fuzz/fuzz_vrs.c1
-rw-r--r--src/test/test_address_set.c2
-rw-r--r--src/test/test_channel.c1
-rw-r--r--src/test/test_channelpadding.c1
-rw-r--r--src/test/test_consdiffmgr.c2
-rw-r--r--src/test/test_dir.c1
-rw-r--r--src/test/test_dir_common.c1
-rw-r--r--src/test/test_dir_handle_get.c1
-rw-r--r--src/test/test_dos.c1
-rw-r--r--src/test/test_entrynodes.c1
-rw-r--r--src/test/test_guardfraction.c1
-rw-r--r--src/test/test_hs_cache.c1
-rw-r--r--src/test/test_hs_client.c1
-rw-r--r--src/test/test_hs_common.c1
-rw-r--r--src/test/test_hs_service.c1
-rw-r--r--src/test/test_microdesc.c2
-rw-r--r--src/test/test_nodelist.c1
-rw-r--r--src/test/test_routerlist.c1
-rw-r--r--src/test/test_shared_random.c1
19 files changed, 22 insertions, 0 deletions
diff --git a/src/test/fuzz/fuzz_vrs.c b/src/test/fuzz/fuzz_vrs.c
index 7225fd5456..a597674940 100644
--- a/src/test/fuzz/fuzz_vrs.c
+++ b/src/test/fuzz/fuzz_vrs.c
@@ -8,6 +8,7 @@
#include "microdesc.h"
#include "networkstatus.h"
+#include "networkstatus_st.h"
#include "vote_routerstatus_st.h"
#include "fuzzing.h"
diff --git a/src/test/test_address_set.c b/src/test/test_address_set.c
index f7441a6491..441d14927d 100644
--- a/src/test/test_address_set.c
+++ b/src/test/test_address_set.c
@@ -10,6 +10,8 @@
#include "routerlist.h"
#include "torcert.h"
+#include "networkstatus_st.h"
+
#include "test.h"
static networkstatus_t *dummy_ns = NULL;
diff --git a/src/test/test_channel.c b/src/test/test_channel.c
index c41afff5d0..8177f92a1a 100644
--- a/src/test/test_channel.c
+++ b/src/test/test_channel.c
@@ -20,6 +20,7 @@
#include "scheduler.h"
#include "networkstatus.h"
+#include "networkstatus_st.h"
#include "origin_circuit_st.h"
/* Test suite stuff */
diff --git a/src/test/test_channelpadding.c b/src/test/test_channelpadding.c
index b8e3492eaa..2b4ff59a32 100644
--- a/src/test/test_channelpadding.c
+++ b/src/test/test_channelpadding.c
@@ -20,6 +20,7 @@
#include "networkstatus.h"
#include "log_test_helpers.h"
+#include "networkstatus_st.h"
#include "or_connection_st.h"
int channelpadding_get_netflow_inactive_timeout_ms(channel_t *chan);
diff --git a/src/test/test_consdiffmgr.c b/src/test/test_consdiffmgr.c
index 3b91baca39..dc223274b9 100644
--- a/src/test/test_consdiffmgr.c
+++ b/src/test/test_consdiffmgr.c
@@ -14,6 +14,8 @@
#include "routerparse.h"
#include "workqueue.h"
+#include "networkstatus_st.h"
+
#include "test.h"
#include "log_test_helpers.h"
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index f5a3b6f65c..10169a70cf 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -46,6 +46,7 @@
#include "voting_schedule.h"
#include "document_signature_st.h"
+#include "networkstatus_st.h"
#include "networkstatus_voter_info_st.h"
#include "port_cfg_st.h"
#include "tor_version_st.h"
diff --git a/src/test/test_dir_common.c b/src/test/test_dir_common.c
index fca132c9f7..3fad1c3af0 100644
--- a/src/test/test_dir_common.c
+++ b/src/test/test_dir_common.c
@@ -14,6 +14,7 @@
#include "test_dir_common.h"
#include "voting_schedule.h"
+#include "networkstatus_st.h"
#include "networkstatus_voter_info_st.h"
#include "vote_microdesc_hash_st.h"
#include "vote_routerstatus_st.h"
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c
index ff9740b911..2e9eb3b748 100644
--- a/src/test/test_dir_handle_get.c
+++ b/src/test/test_dir_handle_get.c
@@ -36,6 +36,7 @@
#include "dir_connection_st.h"
#include "dir_server_st.h"
+#include "networkstatus_st.h"
#include "rend_encoded_v2_service_descriptor_st.h"
#ifdef _WIN32
diff --git a/src/test/test_dos.c b/src/test/test_dos.c
index fcc537499a..7145339084 100644
--- a/src/test/test_dos.c
+++ b/src/test/test_dos.c
@@ -16,6 +16,7 @@
#include "nodelist.h"
#include "routerlist.h"
+#include "networkstatus_st.h"
#include "or_connection_st.h"
#include "test.h"
diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c
index cf9da232ca..5722637735 100644
--- a/src/test/test_entrynodes.c
+++ b/src/test/test_entrynodes.c
@@ -33,6 +33,7 @@
#include "cpath_build_state_st.h"
#include "crypt_path_st.h"
#include "dir_connection_st.h"
+#include "networkstatus_st.h"
#include "node_st.h"
#include "origin_circuit_st.h"
diff --git a/src/test/test_guardfraction.c b/src/test/test_guardfraction.c
index 24bf58f942..38f237c5dd 100644
--- a/src/test/test_guardfraction.c
+++ b/src/test/test_guardfraction.c
@@ -15,6 +15,7 @@
#include "routerparse.h"
#include "networkstatus.h"
+#include "networkstatus_st.h"
#include "vote_microdesc_hash_st.h"
#include "vote_routerstatus_st.h"
diff --git a/src/test/test_hs_cache.c b/src/test/test_hs_cache.c
index b2f892c7f2..415f6f30ee 100644
--- a/src/test/test_hs_cache.c
+++ b/src/test/test_hs_cache.c
@@ -19,6 +19,7 @@
#include "proto_http.h"
#include "dir_connection_st.h"
+#include "networkstatus_st.h"
#include "hs_test_helpers.h"
#include "test_helpers.h"
diff --git a/src/test/test_hs_client.c b/src/test/test_hs_client.c
index b75e743d3c..ca87d5e92d 100644
--- a/src/test/test_hs_client.c
+++ b/src/test/test_hs_client.c
@@ -41,6 +41,7 @@
#include "crypt_path_st.h"
#include "dir_connection_st.h"
#include "entry_connection_st.h"
+#include "networkstatus_st.h"
#include "origin_circuit_st.h"
#include "socks_request_st.h"
diff --git a/src/test/test_hs_common.c b/src/test/test_hs_common.c
index 21a109d2bc..1cfa4a2409 100644
--- a/src/test/test_hs_common.c
+++ b/src/test/test_hs_common.c
@@ -33,6 +33,7 @@
#include "util.h"
#include "voting_schedule.h"
+#include "networkstatus_st.h"
#include "node_st.h"
/** Test the validation of HS v3 addresses */
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c
index 83a9d3cb59..ab27b4dc4e 100644
--- a/src/test/test_hs_service.c
+++ b/src/test/test_hs_service.c
@@ -55,6 +55,7 @@
#include "cpath_build_state_st.h"
#include "crypt_path_st.h"
+#include "networkstatus_st.h"
#include "node_st.h"
#include "origin_circuit_st.h"
diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c
index 4b168f49ed..27fdf4a9d0 100644
--- a/src/test/test_microdesc.c
+++ b/src/test/test_microdesc.c
@@ -13,6 +13,8 @@
#include "routerparse.h"
#include "torcert.h"
+#include "networkstatus_st.h"
+
#include "test.h"
#ifdef _WIN32
diff --git a/src/test/test_nodelist.c b/src/test/test_nodelist.c
index a3f2de29f0..4a876f3557 100644
--- a/src/test/test_nodelist.c
+++ b/src/test/test_nodelist.c
@@ -12,6 +12,7 @@
#include "nodelist.h"
#include "torcert.h"
+#include "networkstatus_st.h"
#include "node_st.h"
#include "test.h"
diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c
index bf97499eee..45d63a8061 100644
--- a/src/test/test_routerlist.c
+++ b/src/test/test_routerlist.c
@@ -35,6 +35,7 @@
#include "statefile.h"
#include "dir_connection_st.h"
+#include "networkstatus_st.h"
#include "node_st.h"
#include "test.h"
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index baafb9813b..a1b4d60a2c 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -23,6 +23,7 @@
#include "voting_schedule.h"
#include "dir_server_st.h"
+#include "networkstatus_st.h"
static authority_cert_t *mock_cert;