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

Classes

class  TcpSocketStream
 Class used to test the TCP socket stream API. More...
 

Functions

 TEST_F (TcpSocketStream, defaultConstruct)
 Test default constructor.
 
 TEST_F (TcpSocketStream, moveConstruct)
 Test move constructor.
 
 TEST_F (TcpSocketStream, moveAssign)
 Test move operatore.
 
 TEST_F (TcpSocketStream, bind)
 Test bind method.
 
 TEST_F (TcpSocketStream, connect)
 Test connect method.
 
 TEST_F (TcpSocketStream, disconnect)
 Test disconnect method.
 
 TEST_F (TcpSocketStream, close)
 Test close method.
 
 TEST_F (TcpSocketStream, localEndpoint)
 Test localEndpoint method.
 
 TEST_F (TcpSocketStream, remoteEndpoint)
 Test remoteEndpoint method.
 
 TEST_F (TcpSocketStream, opened)
 Test opened method.
 
 TEST_F (TcpSocketStream, connected)
 Test connected method.
 
 TEST_F (TcpSocketStream, encrypted)
 Test encrypted method.
 
 TEST_F (TcpSocketStream, timeout)
 Test timeout method.
 
 TEST_F (TcpSocketStream, socket)
 Test socket method.
 
 TEST_F (TcpSocketStream, insert)
 Test insert operator.
 
 TEST_F (TcpSocketStream, put)
 Test put method.
 
 TEST_F (TcpSocketStream, write)
 Test write method.
 
 TEST_F (TcpSocketStream, flush)
 Test flush method.
 
 TEST_F (TcpSocketStream, extract)
 Test extract method.
 
 TEST_F (TcpSocketStream, get)
 Test get method.
 
 TEST_F (TcpSocketStream, peek)
 Test peek method.
 
 TEST_F (TcpSocketStream, getline)
 Test getline method.
 
 TEST_F (TcpSocketStream, ignore)
 Test ignore method.
 
 TEST_F (TcpSocketStream, read)
 Test read method.
 
 TEST_F (TcpSocketStream, DISABLED_readsome)
 Test readsome method.
 
 TEST_F (TcpSocketStream, gcount)
 Test gcount method.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST_F() [1/26]

TEST_F ( TcpSocketStream ,
bind  )

Test bind method.

◆ TEST_F() [2/26]

TEST_F ( TcpSocketStream ,
close  )

Test close method.

◆ TEST_F() [3/26]

TEST_F ( TcpSocketStream ,
connect  )

Test connect method.

◆ TEST_F() [4/26]

TEST_F ( TcpSocketStream ,
connected  )

Test connected method.

◆ TEST_F() [5/26]

TEST_F ( TcpSocketStream ,
defaultConstruct  )

Test default constructor.

◆ TEST_F() [6/26]

TEST_F ( TcpSocketStream ,
DISABLED_readsome  )

Test readsome method.

◆ TEST_F() [7/26]

TEST_F ( TcpSocketStream ,
disconnect  )

Test disconnect method.

◆ TEST_F() [8/26]

TEST_F ( TcpSocketStream ,
encrypted  )

Test encrypted method.

◆ TEST_F() [9/26]

TEST_F ( TcpSocketStream ,
extract  )

Test extract method.

◆ TEST_F() [10/26]

TEST_F ( TcpSocketStream ,
flush  )

Test flush method.

◆ TEST_F() [11/26]

TEST_F ( TcpSocketStream ,
gcount  )

Test gcount method.

◆ TEST_F() [12/26]

TEST_F ( TcpSocketStream ,
get  )

Test get method.

◆ TEST_F() [13/26]

TEST_F ( TcpSocketStream ,
getline  )

Test getline method.

◆ TEST_F() [14/26]

TEST_F ( TcpSocketStream ,
ignore  )

Test ignore method.

◆ TEST_F() [15/26]

TEST_F ( TcpSocketStream ,
insert  )

Test insert operator.

◆ TEST_F() [16/26]

TEST_F ( TcpSocketStream ,
localEndpoint  )

Test localEndpoint method.

◆ TEST_F() [17/26]

TEST_F ( TcpSocketStream ,
moveAssign  )

Test move operatore.

◆ TEST_F() [18/26]

TEST_F ( TcpSocketStream ,
moveConstruct  )

Test move constructor.

◆ TEST_F() [19/26]

TEST_F ( TcpSocketStream ,
opened  )

Test opened method.

◆ TEST_F() [20/26]

TEST_F ( TcpSocketStream ,
peek  )

Test peek method.

◆ TEST_F() [21/26]

TEST_F ( TcpSocketStream ,
put  )

Test put method.

◆ TEST_F() [22/26]

TEST_F ( TcpSocketStream ,
read  )

Test read method.

◆ TEST_F() [23/26]

TEST_F ( TcpSocketStream ,
remoteEndpoint  )

Test remoteEndpoint method.

◆ TEST_F() [24/26]

TEST_F ( TcpSocketStream ,
socket  )

Test socket method.

◆ TEST_F() [25/26]

TEST_F ( TcpSocketStream ,
timeout  )

Test timeout method.

◆ TEST_F() [26/26]

TEST_F ( TcpSocketStream ,
write  )

Test write method.