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 XmlRpcLogHandler_logHandler = &defaultLogHandler
 
static int _verbosity = 0
 
- Static Private Attributes inherited from XmlRpc::XmlRpcErrorHandler
static XmlRpcErrorHandler_errorHandler = &defaultErrorHandler
 

Detailed Description

Definition at line 993 of file test_socket.cpp.

Member Function Documentation

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

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

Implements XmlRpc::XmlRpcErrorHandler.

Definition at line 1003 of file test_socket.cpp.

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

Definition at line 1017 of file test_socket.cpp.

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

Definition at line 1012 of file test_socket.cpp.

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 997 of file test_socket.cpp.

void XmlRpcConnectTest::SetUp ( )
inlineprotected

Definition at line 1022 of file test_socket.cpp.

void XmlRpcConnectTest::TearDown ( )
inlineprotected

Definition at line 1149 of file test_socket.cpp.

void XmlRpcConnectTest::TestConnect ( )
inlineprotected

Definition at line 1092 of file test_socket.cpp.

void XmlRpcConnectTest::TestConnectFail ( )
inlineprotected

Definition at line 1130 of file test_socket.cpp.

void XmlRpcConnectTest::TestLookupFail ( )
inlineprotected

Definition at line 1111 of file test_socket.cpp.

Member Data Documentation

struct sockaddr_in XmlRpcConnectTest::addr_ip4_22
protected

Definition at line 1156 of file test_socket.cpp.

struct sockaddr_in XmlRpcConnectTest::addr_ip4_404
protected

Definition at line 1157 of file test_socket.cpp.

struct sockaddr_in6 XmlRpcConnectTest::addr_ip6_404
protected

Definition at line 1159 of file test_socket.cpp.

struct sockaddr_in6 XmlRpcConnectTest::addr_ip6_44
protected

Definition at line 1158 of file test_socket.cpp.

struct addrinfo XmlRpcConnectTest::info_canon
protected

Definition at line 1162 of file test_socket.cpp.

struct addrinfo XmlRpcConnectTest::info_ip4
protected

Definition at line 1160 of file test_socket.cpp.

struct addrinfo XmlRpcConnectTest::info_ip6
protected

Definition at line 1161 of file test_socket.cpp.

std::string XmlRpcConnectTest::last_error

Definition at line 1010 of file test_socket.cpp.

int XmlRpcConnectTest::last_level

Definition at line 1008 of file test_socket.cpp.

std::string XmlRpcConnectTest::last_msg

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