|
OpenVPN 3 Core Library
|
#include "test_common.hpp"#include <openvpn/random/mtrandapi.hpp>#include <openvpn/transport/pktstream.hpp>Go to the source code of this file.
Functions | |
| static size_t | rand_size (RandomAPI &prng) |
| template<typename PKTSTREAM > | |
| static void | do_test (const bool grow, const bool verbose) |
| TEST (Pktstream, Test16) | |
| TEST (Pktstream, Test32) | |
| TEST (Pktstream, Test16Residual) | |
| TEST (Pktstream, Test32Residual) | |
| template<typename PKTSTREAM > | |
| static void | validate_size (const Frame::Context &fc, const size_t size, const bool expect_throw) |
| template<typename PKTSTREAM > | |
| static void | validate_size_test () |
| TEST (Pktstream, ValidateSize16) | |
| TEST (Pktstream, ValidateSize32) | |
|
static |
Definition at line 30 of file test_pktstream.cpp.
|
static |
| TEST | ( | Pktstream | , |
| Test16 | |||
| ) |
Definition at line 118 of file test_pktstream.cpp.
| TEST | ( | Pktstream | , |
| Test16Residual | |||
| ) |
Definition at line 128 of file test_pktstream.cpp.
| TEST | ( | Pktstream | , |
| Test32 | |||
| ) |
Definition at line 123 of file test_pktstream.cpp.
| TEST | ( | Pktstream | , |
| Test32Residual | |||
| ) |
Definition at line 133 of file test_pktstream.cpp.
| TEST | ( | Pktstream | , |
| ValidateSize16 | |||
| ) |
Definition at line 173 of file test_pktstream.cpp.
| TEST | ( | Pktstream | , |
| ValidateSize32 | |||
| ) |
Definition at line 178 of file test_pktstream.cpp.
|
static |
Definition at line 139 of file test_pktstream.cpp.
|
static |
Definition at line 159 of file test_pktstream.cpp.