join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
reactor_test.cpp File Reference
#include <join/reactor.hpp>
#include <join/acceptor.hpp>
#include <join/condition.hpp>
#include <gtest/gtest.h>
Include dependency graph for reactor_test.cpp:

Classes

class  ReactorTest
 Class used to test Reactor. More...
 

Functions

 TEST_F (ReactorTest, instance)
 Test instance.
 
 TEST_F (ReactorTest, addHandler)
 Test addHandler.
 
 TEST_F (ReactorTest, delHandler)
 Test delHandler.
 
 TEST_F (ReactorTest, onReceive)
 Test onReceive.
 
 TEST_F (ReactorTest, onClose)
 Test onClose.
 
 TEST_F (ReactorTest, onError)
 Test onError.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST_F() [1/6]

TEST_F ( ReactorTest ,
addHandler  )

Test addHandler.

◆ TEST_F() [2/6]

TEST_F ( ReactorTest ,
delHandler  )

Test delHandler.

◆ TEST_F() [3/6]

TEST_F ( ReactorTest ,
instance  )

Test instance.

◆ TEST_F() [4/6]

TEST_F ( ReactorTest ,
onClose  )

Test onClose.

◆ TEST_F() [5/6]

TEST_F ( ReactorTest ,
onError  )

Test onError.

◆ TEST_F() [6/6]

TEST_F ( ReactorTest ,
onReceive  )

Test onReceive.