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 298 of file mock_socket.cpp.

◆ Expect_accept()

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

Definition at line 168 of file mock_socket.cpp.

◆ Expect_bind()

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

Definition at line 132 of file mock_socket.cpp.

◆ Expect_close()

void MockSocketTest::Expect_close ( int  fd)
protected

Definition at line 70 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 188 of file mock_socket.cpp.

◆ Expect_get_port()

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

Definition at line 272 of file mock_socket.cpp.

◆ Expect_getError()

void MockSocketTest::Expect_getError ( int  ret)
protected

Definition at line 257 of file mock_socket.cpp.

◆ Expect_listen()

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

Definition at line 151 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 213 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 238 of file mock_socket.cpp.

◆ Expect_setNonBlocking()

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

Definition at line 97 of file mock_socket.cpp.

◆ Expect_setReuseAddr()

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

Definition at line 114 of file mock_socket.cpp.

◆ Expect_socket()

void MockSocketTest::Expect_socket ( int  ret)
protected

Definition at line 82 of file mock_socket.cpp.

◆ SetUp()

void MockSocketTest::SetUp ( )
protected

Definition at line 279 of file mock_socket.cpp.

◆ TearDown()

void MockSocketTest::TearDown ( )
protected

Definition at line 294 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, Dirk Thomas , Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:32