Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
XmlRpcConnectTest Class Reference
Inheritance diagram for XmlRpcConnectTest:
Inheritance graph
[legend]

Public Member Functions

virtual void error (const char *msg)
 Report an error. Custom error handlers should define this method. More...
 
void EXPECT_ERROR (const std::string &msg)
 
void EXPECT_LOG (int level, const std::string &msg)
 
virtual void log (int level, const char *msg)
 Output a message. Custom error handlers should define this method. More...
 

Public Attributes

std::string last_error
 
int last_level
 
std::string last_msg
 

Protected Member Functions

void SetUp ()
 
void TearDown ()
 
void TestConnect ()
 
void TestConnectFail ()
 
void TestLookupFail ()
 
- Protected Member Functions inherited from XmlRpcSocketTest
void SetUp ()
 
void TearDown ()
 

Protected Attributes

struct sockaddr_in addr_ip4_22
 
struct sockaddr_in addr_ip4_404
 
struct sockaddr_in6 addr_ip6_404
 
struct sockaddr_in6 addr_ip6_44
 
struct addrinfo info_canon
 
struct addrinfo info_ip4
 
struct addrinfo info_ip6
 

Additional Inherited Members

- Private Member Functions inherited from XmlRpc::XmlRpcLogHandler
virtual ~XmlRpcLogHandler ()
 
- Private Member Functions inherited from XmlRpc::XmlRpcErrorHandler
virtual ~XmlRpcErrorHandler ()
 
- Static Private Member Functions inherited from XmlRpc::XmlRpcLogHandler
static XmlRpcLogHandlergetLogHandler ()
 Returns a pointer to the currently installed message reporting object. More...
 
static int getVerbosity ()
 Returns the level of verbosity of informational messages. 0 is no output, 5 is very verbose. More...
 
static void setLogHandler (XmlRpcLogHandler *lh)
 Specifies the message handler. More...
 
static void setVerbosity (int v)
 Specify the level of verbosity of informational messages. 0 is no output, 5 is very verbose. More...
 
- Static Private Member Functions inherited from XmlRpc::XmlRpcErrorHandler
static XmlRpcErrorHandlergetErrorHandler ()
 Returns a pointer to the currently installed error handling object. More...
 
static void setErrorHandler (XmlRpcErrorHandler *eh)
 Specifies the error handler. More...
 
- Static Private Attributes inherited from XmlRpc::XmlRpcLogHandler
static XMLRPCPP_DECL XmlRpcLogHandler_logHandler = &defaultLogHandler
 
static XMLRPCPP_DECL int _verbosity = 0
 
- Static Private Attributes inherited from XmlRpc::XmlRpcErrorHandler
static XMLRPCPP_DECL XmlRpcErrorHandler_errorHandler = &defaultErrorHandler
 

Detailed Description

Definition at line 994 of file test_socket.cpp.

Member Function Documentation

◆ error()

virtual void XmlRpcConnectTest::error ( const char *  msg)
inlinevirtual

Report an error. Custom error handlers should define this method.

Implements XmlRpc::XmlRpcErrorHandler.

Definition at line 1004 of file test_socket.cpp.

◆ EXPECT_ERROR()

void XmlRpcConnectTest::EXPECT_ERROR ( const std::string &  msg)
inline

Definition at line 1018 of file test_socket.cpp.

◆ EXPECT_LOG()

void XmlRpcConnectTest::EXPECT_LOG ( int  level,
const std::string &  msg 
)
inline

Definition at line 1013 of file test_socket.cpp.

◆ log()

virtual void XmlRpcConnectTest::log ( int  level,
const char *  msg 
)
inlinevirtual

Output a message. Custom error handlers should define this method.

Implements XmlRpc::XmlRpcLogHandler.

Definition at line 998 of file test_socket.cpp.

◆ SetUp()

void XmlRpcConnectTest::SetUp ( )
inlineprotected

Definition at line 1023 of file test_socket.cpp.

◆ TearDown()

void XmlRpcConnectTest::TearDown ( )
inlineprotected

Definition at line 1150 of file test_socket.cpp.

◆ TestConnect()

void XmlRpcConnectTest::TestConnect ( )
inlineprotected

Definition at line 1093 of file test_socket.cpp.

◆ TestConnectFail()

void XmlRpcConnectTest::TestConnectFail ( )
inlineprotected

Definition at line 1131 of file test_socket.cpp.

◆ TestLookupFail()

void XmlRpcConnectTest::TestLookupFail ( )
inlineprotected

Definition at line 1112 of file test_socket.cpp.

Member Data Documentation

◆ addr_ip4_22

struct sockaddr_in XmlRpcConnectTest::addr_ip4_22
protected

Definition at line 1157 of file test_socket.cpp.

◆ addr_ip4_404

struct sockaddr_in XmlRpcConnectTest::addr_ip4_404
protected

Definition at line 1158 of file test_socket.cpp.

◆ addr_ip6_404

struct sockaddr_in6 XmlRpcConnectTest::addr_ip6_404
protected

Definition at line 1160 of file test_socket.cpp.

◆ addr_ip6_44

struct sockaddr_in6 XmlRpcConnectTest::addr_ip6_44
protected

Definition at line 1159 of file test_socket.cpp.

◆ info_canon

struct addrinfo XmlRpcConnectTest::info_canon
protected

Definition at line 1163 of file test_socket.cpp.

◆ info_ip4

struct addrinfo XmlRpcConnectTest::info_ip4
protected

Definition at line 1161 of file test_socket.cpp.

◆ info_ip6

struct addrinfo XmlRpcConnectTest::info_ip6
protected

Definition at line 1162 of file test_socket.cpp.

◆ last_error

std::string XmlRpcConnectTest::last_error

Definition at line 1011 of file test_socket.cpp.

◆ last_level

int XmlRpcConnectTest::last_level

Definition at line 1009 of file test_socket.cpp.

◆ last_msg

std::string XmlRpcConnectTest::last_msg

Definition at line 1010 of file test_socket.cpp.


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


xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix
autogenerated on Mon Jun 1 2020 03:22:44