Protected Member Functions | List of all members
MockSocketTest Class Reference

#include <mock_socket.h>

Inheritance diagram for MockSocketTest:
Inheritance graph
[legend]

Protected Member Functions

void CheckCalls ()
 
void Expect_accept (int fd, int ret)
 
void Expect_bind (int fd, int port, bool ret)
 
void Expect_close (int fd)
 
void Expect_connect (int fd, const std::string &host, int port, bool ret)
 
void Expect_get_port (int socket, int ret)
 
void Expect_getError (int ret)
 
void Expect_listen (int fd, int backlog, bool ret)
 
void Expect_nbRead (int fd, const std::string &s, bool eof, bool ret)
 
void Expect_nbWrite (int fd, const std::string &s, int bytes, bool ret)
 
void Expect_setNonBlocking (int fd, bool ret)
 
void Expect_setReuseAddr (int fd, bool ret)
 
void Expect_socket (int ret)
 
void SetUp ()
 
void TearDown ()
 

Detailed Description

Definition at line 28 of file mock_socket.h.

Member Function Documentation

◆ CheckCalls()

void MockSocketTest::CheckCalls ( )
protected

Definition at line 302 of file mock_socket.cpp.

◆ Expect_accept()

void MockSocketTest::Expect_accept ( int  fd,
int  ret 
)
protected

Definition at line 172 of file mock_socket.cpp.

◆ Expect_bind()

void MockSocketTest::Expect_bind ( int  fd,
int  port,
bool  ret 
)
protected

Definition at line 136 of file mock_socket.cpp.

◆ Expect_close()

void MockSocketTest::Expect_close ( int  fd)
protected

Definition at line 74 of file mock_socket.cpp.

◆ Expect_connect()

void MockSocketTest::Expect_connect ( int  fd,
const std::string &  host,
int  port,
bool  ret 
)
protected

Definition at line 192 of file mock_socket.cpp.

◆ Expect_get_port()

void MockSocketTest::Expect_get_port ( int  socket,
int  ret 
)
protected

Definition at line 276 of file mock_socket.cpp.

◆ Expect_getError()

void MockSocketTest::Expect_getError ( int  ret)
protected

Definition at line 261 of file mock_socket.cpp.

◆ Expect_listen()

void MockSocketTest::Expect_listen ( int  fd,
int  backlog,
bool  ret 
)
protected

Definition at line 155 of file mock_socket.cpp.

◆ Expect_nbRead()

void MockSocketTest::Expect_nbRead ( int  fd,
const std::string &  s,
bool  eof,
bool  ret 
)
protected

Definition at line 217 of file mock_socket.cpp.

◆ Expect_nbWrite()

void MockSocketTest::Expect_nbWrite ( int  fd,
const std::string &  s,
int  bytes,
bool  ret 
)
protected

Definition at line 242 of file mock_socket.cpp.

◆ Expect_setNonBlocking()

void MockSocketTest::Expect_setNonBlocking ( int  fd,
bool  ret 
)
protected

Definition at line 101 of file mock_socket.cpp.

◆ Expect_setReuseAddr()

void MockSocketTest::Expect_setReuseAddr ( int  fd,
bool  ret 
)
protected

Definition at line 118 of file mock_socket.cpp.

◆ Expect_socket()

void MockSocketTest::Expect_socket ( int  ret)
protected

Definition at line 86 of file mock_socket.cpp.

◆ SetUp()

void MockSocketTest::SetUp ( )
protected

Definition at line 283 of file mock_socket.cpp.

◆ TearDown()

void MockSocketTest::TearDown ( )
protected

Definition at line 298 of file mock_socket.cpp.


The documentation for this class was generated from the following files:


xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix
autogenerated on Fri Oct 4 2019 03:16:53