2023-02-07 17:18:41 +01:00
|
|
|
## Common
|
|
|
|
|
|
|
|
# Waku common test suite
|
|
|
|
import ./all_tests_common
|
|
|
|
|
2022-11-03 17:58:48 +01:00
|
|
|
|
2023-02-07 10:45:25 +01:00
|
|
|
## Waku v2
|
|
|
|
|
2023-03-02 11:41:41 +01:00
|
|
|
# Waku message test suite
|
|
|
|
import
|
2023-03-03 10:07:25 +01:00
|
|
|
./v2/test_waku_message_topics,
|
2023-03-02 11:41:41 +01:00
|
|
|
./v2/test_waku_message_digest
|
|
|
|
|
2023-02-07 10:45:25 +01:00
|
|
|
# Waku archive test suite
|
2020-07-13 12:08:03 +02:00
|
|
|
import
|
2022-11-22 19:40:24 +01:00
|
|
|
./v2/waku_archive/test_driver_queue_index,
|
|
|
|
./v2/waku_archive/test_driver_queue_pagination,
|
|
|
|
./v2/waku_archive/test_driver_queue_query,
|
|
|
|
./v2/waku_archive/test_driver_queue,
|
|
|
|
./v2/waku_archive/test_driver_sqlite_query,
|
|
|
|
./v2/waku_archive/test_driver_sqlite,
|
|
|
|
./v2/waku_archive/test_retention_policy,
|
2022-11-23 10:08:00 +01:00
|
|
|
./v2/waku_archive/test_waku_archive
|
2022-11-22 19:40:24 +01:00
|
|
|
|
2023-02-07 10:45:25 +01:00
|
|
|
# Waku store test suite
|
2023-01-27 14:31:58 +01:00
|
|
|
import
|
|
|
|
./v2/waku_store/test_rpc_codec,
|
|
|
|
./v2/waku_store/test_waku_store,
|
|
|
|
./v2/waku_store/test_wakunode_store
|
|
|
|
|
|
|
|
when defined(waku_exp_store_resume):
|
|
|
|
# TODO: Review store resume test cases (#1282)
|
|
|
|
import ./v2/waku_store/test_resume
|
|
|
|
|
2023-02-10 09:54:47 +01:00
|
|
|
|
2023-02-10 15:17:50 +01:00
|
|
|
# Waku relay test suite
|
|
|
|
import
|
|
|
|
./v2/waku_relay/test_waku_relay,
|
|
|
|
./v2/waku_relay/test_wakunode_relay
|
|
|
|
|
|
|
|
|
2022-11-22 19:40:24 +01:00
|
|
|
import
|
|
|
|
# Waku v2 tests
|
|
|
|
./v2/test_wakunode,
|
2022-10-25 14:55:31 +02:00
|
|
|
# Waku LightPush
|
|
|
|
./v2/test_waku_lightpush,
|
|
|
|
./v2/test_wakunode_lightpush,
|
2022-09-20 11:39:52 +02:00
|
|
|
# Waku Filter
|
2020-10-06 20:36:44 +02:00
|
|
|
./v2/test_waku_filter,
|
2022-09-09 12:17:17 +02:00
|
|
|
./v2/test_wakunode_filter,
|
2022-09-20 13:03:34 +02:00
|
|
|
./v2/test_waku_peer_exchange,
|
2023-01-18 15:17:56 +01:00
|
|
|
./v2/test_peer_store_extended,
|
2022-09-06 16:05:06 +02:00
|
|
|
./v2/test_utils_peers,
|
2022-08-30 15:57:45 +02:00
|
|
|
./v2/test_message_cache,
|
2021-02-04 12:32:58 +02:00
|
|
|
./v2/test_peer_manager,
|
2021-06-02 09:53:34 +02:00
|
|
|
./v2/test_peer_storage,
|
2021-06-16 13:23:55 -07:00
|
|
|
./v2/test_waku_keepalive,
|
2023-03-07 10:52:12 +01:00
|
|
|
./v2/test_waku_enr,
|
2021-11-01 19:02:39 +01:00
|
|
|
./v2/test_waku_dnsdisc,
|
2021-12-06 20:51:37 +01:00
|
|
|
./v2/test_waku_discv5,
|
2022-04-04 17:46:51 +02:00
|
|
|
./v2/test_peer_exchange,
|
2022-09-12 02:23:14 +02:00
|
|
|
./v2/test_waku_noise,
|
2022-10-28 11:13:05 +02:00
|
|
|
./v2/test_waku_noise_sessions,
|
2022-11-28 16:56:01 +02:00
|
|
|
./v2/test_waku_switch,
|
2022-10-28 11:13:05 +02:00
|
|
|
# Utils
|
2023-02-08 16:26:23 +01:00
|
|
|
./v2/test_utils_compat
|
2023-02-10 09:54:47 +01:00
|
|
|
|
|
|
|
# Waku Keystore test suite
|
|
|
|
import
|
|
|
|
./v2/test_waku_keystore_keyfile,
|
|
|
|
./v2/test_waku_keystore
|
|
|
|
|
2023-02-10 10:43:16 +01:00
|
|
|
## Wakunode JSON-RPC API test suite
|
|
|
|
import
|
|
|
|
./v2/wakunode_jsonrpc/test_jsonrpc_admin,
|
|
|
|
./v2/wakunode_jsonrpc/test_jsonrpc_debug,
|
|
|
|
./v2/wakunode_jsonrpc/test_jsonrpc_filter,
|
|
|
|
./v2/wakunode_jsonrpc/test_jsonrpc_relay,
|
|
|
|
./v2/wakunode_jsonrpc/test_jsonrpc_store
|
|
|
|
|
2023-02-13 15:22:24 +01:00
|
|
|
## Wakunode Rest API test suite
|
|
|
|
import
|
|
|
|
./v2/wakunode_rest/test_rest_debug,
|
|
|
|
./v2/wakunode_rest/test_rest_debug_serdes,
|
|
|
|
./v2/wakunode_rest/test_rest_relay,
|
|
|
|
./v2/wakunode_rest/test_rest_relay_serdes,
|
|
|
|
./v2/wakunode_rest/test_rest_serdes
|
|
|
|
|
2023-02-10 09:54:47 +01:00
|
|
|
|
|
|
|
## Apps
|
|
|
|
|
|
|
|
# Wakubridge test suite
|
|
|
|
import ./all_tests_wakubridge
|
|
|
|
|
|
|
|
|
2022-11-23 10:08:00 +01:00
|
|
|
## Experimental
|
|
|
|
|
2022-11-09 19:45:04 +01:00
|
|
|
when defined(rln):
|
2022-11-22 19:40:24 +01:00
|
|
|
import
|
2023-03-02 15:37:37 +05:30
|
|
|
./v2/waku_rln_relay/test_waku_rln_relay,
|
|
|
|
./v2/waku_rln_relay/test_wakunode_rln_relay,
|
|
|
|
./v2/waku_rln_relay/test_rln_group_manager_onchain,
|
|
|
|
./v2/waku_rln_relay/test_rln_group_manager_static
|
2021-06-08 11:56:32 -07:00
|
|
|
|
2023-02-07 17:18:41 +01:00
|
|
|
# Waku swap test suite
|
|
|
|
import
|
|
|
|
./v2/test_waku_swap
|
2022-11-23 10:08:00 +01:00
|
|
|
|
|
|
|
# TODO: Only enable this once swap module is integrated more nicely as a dependency, i.e. as submodule with CI etc
|
2021-02-08 22:19:34 +08:00
|
|
|
# For PoC execute it manually and run separate module here: https://github.com/vacp2p/swap-contracts-module
|
2023-02-07 17:18:41 +01:00
|
|
|
# import ./v2/test_waku_swap_contracts
|