Class used to test the SMTPS client.
More...
|
| void | SetUp () override |
| | Sets up the test fixture.
|
| |
| void | TearDown () override |
| | Tears down the test fixture.
|
| |
| virtual void | onReceive () override |
| | method called when data are ready to be read on handle.
|
| |
|
| 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.
|
| |
Class used to test the SMTPS client.
◆ onReceive()
| virtual void SmtpsClient::onReceive |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
method called when data are ready to be read on handle.
◆ SetUp()
| void SmtpsClient::SetUp |
( |
| ) |
|
|
inlineoverrideprotected |
Sets up the test fixture.
◆ SetUpTestCase()
| static void SmtpsClient::SetUpTestCase |
( |
| ) |
|
|
inlinestatic |
◆ TearDown()
| void SmtpsClient::TearDown |
( |
| ) |
|
|
inlineoverrideprotected |
Tears down the test fixture.
◆ TearDownTestCase()
| static void SmtpsClient::TearDownTestCase |
( |
| ) |
|
|
inlinestatic |
◆ _certFile
| const std::string SmtpsClient::_certFile = _certPath + "/tlssocket_test.cert" |
|
staticprotected |
◆ _certPath
| const std::string SmtpsClient::_certPath = "/tmp/certs" |
|
staticprotected |
◆ _host
| const std::string SmtpsClient::_host = "localhost" |
|
staticprotected |
◆ _invalidKey
| const std::string SmtpsClient::_invalidKey = "/tmp/tlssocket_test_invalid.key" |
|
staticprotected |
◆ _key
| const std::string SmtpsClient::_key = "/tmp/tlssocket_test.key" |
|
staticprotected |
◆ _password
| const std::string SmtpsClient::_password = "12345" |
|
staticprotected |
◆ _port
| const uint16_t SmtpsClient::_port = 5000 |
|
staticprotected |
◆ _rootcert
| const std::string SmtpsClient::_rootcert = "/tmp/tlssocket_test_root.cert" |
|
staticprotected |
◆ _timeout
| const int SmtpsClient::_timeout = 1000 |
|
staticprotected |
◆ _user
| const std::string SmtpsClient::_user = "admin" |
|
staticprotected |
The documentation for this class was generated from the following file: