|
join 1.0
lightweight network framework library
|
Class used to test the SMTP client. More...


Static Public Member Functions | |
| static void | SetUpTestCase () |
| set up test case. | |
| static void | TearDownTestCase () |
| tear down test case. | |
Protected Member Functions | |
| void | SetUp () override |
| Sets up the test fixture. | |
| void | TearDown () override |
| Tears down the test fixture. | |
| virtual void | onReadable (int fd) override |
| method called when data are ready to be read on handle. | |
Protected Member Functions inherited from join::EventHandler | |
| virtual void | onWriteable (int fd) |
| method called when data are ready to be written on handle. | |
| virtual void | onClose (int fd) |
| method called when handle was closed by the peer. | |
| virtual void | onError (int fd) |
| method called when an error occurred on handle. | |
Static Protected Attributes | |
| static const std::string | _host = "localhost" |
| host. | |
| static const uint16_t | _port = 5000 |
| port. | |
| static const int | _timeout = 1000 |
| timeout. | |
| static const std::string | _rootcert = "/tmp/tlssocket_test_root.cert" |
| root certificate. | |
| static const std::string | _certPath = "/tmp/certs" |
| certificate path. | |
| static const std::string | _certFile = _certPath + "/tlssocket_test.cert" |
| certificate file. | |
| static const std::string | _key = "/tmp/tlssocket_test.key" |
| private key. | |
| static const std::string | _invalidKey = "/tmp/tlssocket_test_invalid.key" |
| invalid private key. | |
| static const std::string | _user = "admin" |
| user. | |
| static const std::string | _password = "12345" |
| password. | |
Additional Inherited Members | |
Public Member Functions inherited from join::EventHandler | |
| EventHandler ()=default | |
| create instance. | |
| EventHandler (const EventHandler &other)=default | |
| copy constructor. | |
| EventHandler & | operator= (const EventHandler &other)=default |
| copy assignment operator. | |
| EventHandler (EventHandler &&other)=default | |
| move constructor. | |
| EventHandler & | operator= (EventHandler &&other)=default |
| move assignment operator. | |
| virtual | ~EventHandler ()=default |
| destroy instance. | |
Class used to test the SMTP client.
|
inlineoverrideprotectedvirtual |
method called when data are ready to be read on handle.
| fd | file descriptor. |
Reimplemented from join::EventHandler.
|
inlineoverrideprotected |
Sets up the test fixture.
|
inlinestatic |
set up test case.
|
inlineoverrideprotected |
Tears down the test fixture.
|
inlinestatic |
tear down test case.
|
staticprotected |
certificate file.
|
staticprotected |
certificate path.
|
staticprotected |
host.
|
staticprotected |
invalid private key.
|
staticprotected |
private key.
|
staticprotected |
password.
|
staticprotected |
port.
|
staticprotected |
root certificate.
|
staticprotected |
timeout.
|
staticprotected |
user.