Public Member Functions | |
| NextTester () | |
| void | run () |
| std::size_t | getFailures () const |
| NextTester () | |
| void | run () |
| std::size_t | getFailures () const |
Private Types | |
| using | Client = web::http::legacy::in::Client |
| using | MasterRequest = Client::MasterRequest |
| using | Request = Client::Request |
| using | Response = Client::Response |
| using | Client = web::http::legacy::in::Client |
| using | MasterRequest = Client::MasterRequest |
| using | Request = Client::Request |
| using | Response = Client::Response |
Private Member Functions | |
| void | dispatchNextRequest () |
| void | dispatchNextRequest () |
Private Attributes | |
| std::deque< TestCase > | testCases |
| std::shared_ptr< Client > | client |
| std::shared_ptr< MasterRequest > | masterRequest |
| std::size_t | failures = 0 |
Definition at line 63 of file testexpressnext.cpp.
|
private |
Definition at line 117 of file testexpressnext.cpp.
|
private |
Definition at line 117 of file testexpressnext.cpp.
|
private |
Definition at line 118 of file testexpressnext.cpp.
|
private |
Definition at line 118 of file testexpressnext.cpp.
|
private |
Definition at line 119 of file testexpressnext.cpp.
|
private |
Definition at line 119 of file testexpressnext.cpp.
|
private |
Definition at line 120 of file testexpressnext.cpp.
|
private |
Definition at line 120 of file testexpressnext.cpp.
|
inline |
Definition at line 65 of file testexpressnext.cpp.
References testCases.
|
inline |
Definition at line 65 of file testexpressnext.cpp.
|
inlineprivate |
Definition at line 122 of file testexpressnext.cpp.
References web::http::client::Response::body, TestCase::connection, web::http::client::MasterRequest::disconnect(), dispatchNextRequest(), web::http::client::MasterRequest::end(), logger::ERROR, TestCase::expectedBody, TestCase::expectedStatus, failures, logger::INFO, web::http::client::MasterRequest::init(), web::http::client::MasterRequest::isConnected(), logger::LogMessage::LogMessage(), masterRequest, web::http::client::Request::method, TestCase::name, web::http::client::Request::set(), core::timer::Timer::singleshotTimer(), web::http::client::Response::statusCode, core::SNodeC::stop(), testCases, TestCase::url, and web::http::client::Request::url.
Referenced by dispatchNextRequest(), and run().
|
inlineprivate |
Definition at line 122 of file testexpressnext.cpp.
|
inline |
Definition at line 112 of file testexpressnext.cpp.
References failures.
Referenced by main().
|
inline |
Definition at line 112 of file testexpressnext.cpp.
|
inline |
Definition at line 87 of file testexpressnext.cpp.
References client, net::in::stream::SocketClient< SocketConnectorT, ConfigSocketClientT, SocketContextFactoryT, Args >::connect(), dispatchNextRequest(), logger::ERROR, failures, logger::LogMessage::LogMessage(), masterRequest, core::socket::State::OK, core::socket::State::operator==(), core::timer::Timer::singleshotTimer(), core::SNodeC::stop(), and core::socket::State::what().
Referenced by main().
|
inline |
Definition at line 87 of file testexpressnext.cpp.
|
private |
Definition at line 179 of file testexpressnext.cpp.
Referenced by run().
|
private |
Definition at line 181 of file testexpressnext.cpp.
Referenced by dispatchNextRequest(), getFailures(), and run().
|
private |
Definition at line 180 of file testexpressnext.cpp.
Referenced by dispatchNextRequest(), and run().
|
private |
Definition at line 178 of file testexpressnext.cpp.
Referenced by dispatchNextRequest(), and NextTester().