join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
tls_context_test.cpp File Reference
#include <join/tls_context.hpp>
#include <join/error.hpp>
#include <gtest/gtest.h>
#include <fstream>
Include dependency graph for tls_context_test.cpp:

Classes

class  TlsContextTest
 Class used to test the TLS context API. More...
 

Functions

 TEST_F (TlsContextTest, construct)
 Test constructor.
 
 TEST_F (TlsContextTest, copy)
 Test copy.
 
 TEST_F (TlsContextTest, move)
 
 TEST_F (TlsContextTest, setCertificate)
 Test the setCertificate method.
 
 TEST_F (TlsContextTest, setCaPath)
 Test the setCaPath method.
 
 TEST_F (TlsContextTest, setCaFile)
 Test the setCaFile method.
 
 TEST_F (TlsContextTest, setCipher)
 Test the setCipher method.
 
 TEST_F (TlsContextTest, setCipher_1_3)
 Test the setCipher_1_3 method.
 
 TEST_F (TlsContextTest, setAlpnProtocols)
 Test the setAlpnProtocols method.
 
 TEST_F (TlsContextTest, handle)
 Test the handle method.
 
 TEST_F (TlsContextTest, verify)
 Test the verify method.
 
 TEST_F (TlsContextTest, depth)
 Test the depth method.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST_F() [1/12]

TEST_F ( TlsContextTest ,
construct  )

Test constructor.

◆ TEST_F() [2/12]

TEST_F ( TlsContextTest ,
copy  )

Test copy.

◆ TEST_F() [3/12]

TEST_F ( TlsContextTest ,
depth  )

Test the depth method.

◆ TEST_F() [4/12]

TEST_F ( TlsContextTest ,
handle  )

Test the handle method.

◆ TEST_F() [5/12]

TEST_F ( TlsContextTest ,
move  )

◆ TEST_F() [6/12]

TEST_F ( TlsContextTest ,
setAlpnProtocols  )

Test the setAlpnProtocols method.

◆ TEST_F() [7/12]

TEST_F ( TlsContextTest ,
setCaFile  )

Test the setCaFile method.

◆ TEST_F() [8/12]

TEST_F ( TlsContextTest ,
setCaPath  )

Test the setCaPath method.

◆ TEST_F() [9/12]

TEST_F ( TlsContextTest ,
setCertificate  )

Test the setCertificate method.

◆ TEST_F() [10/12]

TEST_F ( TlsContextTest ,
setCipher  )

Test the setCipher method.

◆ TEST_F() [11/12]

TEST_F ( TlsContextTest ,
setCipher_1_3  )

Test the setCipher_1_3 method.

◆ TEST_F() [12/12]

TEST_F ( TlsContextTest ,
verify  )

Test the verify method.