join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
tcp_socket_stream_test.cpp File Reference
#include <join/socket_stream.hpp>
#include <join/acceptor.hpp>
#include <join/reactor.hpp>
#include <gtest/gtest.h>
Include dependency graph for tcp_socket_stream_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, 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/25]

TEST_F ( TcpSocketStream ,
bind  )

Test bind method.

◆ TEST_F() [2/25]

TEST_F ( TcpSocketStream ,
close  )

Test close method.

◆ TEST_F() [3/25]

TEST_F ( TcpSocketStream ,
connect  )

Test connect method.

◆ TEST_F() [4/25]

TEST_F ( TcpSocketStream ,
connected  )

Test connected method.

◆ TEST_F() [5/25]

TEST_F ( TcpSocketStream ,
defaultConstruct  )

Test default constructor.

◆ TEST_F() [6/25]

TEST_F ( TcpSocketStream ,
DISABLED_readsome  )

Test readsome method.

◆ TEST_F() [7/25]

TEST_F ( TcpSocketStream ,
disconnect  )

Test disconnect method.

◆ TEST_F() [8/25]

TEST_F ( TcpSocketStream ,
extract  )

Test extract method.

◆ TEST_F() [9/25]

TEST_F ( TcpSocketStream ,
flush  )

Test flush method.

◆ TEST_F() [10/25]

TEST_F ( TcpSocketStream ,
gcount  )

Test gcount method.

◆ TEST_F() [11/25]

TEST_F ( TcpSocketStream ,
get  )

Test get method.

◆ TEST_F() [12/25]

TEST_F ( TcpSocketStream ,
getline  )

Test getline method.

◆ TEST_F() [13/25]

TEST_F ( TcpSocketStream ,
ignore  )

Test ignore method.

◆ TEST_F() [14/25]

TEST_F ( TcpSocketStream ,
insert  )

Test insert operator.

◆ TEST_F() [15/25]

TEST_F ( TcpSocketStream ,
localEndpoint  )

Test localEndpoint method.

◆ TEST_F() [16/25]

TEST_F ( TcpSocketStream ,
moveAssign  )

Test move operatore.

◆ TEST_F() [17/25]

TEST_F ( TcpSocketStream ,
moveConstruct  )

Test move constructor.

◆ TEST_F() [18/25]

TEST_F ( TcpSocketStream ,
opened  )

Test opened method.

◆ TEST_F() [19/25]

TEST_F ( TcpSocketStream ,
peek  )

Test peek method.

◆ TEST_F() [20/25]

TEST_F ( TcpSocketStream ,
put  )

Test put method.

◆ TEST_F() [21/25]

TEST_F ( TcpSocketStream ,
read  )

Test read method.

◆ TEST_F() [22/25]

TEST_F ( TcpSocketStream ,
remoteEndpoint  )

Test remoteEndpoint method.

◆ TEST_F() [23/25]

TEST_F ( TcpSocketStream ,
socket  )

Test socket method.

◆ TEST_F() [24/25]

TEST_F ( TcpSocketStream ,
timeout  )

Test timeout method.

◆ TEST_F() [25/25]

TEST_F ( TcpSocketStream ,
write  )

Test write method.