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

void MockSocketTest::CheckCalls ( )
protected

Definition at line 299 of file mock_socket.cpp.

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

Definition at line 169 of file mock_socket.cpp.

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

Definition at line 133 of file mock_socket.cpp.

void MockSocketTest::Expect_close ( int  fd)
protected

Definition at line 71 of file mock_socket.cpp.

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

Definition at line 189 of file mock_socket.cpp.

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

Definition at line 273 of file mock_socket.cpp.

void MockSocketTest::Expect_getError ( int  ret)
protected

Definition at line 258 of file mock_socket.cpp.

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

Definition at line 152 of file mock_socket.cpp.

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

Definition at line 214 of file mock_socket.cpp.

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

Definition at line 239 of file mock_socket.cpp.

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

Definition at line 98 of file mock_socket.cpp.

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

Definition at line 115 of file mock_socket.cpp.

void MockSocketTest::Expect_socket ( int  ret)
protected

Definition at line 83 of file mock_socket.cpp.

void MockSocketTest::SetUp ( )
protected

Definition at line 280 of file mock_socket.cpp.

void MockSocketTest::TearDown ( )
protected

Definition at line 295 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 Sun Feb 3 2019 03:29:51