OpenVPN 3 Core Library
Loading...
Searching...
No Matches
test_acc.cpp File Reference
#include "test_common.hpp"
#include <openvpn/ssl/customcontrolchannel.hpp>
#include <regex>
Include dependency graph for test_acc.cpp:

Go to the source code of this file.

Functions

static AppControlMessageConfig genACMC ()
 
 TEST (customcontrolchannel, msgroundtrip)
 
 TEST (customcontrolchannel, msgroundtripascii)
 
 TEST (customcontrolchannel, msgroundtriponepacket)
 
 TEST (customcontrolchannel, tinymessage)
 
 TEST (customcontrolchannel, acctostr)
 
 TEST (customcontrolchannel, recv_with_nul)
 
 TEST (customcontrolchannel, send_with_nul)
 
 TEST (customcontrolchannel, test_incorrect_len)
 
 TEST (customcontrolchannel, test_wrong_header)
 
 TEST (customcontrolchannel, test_unsupported_encoding)
 
 TEST (customcontrolchannel, test_missing_message)
 

Variables

const std::string messagetext
 

Function Documentation

◆ genACMC()

static AppControlMessageConfig genACMC ( )
static

Definition at line 27 of file test_acc.cpp.

Here is the caller graph for this function:

◆ TEST() [1/11]

TEST ( customcontrolchannel  ,
acctostr   
)

Definition at line 120 of file test_acc.cpp.

◆ TEST() [2/11]

TEST ( customcontrolchannel  ,
msgroundtrip   
)

Definition at line 38 of file test_acc.cpp.

◆ TEST() [3/11]

TEST ( customcontrolchannel  ,
msgroundtripascii   
)

Definition at line 62 of file test_acc.cpp.

◆ TEST() [4/11]

TEST ( customcontrolchannel  ,
msgroundtriponepacket   
)

Definition at line 88 of file test_acc.cpp.

◆ TEST() [5/11]

TEST ( customcontrolchannel  ,
recv_with_nul   
)

Definition at line 128 of file test_acc.cpp.

◆ TEST() [6/11]

TEST ( customcontrolchannel  ,
send_with_nul   
)

Definition at line 148 of file test_acc.cpp.

◆ TEST() [7/11]

TEST ( customcontrolchannel  ,
test_incorrect_len   
)

Definition at line 165 of file test_acc.cpp.

◆ TEST() [8/11]

TEST ( customcontrolchannel  ,
test_missing_message   
)

Definition at line 198 of file test_acc.cpp.

◆ TEST() [9/11]

TEST ( customcontrolchannel  ,
test_unsupported_encoding   
)

Definition at line 187 of file test_acc.cpp.

◆ TEST() [10/11]

TEST ( customcontrolchannel  ,
test_wrong_header   
)

Definition at line 176 of file test_acc.cpp.

◆ TEST() [11/11]

TEST ( customcontrolchannel  ,
tinymessage   
)

Definition at line 109 of file test_acc.cpp.

Variable Documentation

◆ messagetext

const std::string messagetext
Initial value:
= "OpenVPN -- An application to securely tunnel IP networks\n"
"over a single port, with support for SSL/TLS-based\n"
"session authentication and key exchange,\n"
"packet encryption, packet authentication, and\n"
"packet compression."

Definition at line 21 of file test_acc.cpp.