|
Wire Sysio Wire Sysion 1.0.0
|
#include <boost/test/unit_test.hpp>#include <iostream>#include <cstring>#include <string>#include <websocketpp/common/memory.hpp>#include <websocketpp/error.hpp>#include <websocketpp/transport/iostream/connection.hpp>#include <websocketpp/concurrency/basic.hpp>#include <websocketpp/logger/basic.hpp>
Go to the source code of this file.
Classes | |
| struct | config |
| struct | stub_con |
Macros | |
| #define | BOOST_TEST_MODULE transport_iostream_connection |
Typedefs | |
| typedef websocketpp::transport::iostream::connection< config > | iostream_con |
Functions | |
| BOOST_AUTO_TEST_CASE (const_methods) | |
| BOOST_AUTO_TEST_CASE (write_before_output_method_set) | |
| BOOST_AUTO_TEST_CASE (async_write_ostream) | |
| websocketpp::lib::error_code | write_handler (std::string &o, websocketpp::connection_hdl, char const *buf, size_t len) |
| websocketpp::lib::error_code | vector_write_handler (std::string &o, websocketpp::connection_hdl, std::vector< websocketpp::transport::buffer > const &bufs) |
| websocketpp::lib::error_code | write_handler_error (websocketpp::connection_hdl, char const *, size_t) |
| BOOST_AUTO_TEST_CASE (async_write_handler) | |
| BOOST_AUTO_TEST_CASE (async_write_handler_error) | |
| BOOST_AUTO_TEST_CASE (async_write_vector_0_ostream) | |
| BOOST_AUTO_TEST_CASE (async_write_vector_0_write_handler) | |
| BOOST_AUTO_TEST_CASE (async_write_vector_1_ostream) | |
| BOOST_AUTO_TEST_CASE (async_write_vector_1_write_handler) | |
| BOOST_AUTO_TEST_CASE (async_write_vector_2_ostream) | |
| BOOST_AUTO_TEST_CASE (async_write_vector_2_write_handler) | |
| BOOST_AUTO_TEST_CASE (async_write_vector_2_vector_write_handler) | |
| BOOST_AUTO_TEST_CASE (async_read_at_least_too_much) | |
| BOOST_AUTO_TEST_CASE (async_read_at_least_double_read) | |
| BOOST_AUTO_TEST_CASE (async_read_at_least) | |
| BOOST_AUTO_TEST_CASE (async_read_at_least2) | |
| void | timer_callback_stub (websocketpp::lib::error_code const &) |
| BOOST_AUTO_TEST_CASE (set_timer) | |
| BOOST_AUTO_TEST_CASE (async_read_at_least_read_some) | |
| BOOST_AUTO_TEST_CASE (async_read_at_least_read_some_indef) | |
| BOOST_AUTO_TEST_CASE (async_read_at_least_read_all) | |
| BOOST_AUTO_TEST_CASE (eof_flag) | |
| BOOST_AUTO_TEST_CASE (fatal_error_flag) | |
| BOOST_AUTO_TEST_CASE (shutdown) | |
| websocketpp::lib::error_code | sd_handler (websocketpp::connection_hdl) |
| BOOST_AUTO_TEST_CASE (shutdown_handler) | |
| BOOST_AUTO_TEST_CASE (shared_pointer_memory_cleanup) | |
Variables | |
| config::alog_type | alogger |
| config::elog_type | elogger |
| #define BOOST_TEST_MODULE transport_iostream_connection |
Definition at line 28 of file connection.cpp.
Definition at line 52 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | async_read_at_least | ) |
Definition at line 410 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | async_read_at_least2 | ) |
Definition at line 446 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | async_read_at_least_double_read | ) |
Definition at line 400 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | async_read_at_least_read_all | ) |
Definition at line 529 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | async_read_at_least_read_some | ) |
Definition at line 480 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | async_read_at_least_read_some_indef | ) |
Definition at line 504 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | async_read_at_least_too_much | ) |
Definition at line 391 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | async_write_handler | ) |
Definition at line 219 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | async_write_handler_error | ) |
Definition at line 235 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | async_write_ostream | ) |
Definition at line 188 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | async_write_vector_0_ostream | ) |
Definition at line 243 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | async_write_vector_0_write_handler | ) |
Definition at line 257 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | async_write_vector_1_ostream | ) |
Definition at line 278 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | async_write_vector_1_write_handler | ) |
Definition at line 296 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | async_write_vector_2_ostream | ) |
Definition at line 320 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | async_write_vector_2_vector_write_handler | ) |
Definition at line 366 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | async_write_vector_2_write_handler | ) |
Definition at line 340 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | const_methods | ) |
Definition at line 170 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | eof_flag | ) |
Definition at line 545 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | fatal_error_flag | ) |
Definition at line 554 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | set_timer | ) |
Definition at line 472 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | shared_pointer_memory_cleanup | ) |
Definition at line 583 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | shutdown | ) |
Definition at line 563 of file connection.cpp.
| BOOST_AUTO_TEST_CASE | ( | shutdown_handler | ) |
Definition at line 574 of file connection.cpp.

| BOOST_AUTO_TEST_CASE | ( | write_before_output_method_set | ) |
Definition at line 177 of file connection.cpp.
| websocketpp::lib::error_code sd_handler | ( | websocketpp::connection_hdl | ) |
| void timer_callback_stub | ( | websocketpp::lib::error_code const & | ) |
| websocketpp::lib::error_code vector_write_handler | ( | std::string & | o, |
| websocketpp::connection_hdl | , | ||
| std::vector< websocketpp::transport::buffer > const & | bufs ) |
Definition at line 206 of file connection.cpp.

| websocketpp::lib::error_code write_handler | ( | std::string & | o, |
| websocketpp::connection_hdl | , | ||
| char const * | buf, | ||
| size_t | len ) |
Definition at line 201 of file connection.cpp.

| websocketpp::lib::error_code write_handler_error | ( | websocketpp::connection_hdl | , |
| char const * | , | ||
| size_t | ) |
| config::alog_type alogger |
Definition at line 167 of file connection.cpp.
| config::elog_type elogger |
Definition at line 168 of file connection.cpp.