OpenVPN 3 Core Library
Loading...
Searching...
No Matches
test_tun_builder.cpp
Go to the documentation of this file.
1
2
#include "
test_common.hpp
"
3
4
#include <
openvpn/tun/builder/capture.hpp
>
5
6
TEST
(tun_builder, to_string_zero)
7
{
8
auto
rb =
openvpn::TunBuilderCapture::RouteBase
();
9
10
rb.address =
"0.0.0.0"
;
11
rb.prefix_length = 0;
12
13
EXPECT_EQ(rb.to_string(),
"0.0.0.0/0"
);
14
}
capture.hpp
openvpn::TunBuilderCapture::RouteBase
Base class for route-related functionality representing a network route.
Definition
capture.hpp:197
test_common.hpp
TEST
TEST(tun_builder, to_string_zero)
Definition
test_tun_builder.cpp:6
test
unittests
test_tun_builder.cpp
Generated by
1.9.8