Functions
test_filter_ipc.cpp File Reference
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <unistd.h>
#include <grp.h>
Include dependency graph for test_filter_ipc.cpp:

Go to the source code of this file.

Functions

static SETUP_TEARDOWN_TESTCONTEXT void bounce_fail (void *server_, void *client_)
 
int main (void)
 
template<class T >
static void run_test (int opt_, T optval_, int expected_error_, int bounce_test_)
 
void test_filter_with_zero_gid_fails ()
 
void test_filter_with_zero_pid_fails ()
 
void test_filter_with_zero_uid_fails ()
 
void test_no_filters ()
 

Function Documentation

◆ bounce_fail()

static SETUP_TEARDOWN_TESTCONTEXT void bounce_fail ( void server_,
void client_ 
)
static

Definition at line 11 of file test_filter_ipc.cpp.

◆ main()

int main ( void  )

Definition at line 163 of file test_filter_ipc.cpp.

◆ run_test()

template<class T >
static void run_test ( int  opt_,
T  optval_,
int  expected_error_,
int  bounce_test_ 
)
static

Definition at line 37 of file test_filter_ipc.cpp.

◆ test_filter_with_zero_gid_fails()

void test_filter_with_zero_gid_fails ( )

Definition at line 153 of file test_filter_ipc.cpp.

◆ test_filter_with_zero_pid_fails()

void test_filter_with_zero_pid_fails ( )

Definition at line 157 of file test_filter_ipc.cpp.

◆ test_filter_with_zero_uid_fails()

void test_filter_with_zero_uid_fails ( )

Definition at line 149 of file test_filter_ipc.cpp.

◆ test_no_filters()

void test_no_filters ( )

Definition at line 105 of file test_filter_ipc.cpp.



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