Classes | Macros | Functions
unittest_poller.cpp File Reference
#include "../tests/testutil.hpp"
#include <poller.hpp>
#include <i_poll_events.hpp>
#include <ip.hpp>
#include <unity.h>
#include <unistd.h>
Include dependency graph for unittest_poller.cpp:

Go to the source code of this file.

Classes

struct  test_events_t
 

Macros

#define closesocket   close
 

Functions

void close_fdpair (zmq::fd_t w_, zmq::fd_t r_)
 
void create_nonblocking_fdpair (zmq::fd_t *r_, zmq::fd_t *w_)
 
int main (void)
 
void send_signal (zmq::fd_t w_)
 
void setUp ()
 
void tearDown ()
 
void test_add_fd_and_remove_by_timer ()
 
void test_add_fd_and_start_and_receive_data ()
 
void test_create ()
 
void wait_in_events (test_events_t &events_)
 
void wait_timer_events (test_events_t &events_)
 

Macro Definition Documentation

◆ closesocket

#define closesocket   close

Definition at line 13 of file unittest_poller.cpp.

Function Documentation

◆ close_fdpair()

void close_fdpair ( zmq::fd_t  w_,
zmq::fd_t  r_ 
)

Definition at line 138 of file unittest_poller.cpp.

◆ create_nonblocking_fdpair()

void create_nonblocking_fdpair ( zmq::fd_t r_,
zmq::fd_t w_ 
)

Definition at line 113 of file unittest_poller.cpp.

◆ main()

int main ( void  )

Definition at line 245 of file unittest_poller.cpp.

◆ send_signal()

void send_signal ( zmq::fd_t  w_)

Definition at line 123 of file unittest_poller.cpp.

◆ setUp()

void setUp ( )

Definition at line 16 of file unittest_poller.cpp.

◆ tearDown()

void tearDown ( )

Definition at line 19 of file unittest_poller.cpp.

◆ test_add_fd_and_remove_by_timer()

void test_add_fd_and_remove_by_timer ( )

Definition at line 173 of file unittest_poller.cpp.

◆ test_add_fd_and_start_and_receive_data()

void test_add_fd_and_start_and_receive_data ( )

Definition at line 150 of file unittest_poller.cpp.

◆ test_create()

void test_create ( )

Definition at line 23 of file unittest_poller.cpp.

◆ wait_in_events()

void wait_in_events ( test_events_t events_)

Definition at line 85 of file unittest_poller.cpp.

◆ wait_timer_events()

void wait_timer_events ( test_events_t events_)

Definition at line 99 of file unittest_poller.cpp.



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