Functions | Variables
test_security_plain.cpp File Reference
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <stdlib.h>
#include <string.h>
Include dependency graph for test_security_plain.cpp:

Go to the source code of this file.

Functions

int main (void)
 
void setUp ()
 
static void setup_server ()
 
static void setup_zap_handler ()
 
void tearDown ()
 
static void teardown_server ()
 
static void teardown_zap_handler ()
 
void test_plain_client_as_server_fails ()
 
void test_plain_success ()
 
void test_plain_vanilla_socket ()
 
void test_plain_wrong_credentials_fails ()
 
static void zap_handler (void *zap_)
 

Variables

const char domain [] = "test"
 
char my_endpoint [MAX_SOCKET_STRING]
 
voidserver
 
voidzap_thread
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 174 of file test_security_plain.cpp.

◆ setUp()

void setUp ( )

Definition at line 97 of file test_security_plain.cpp.

◆ setup_server()

static void setup_server ( )
static

Definition at line 78 of file test_security_plain.cpp.

◆ setup_zap_handler()

static void setup_zap_handler ( )
static

Definition at line 58 of file test_security_plain.cpp.

◆ tearDown()

void tearDown ( )

Definition at line 104 of file test_security_plain.cpp.

◆ teardown_server()

static void teardown_server ( )
static

Definition at line 92 of file test_security_plain.cpp.

◆ teardown_zap_handler()

static void teardown_zap_handler ( )
static

Definition at line 68 of file test_security_plain.cpp.

◆ test_plain_client_as_server_fails()

void test_plain_client_as_server_fails ( )

Definition at line 126 of file test_security_plain.cpp.

◆ test_plain_success()

void test_plain_success ( )

Definition at line 111 of file test_security_plain.cpp.

◆ test_plain_vanilla_socket()

void test_plain_vanilla_socket ( )

Definition at line 156 of file test_security_plain.cpp.

◆ test_plain_wrong_credentials_fails()

void test_plain_wrong_credentials_fails ( )

Definition at line 141 of file test_security_plain.cpp.

◆ zap_handler()

static void zap_handler ( void zap_)
static

Definition at line 9 of file test_security_plain.cpp.

Variable Documentation

◆ domain

const char domain[] = "test"

Definition at line 74 of file test_security_plain.cpp.

◆ my_endpoint

char my_endpoint[MAX_SOCKET_STRING]

Definition at line 56 of file test_security_plain.cpp.

◆ server

void* server

Definition at line 76 of file test_security_plain.cpp.

◆ zap_thread

void* zap_thread

Definition at line 54 of file test_security_plain.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04