2021-09-06 14:23:22 -04:00
|
|
|
#pragma once
|
|
|
|
|
2024-02-20 21:41:37 -05:00
|
|
|
/**
|
|
|
|
** \defgroup ssb_tests SSB Tests
|
|
|
|
** Tests for SSB functionality.
|
|
|
|
** @{
|
|
|
|
*/
|
|
|
|
|
2024-03-03 18:12:44 -05:00
|
|
|
/**
|
|
|
|
** Options to control how tests are run.
|
|
|
|
*/
|
2021-09-06 14:23:22 -04:00
|
|
|
typedef struct _tf_test_options_t tf_test_options_t;
|
|
|
|
|
2024-03-03 18:12:44 -05:00
|
|
|
/**
|
|
|
|
** Test converting SSB identities.
|
|
|
|
** @param options The test options.
|
|
|
|
*/
|
2021-09-06 14:23:22 -04:00
|
|
|
void tf_ssb_test_id_conversion(const tf_test_options_t* options);
|
2024-03-03 18:12:44 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
** Test SSB connections and replication.
|
|
|
|
** @param options The test options.
|
|
|
|
*/
|
2021-09-06 14:23:22 -04:00
|
|
|
void tf_ssb_test_ssb(const tf_test_options_t* options);
|
2024-03-03 18:12:44 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
** Test SSB following calculations.
|
|
|
|
** @param options The test options.
|
|
|
|
*/
|
2021-09-06 14:23:22 -04:00
|
|
|
void tf_ssb_test_following(const tf_test_options_t* options);
|
2024-03-03 18:12:44 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
** Test SSB rooms.
|
|
|
|
** @param options The test options.
|
|
|
|
*/
|
2022-11-02 19:34:44 -04:00
|
|
|
void tf_ssb_test_rooms(const tf_test_options_t* options);
|
2024-03-03 18:12:44 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
** Benchmark SSB replication performacnce.
|
|
|
|
** @param options The test options.
|
|
|
|
*/
|
2022-12-11 22:11:32 -05:00
|
|
|
void tf_ssb_test_bench(const tf_test_options_t* options);
|
2024-03-03 18:12:44 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
** Test communicating with go-ssb-room.
|
|
|
|
** @param options The test options.
|
|
|
|
*/
|
2023-09-21 19:38:55 -04:00
|
|
|
void tf_ssb_test_go_ssb_room(const tf_test_options_t* options);
|
2024-02-20 21:41:37 -05:00
|
|
|
|
|
|
|
/** @} */
|