tildefriends/src/ssb.tests.h
Cory McWilliams 6ea08cc5dc
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 7m3s
Add the beginnings of a peers.exchange test and begin to fix fallout.
2024-08-15 12:48:24 -04:00

63 lines
1.3 KiB
C

#pragma once
/**
** \defgroup ssb_tests SSB Tests
** Tests for SSB functionality.
** @{
*/
/**
** Options to control how tests are run.
*/
typedef struct _tf_test_options_t tf_test_options_t;
/**
** Test converting SSB identities.
** @param options The test options.
*/
void tf_ssb_test_id_conversion(const tf_test_options_t* options);
/**
** Test SSB connections and replication.
** @param options The test options.
*/
void tf_ssb_test_ssb(const tf_test_options_t* options);
/**
** Test SSB following calculations.
** @param options The test options.
*/
void tf_ssb_test_following(const tf_test_options_t* options);
/**
** Test SSB rooms.
** @param options The test options.
*/
void tf_ssb_test_rooms(const tf_test_options_t* options);
/**
** Benchmark SSB replication performacnce.
** @param options The test options.
*/
void tf_ssb_test_bench(const tf_test_options_t* options);
/**
** Test communicating with go-ssb-room.
** @param options The test options.
*/
void tf_ssb_test_go_ssb_room(const tf_test_options_t* options);
/**
** Test encrypting a private message.
** @param options The test options.
*/
void tf_ssb_test_encrypt(const tf_test_options_t* options);
/**
** Test peer exchange.
** @param options The test options.
*/
void tf_ssb_test_peer_exchange(const tf_test_options_t* options);
/** @} */