OpenVPN 3 Core Library
Loading...
Searching...
No Matches
test_continuation.cpp File Reference
Include dependency graph for test_continuation.cpp:

Go to the source code of this file.

Enumerations

enum  PCMode { NO_PC , PC_1 , PC_2 }
 

Functions

static void require_equal (const OptionList &opt1, const OptionList &opt2, const std::string &title)
 
static void require_equal (const Buffer &buf1, const Buffer &buf2, const std::string &title)
 
static std::string get_csv (Buffer buf, const PCMode pc_mode, const std::string &prefix)
 
static std::string get_csv_from_frag (Buffer buf, const size_t index, const size_t size, const std::string &prefix)
 
static std::string random_term (RandomAPI &prng)
 
static Option random_opt (RandomAPI &prng)
 
static OptionList random_optionlist (RandomAPI &prng)
 
static void test_roundtrip (const OptionList &opt_orig, const std::string &prefix)
 
static void test_prefix_fragment (const std::string &prefix)
 
static void test_prefix_random (const std::string &prefix)
 
 TEST (continuation, test_random_push_reply)
 
 TEST (continuation, test_random_push_update)
 
 TEST (continuation, test_fragment_push_reply)
 
 TEST (continuation, test_fragment_push_update)
 
 TEST (continuation, push_update_add)
 
 TEST (continuation, push_update_add_unsupported)
 
 TEST (continuation, push_update_remove)
 
 TEST (continuation, push_update_add_multiple)
 

Enumeration Type Documentation

◆ PCMode

enum PCMode
Enumerator
NO_PC 
PC_1 
PC_2 

Definition at line 46 of file test_continuation.cpp.

Function Documentation

◆ get_csv()

static std::string get_csv ( Buffer  buf,
const PCMode  pc_mode,
const std::string &  prefix 
)
static

Definition at line 53 of file test_continuation.cpp.

Here is the caller graph for this function:

◆ get_csv_from_frag()

static std::string get_csv_from_frag ( Buffer  buf,
const size_t  index,
const size_t  size,
const std::string &  prefix 
)
static

Definition at line 77 of file test_continuation.cpp.

Here is the caller graph for this function:

◆ random_opt()

static Option random_opt ( RandomAPI prng)
static

Definition at line 99 of file test_continuation.cpp.

Here is the caller graph for this function:

◆ random_optionlist()

static OptionList random_optionlist ( RandomAPI prng)
static

Definition at line 109 of file test_continuation.cpp.

Here is the caller graph for this function:

◆ random_term()

static std::string random_term ( RandomAPI prng)
static

Definition at line 87 of file test_continuation.cpp.

Here is the caller graph for this function:

◆ require_equal() [1/2]

static void require_equal ( const Buffer buf1,
const Buffer buf2,
const std::string &  title 
)
static

Definition at line 36 of file test_continuation.cpp.

◆ require_equal() [2/2]

static void require_equal ( const OptionList opt1,
const OptionList opt2,
const std::string &  title 
)
static

Definition at line 27 of file test_continuation.cpp.

Here is the caller graph for this function:

◆ TEST() [1/8]

TEST ( continuation  ,
push_update_add   
)

Definition at line 239 of file test_continuation.cpp.

◆ TEST() [2/8]

TEST ( continuation  ,
push_update_add_multiple   
)

Definition at line 292 of file test_continuation.cpp.

◆ TEST() [3/8]

TEST ( continuation  ,
push_update_add_unsupported   
)

Definition at line 256 of file test_continuation.cpp.

◆ TEST() [4/8]

TEST ( continuation  ,
push_update_remove   
)

Definition at line 277 of file test_continuation.cpp.

◆ TEST() [5/8]

TEST ( continuation  ,
test_fragment_push_reply   
)

Definition at line 229 of file test_continuation.cpp.

◆ TEST() [6/8]

TEST ( continuation  ,
test_fragment_push_update   
)

Definition at line 234 of file test_continuation.cpp.

◆ TEST() [7/8]

TEST ( continuation  ,
test_random_push_reply   
)

Definition at line 219 of file test_continuation.cpp.

◆ TEST() [8/8]

TEST ( continuation  ,
test_random_push_update   
)

Definition at line 224 of file test_continuation.cpp.

◆ test_prefix_fragment()

static void test_prefix_fragment ( const std::string &  prefix)
static

Definition at line 164 of file test_continuation.cpp.

Here is the caller graph for this function:

◆ test_prefix_random()

static void test_prefix_random ( const std::string &  prefix)
static

Definition at line 205 of file test_continuation.cpp.

Here is the caller graph for this function:

◆ test_roundtrip()

static void test_roundtrip ( const OptionList opt_orig,
const std::string &  prefix 
)
static

Definition at line 121 of file test_continuation.cpp.

Here is the caller graph for this function: