Add new test based on token auth

This commit is contained in:
2022-09-02 08:59:07 +02:00
parent 62fa71ea6e
commit 886843d087
13 changed files with 462 additions and 5 deletions

View File

@ -3,6 +3,12 @@ enum PortsAllocation {
DummyTCPServer,
ValidWithTokenAuth,
InvalidWithTokenAuth,
ValidWithMultipleTokenAuth,
ValidWithTokenFile,
InvalidTokenFile,
ClientTryTLSWhileThereIsNoTLS,
ValidTokenWithCustomIncrement,
ValidWithTokenAuthMultiplePorts,
}
fn get_port_number(alloc: PortsAllocation, index: u16) -> u16 {
@ -13,5 +19,11 @@ const LOCALHOST: &str = "127.0.0.1";
mod dummy_tcp_sockets;
mod client_try_tls_while_there_is_no_tls;
mod invalid_token_file;
mod invalid_with_token_auth;
mod valid_token_with_custom_increment;
mod valid_with_multiple_token_auth;
mod valid_with_token_auth;
mod valid_with_token_auth_multiple_ports;
mod valid_with_token_file;