tildefriends/src/ssb.tests.h
Cory McWilliams 94e8bf2e1c
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 16m34s
test: Add some nominal testing for the new publish command.
2024-10-23 15:57:44 -04:00

69 lines
1.4 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);
/**
** Test publishing a message.
** @param options The test options.
*/
void tf_ssb_test_publish(const tf_test_options_t* options);
/** @} */