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

Functions

 TEST (UnixAcceptor, move)
 Assign by move.
 
 TEST (UnixAcceptor, create)
 Test create method.
 
 TEST (UnixAcceptor, close)
 Test close method.
 
 TEST (UnixAcceptor, accept)
 Test accept method.
 
 TEST (UnixAcceptor, acceptStream)
 Test acceptStream method.
 
 TEST (UnixAcceptor, localEndpoint)
 Test localEndpoint method.
 
 TEST (UnixAcceptor, opened)
 Test opened method.
 
 TEST (UnixAcceptor, family)
 Test family method.
 
 TEST (UnixAcceptor, type)
 Test type method.
 
 TEST (UnixAcceptor, protocol)
 Test protocol method.
 
 TEST (UnixAcceptor, handle)
 Test handle method.
 
int main (int argc, char **argv)
 main function.
 

Variables

std::string path = "/tmp/unixacceptor_test.sock"
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/11]

TEST ( UnixAcceptor ,
accept  )

Test accept method.

◆ TEST() [2/11]

TEST ( UnixAcceptor ,
acceptStream  )

Test acceptStream method.

◆ TEST() [3/11]

TEST ( UnixAcceptor ,
close  )

Test close method.

◆ TEST() [4/11]

TEST ( UnixAcceptor ,
create  )

Test create method.

◆ TEST() [5/11]

TEST ( UnixAcceptor ,
family  )

Test family method.

◆ TEST() [6/11]

TEST ( UnixAcceptor ,
handle  )

Test handle method.

◆ TEST() [7/11]

TEST ( UnixAcceptor ,
localEndpoint  )

Test localEndpoint method.

◆ TEST() [8/11]

TEST ( UnixAcceptor ,
move  )

Assign by move.

◆ TEST() [9/11]

TEST ( UnixAcceptor ,
opened  )

Test opened method.

◆ TEST() [10/11]

TEST ( UnixAcceptor ,
protocol  )

Test protocol method.

◆ TEST() [11/11]

TEST ( UnixAcceptor ,
type  )

Test type method.

Variable Documentation

◆ path

std::string path = "/tmp/unixacceptor_test.sock"