|
OpenVPN 3 Core Library
|
#include "test_common.hpp"#include <openvpn/common/ostream_containers.hpp>#include <list>#include <complex>#include <deque>Go to the source code of this file.
Classes | |
| struct | TestItem< Container > |
| struct | MyComplex |
Typedefs | |
| using | ssi = std::set< int > |
| using | sls = std::list< std::string > |
| using | svc = std::vector< std::complex< double > > |
| using | sdm = std::deque< MyComplex > |
Functions | |
| TEST (ostream_container, simple_vector_int) | |
| template<typename Tests > | |
| void | generic_test (const Tests &tests) |
| template<template< typename... > typename Coll_T, typename Val_T > | |
| auto | container_of_pointers (const Coll_T< Val_T > &colln) |
| template<typename Tests > | |
| void | generic_ptr_test (const Tests &tests) |
| TEST (ostream_container, set_int) | |
| TEST (ostream_container, list_string) | |
| TEST (ostream_container, vector_complex) | |
| std::ostream & | operator<< (std::ostream &os, const MyComplex &mc) |
| TEST (ostream_container, deque_custom) | |
Variables | |
| const TestItem< ssi > | set_int_tests [] |
| const TestItem< sls > | list_string_tests [] |
| const TestItem< svc > | vector_complex_tests [] |
| const TestItem< sdm > | deque_custom_tests [] |
Definition at line 134 of file test_ostream_containers.cpp.
| using sls = std::list<std::string> |
Definition at line 96 of file test_ostream_containers.cpp.
| using ssi = std::set<int> |
Definition at line 76 of file test_ostream_containers.cpp.
| using svc = std::vector<std::complex<double> > |
Definition at line 108 of file test_ostream_containers.cpp.
| auto container_of_pointers | ( | const Coll_T< Val_T > & | colln | ) |
Definition at line 49 of file test_ostream_containers.cpp.
| void generic_ptr_test | ( | const Tests & | tests | ) |
Definition at line 61 of file test_ostream_containers.cpp.
| void generic_test | ( | const Tests & | tests | ) |
Definition at line 36 of file test_ostream_containers.cpp.
| std::ostream & operator<< | ( | std::ostream & | os, |
| const MyComplex & | mc | ||
| ) |
Definition at line 128 of file test_ostream_containers.cpp.
| TEST | ( | ostream_container | , |
| deque_custom | |||
| ) |
Definition at line 140 of file test_ostream_containers.cpp.
| TEST | ( | ostream_container | , |
| list_string | |||
| ) |
Definition at line 102 of file test_ostream_containers.cpp.
| TEST | ( | ostream_container | , |
| set_int | |||
| ) |
Definition at line 83 of file test_ostream_containers.cpp.
| TEST | ( | ostream_container | , |
| simple_vector_int | |||
| ) |
Definition at line 11 of file test_ostream_containers.cpp.
| TEST | ( | ostream_container | , |
| vector_complex | |||
| ) |
Definition at line 114 of file test_ostream_containers.cpp.
Definition at line 135 of file test_ostream_containers.cpp.
Definition at line 97 of file test_ostream_containers.cpp.
Definition at line 77 of file test_ostream_containers.cpp.
Definition at line 109 of file test_ostream_containers.cpp.