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

Classes

class  ProactorTest
 Class used to test Proactor. More...
 

Functions

 TEST_F (ProactorTest, stop)
 Test stop.
 
 TEST_F (ProactorTest, submit)
 Test submit.
 
 TEST_F (ProactorTest, cancel)
 Test cancel.
 
 TEST_F (ProactorTest, suspend)
 Test suspend.
 
 TEST_F (ProactorTest, invoke)
 Test invoke.
 
 TEST_F (ProactorTest, mlock)
 Test mlock.
 
 TEST_F (ProactorTest, isRunning)
 Test isRunning.
 
 TEST_F (ProactorTest, waitStopped)
 Test waitStopped.
 
 TEST_F (ProactorTest, registerBufferRing)
 Test registerBufferRing and unregisterBufferRing.
 
 TEST_F (ProactorTest, asyncPoll)
 Test asyncPoll.
 
 TEST_F (ProactorTest, asyncPollMulti)
 Test asyncPollMulti.
 
 TEST_F (ProactorTest, asyncConnect)
 Test async connect.
 
 TEST_F (ProactorTest, asyncAccept)
 Test async accept.
 
 TEST_F (ProactorTest, asyncAcceptMulti)
 Test multishot accept.
 
 TEST_F (ProactorTest, asyncWrite)
 Test async write.
 
 TEST_F (ProactorTest, asyncRead)
 Test async read.
 
 TEST_F (ProactorTest, asyncSendmsg)
 Test async sendmsg.
 
 TEST_F (ProactorTest, asyncRecvmsg)
 Test async recvmsg.
 
 TEST_F (ProactorTest, asyncRecvmsgMulti)
 Test multishot recvmsg.
 
 TEST_F (ProactorTest, asyncSend)
 Test async send.
 
 TEST_F (ProactorTest, asyncRecv)
 Test async recv.
 
 TEST_F (ProactorTest, asyncRecvMulti)
 Test multishot receive.
 
 TEST_F (ProactorTest, onClose)
 Test onClose.
 
 TEST_F (ProactorTest, onError)
 Test onError.
 
 TEST_F (ProactorTest, resubmit)
 Test resubmission from handler.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST_F() [1/25]

TEST_F ( ProactorTest ,
asyncAccept  )

Test async accept.

◆ TEST_F() [2/25]

TEST_F ( ProactorTest ,
asyncAcceptMulti  )

Test multishot accept.

◆ TEST_F() [3/25]

TEST_F ( ProactorTest ,
asyncConnect  )

Test async connect.

◆ TEST_F() [4/25]

TEST_F ( ProactorTest ,
asyncPoll  )

Test asyncPoll.

◆ TEST_F() [5/25]

TEST_F ( ProactorTest ,
asyncPollMulti  )

Test asyncPollMulti.

◆ TEST_F() [6/25]

TEST_F ( ProactorTest ,
asyncRead  )

Test async read.

◆ TEST_F() [7/25]

TEST_F ( ProactorTest ,
asyncRecv  )

Test async recv.

◆ TEST_F() [8/25]

TEST_F ( ProactorTest ,
asyncRecvmsg  )

Test async recvmsg.

◆ TEST_F() [9/25]

TEST_F ( ProactorTest ,
asyncRecvmsgMulti  )

Test multishot recvmsg.

◆ TEST_F() [10/25]

TEST_F ( ProactorTest ,
asyncRecvMulti  )

Test multishot receive.

◆ TEST_F() [11/25]

TEST_F ( ProactorTest ,
asyncSend  )

Test async send.

◆ TEST_F() [12/25]

TEST_F ( ProactorTest ,
asyncSendmsg  )

Test async sendmsg.

◆ TEST_F() [13/25]

TEST_F ( ProactorTest ,
asyncWrite  )

Test async write.

◆ TEST_F() [14/25]

TEST_F ( ProactorTest ,
cancel  )

Test cancel.

◆ TEST_F() [15/25]

TEST_F ( ProactorTest ,
invoke  )

Test invoke.

◆ TEST_F() [16/25]

TEST_F ( ProactorTest ,
isRunning  )

Test isRunning.

◆ TEST_F() [17/25]

TEST_F ( ProactorTest ,
mlock  )

Test mlock.

◆ TEST_F() [18/25]

TEST_F ( ProactorTest ,
onClose  )

Test onClose.

◆ TEST_F() [19/25]

TEST_F ( ProactorTest ,
onError  )

Test onError.

◆ TEST_F() [20/25]

TEST_F ( ProactorTest ,
registerBufferRing  )

Test registerBufferRing and unregisterBufferRing.

◆ TEST_F() [21/25]

TEST_F ( ProactorTest ,
resubmit  )

Test resubmission from handler.

◆ TEST_F() [22/25]

TEST_F ( ProactorTest ,
stop  )

Test stop.

◆ TEST_F() [23/25]

TEST_F ( ProactorTest ,
submit  )

Test submit.

◆ TEST_F() [24/25]

TEST_F ( ProactorTest ,
suspend  )

Test suspend.

◆ TEST_F() [25/25]

TEST_F ( ProactorTest ,
waitStopped  )

Test waitStopped.