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, RecvWithNul)
 
 TEST (Customcontrolchannel, SendWithNul)
 
 TEST (Customcontrolchannel, TestIncorrectLen)
 
 TEST (Customcontrolchannel, TestWrongHeader)
 
 TEST (Customcontrolchannel, TestUnsupportedEncoding)
 
 TEST (Customcontrolchannel, TestMissingMessage)
 

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  ,
RecvWithNul   
)

Definition at line 128 of file test_acc.cpp.

◆ TEST() [6/11]

TEST ( Customcontrolchannel  ,
SendWithNul   
)

Definition at line 148 of file test_acc.cpp.

◆ TEST() [7/11]

TEST ( Customcontrolchannel  ,
TestIncorrectLen   
)

Definition at line 165 of file test_acc.cpp.

◆ TEST() [8/11]

TEST ( Customcontrolchannel  ,
TestMissingMessage   
)

Definition at line 198 of file test_acc.cpp.

◆ TEST() [9/11]

TEST ( Customcontrolchannel  ,
TestUnsupportedEncoding   
)

Definition at line 187 of file test_acc.cpp.

◆ TEST() [10/11]

TEST ( Customcontrolchannel  ,
TestWrongHeader   
)

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.