#include "test_common.hpp"
#include <iostream>
#include <set>
#include <openvpn/common/exception.hpp>
#include <openvpn/addr/route.hpp>
Go to the source code of this file.
◆ TEST() [1/5]
TEST |
( |
IPAddr |
, |
|
|
parseRoutes |
|
|
) |
| |
◆ TEST() [2/5]
TEST |
( |
IPAddr |
, |
|
|
routeList |
|
|
) |
| |
◆ TEST() [3/5]
TEST |
( |
IPAddr |
, |
|
|
routeList4 |
|
|
) |
| |
◆ TEST() [4/5]
TEST |
( |
IPAddr |
, |
|
|
routeList6 |
|
|
) |
| |
◆ TEST() [5/5]
TEST |
( |
IPAddr |
, |
|
|
routeSet |
|
|
) |
| |
◆ test_route_parse()
void test_route_parse |
( |
const std::string & |
rstr, |
|
|
const std::string & |
expected, |
|
|
bool |
ipv6 |
|
) |
| |
◆ test_split()
template<typename LIST >
void test_split |
( |
const LIST & |
rtlist, |
|
|
const std::string & |
expected |
|
) |
| |