OpenVPN 3 Core Library
Loading...
Searching...
No Matches
test_route.cpp File Reference
#include "test_common.hpp"
#include <iostream>
#include <set>
#include <openvpn/common/exception.hpp>
#include <openvpn/addr/route.hpp>
Include dependency graph for test_route.cpp:

Go to the source code of this file.

Functions

void test_route_parse (const std::string &rstr, const std::string &expected, bool ipv6)
 
 TEST (IPAddr, routeSet)
 
template<typename LIST >
void test_split (const LIST &rtlist, const std::string &expected)
 
 TEST (IPAddr, routeList4)
 
 TEST (IPAddr, routeList6)
 
 TEST (IPAddr, routeList)
 
 TEST (IPAddr, parseRoutes)
 

Function Documentation

◆ TEST() [1/5]

TEST ( IPAddr  ,
parseRoutes   
)

Definition at line 117 of file test_route.cpp.

◆ TEST() [2/5]

TEST ( IPAddr  ,
routeList   
)

Definition at line 96 of file test_route.cpp.

◆ TEST() [3/5]

TEST ( IPAddr  ,
routeList4   
)

Definition at line 70 of file test_route.cpp.

◆ TEST() [4/5]

TEST ( IPAddr  ,
routeList6   
)

Definition at line 85 of file test_route.cpp.

◆ TEST() [5/5]

TEST ( IPAddr  ,
routeSet   
)

Definition at line 29 of file test_route.cpp.

◆ test_route_parse()

void test_route_parse ( const std::string &  rstr,
const std::string &  expected,
bool  ipv6 
)

Definition at line 12 of file test_route.cpp.

Here is the caller graph for this function:

◆ test_split()

template<typename LIST >
void test_split ( const LIST &  rtlist,
const std::string &  expected 
)

Definition at line 55 of file test_route.cpp.

Here is the caller graph for this function: