|
OpenVPN 3 Core Library
|
Classes | |
| class | IpHelperTest |
| class | RouteEmulationTest |
| class | SitnlTest |
| class | TunBuilderMock |
Functions | |
| static void | workload (const uint16_t multiplier) |
| TEST (CPUTime, CpuTimePid) | |
| void | worker_thread (const uint8_t id) |
| void | run_threads (const uint8_t num_threads) |
| TEST (CPUTime, CpuTimeThread1) | |
| TEST (CPUTime, CpuTimeThreadNumcores) | |
| TEST (Dns, Options) | |
| TEST (Dns, OptionsMerger) | |
| TEST (Dns, DnsAddressTostring) | |
| TEST (Dns, ServerNoAddress) | |
| TEST (Dns, ServerEightAddresses) | |
| TEST (Dns, ServerTooManyAddresses) | |
| TEST (Dns, ServerInvalidAddress) | |
| TEST (Dns, ServerInvalidDnssec) | |
| TEST (Dns, ServerInvalidTransport) | |
| TEST (Dns, DhcpOptions) | |
| TEST (Dns, DhcpOptionsWithSplitDomains) | |
| TEST (Dns, DhcpOptionsIgnored) | |
| TEST (Dns, ToStringMinValuesSet) | |
| TEST (Dns, ToStringValuesFromDhcpOptions) | |
| TEST (Dns, ToStringAllValuesSet) | |
| TEST (Dns, JsonRoundtripMinValuesSet) | |
| TEST (Dns, JsonRoundtripValuesFromDhcpOption) | |
| TEST (Dns, JsonRoundtripAllValuesSet) | |
| TEST_F (IpHelperTest, TestAddRoute4) | |
| TEST (LogInfoTest, TestLogInfo) | |
| TEST (MbedTLSX509GetSubject, OldFormat) | |
| TEST (MbesTLSX509GetSubject, NewFormat) | |
| TEST (MbedTLSX509GetCommonName, BasicCheck) | |
| TEST (OpenSSLX509GetSubject, OldFormat) | |
| TEST (OpenSSLX509GetSubject, NewFormat) | |
| TEST (OpenSSLX509GetSerial, Numeric) | |
| TEST (OpenSSLX509GetSerial, Hexadecimal) | |
| TEST (OpenSSLX509GetField, BasicChecks) | |
| TEST (OpenSSLX509GetField, Signature) | |
| TEST (X509GetFingerprint, Output) | |
| TEST (PeerFingerprint, ParseConfig) | |
| TEST (PeerFingerprint, Malformed) | |
| TEST (PeerFingerprint, Stringify) | |
| TEST (PeerFingerprint, MatchEmpty) | |
| TEST (PeerFingerprint, Match) | |
| TEST (PeerFingerprint, NoMatch) | |
| std::string | join_string_vector_sorted (std::vector< std::string > vec, const char *const delim=", ") |
| TEST_F (RouteEmulationTest, ExcludeOneSubnet) | |
| TEST_F (RouteEmulationTest, ExcludeSubnetsNoDefault) | |
| TEST_F (RouteEmulationTest, ExcludeServer) | |
| TEST_F (RouteEmulationTest, NestedIPRoutes) | |
| TEST_F (RouteEmulationTest, DefaultRoute) | |
| TEST_F (SitnlTest, TestAddrAdd4) | |
| TEST_F (SitnlTest, TestAddrAdd6) | |
| TEST_F (SitnlTest, TestSetMTU) | |
| TEST_F (SitnlTest, TestAddRoute4) | |
| TEST_F (SitnlTest, TestAddRoute6) | |
| TEST_F (SitnlTest, TestBestGw4) | |
| TEST_F (SitnlTest, TestBestGw4FilterIface) | |
| OptionList | parse_testcfg (std::string &config) |
| TEST (VerifyX509Name, ConfigMissingArgs) | |
| TEST (VerifyX509Name, ConfigIncorrectType) | |
| TEST (VerifyX509Name, ConfigCorrectDefaultType) | |
| TEST (VerifyX509Name, ConfigCorrectSubject) | |
| TEST (VerifyX509Name, ConfigCorrectName) | |
| TEST (VerifyX509Name, ConfigSquote) | |
| TEST (VerifyX509Name, ConfigCorrectNamePrefix) | |
| TEST (VerifyX509Name, TestSubject) | |
| TEST (VerifyX509Name, TestName) | |
| TEST (VerifyX509Name, TestNamePrefix) | |
Variables | |
| static std::string | path_to_ip |
| std::string | test_cert |
| std::vector< uint8_t > | test_fingerprint |
| static std::string | path_to_ip |
| std::string unittests::join_string_vector_sorted | ( | std::vector< std::string > | vec, |
| const char *const | delim = ", " |
||
| ) |
Definition at line 26 of file test_route_emulation.cpp.
| OptionList unittests::parse_testcfg | ( | std::string & | config | ) |
Definition at line 25 of file test_verify_x509_name.cpp.
| void unittests::run_threads | ( | const uint8_t | num_threads | ) |
| unittests::TEST | ( | CPUTime | , |
| CpuTimePid | |||
| ) |
Definition at line 110 of file test_cpu_time.cpp.
| unittests::TEST | ( | CPUTime | , |
| CpuTimeThread1 | |||
| ) |
Definition at line 183 of file test_cpu_time.cpp.
| unittests::TEST | ( | CPUTime | , |
| CpuTimeThreadNumcores | |||
| ) |
Definition at line 203 of file test_cpu_time.cpp.
| unittests::TEST | ( | Dns | , |
| DhcpOptions | |||
| ) |
Definition at line 291 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| DhcpOptionsIgnored | |||
| ) |
Definition at line 355 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| DhcpOptionsWithSplitDomains | |||
| ) |
Definition at line 322 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| DnsAddressTostring | |||
| ) |
Supported formats: 192.168.0.1 192.168.0.1:53 [2001:db8:1234::1]
Definition at line 139 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| JsonRoundtripAllValuesSet | |||
| ) |
Definition at line 528 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| JsonRoundtripMinValuesSet | |||
| ) |
Definition at line 456 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| JsonRoundtripValuesFromDhcpOption | |||
| ) |
Definition at line 492 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| Options | |||
| ) |
Definition at line 22 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| OptionsMerger | |||
| ) |
Definition at line 119 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| ServerEightAddresses | |||
| ) |
Definition at line 221 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| ServerInvalidAddress | |||
| ) |
Definition at line 241 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| ServerInvalidDnssec | |||
| ) |
Definition at line 251 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| ServerInvalidTransport | |||
| ) |
Definition at line 271 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| ServerNoAddress | |||
| ) |
Definition at line 211 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| ServerTooManyAddresses | |||
| ) |
Definition at line 231 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| ToStringAllValuesSet | |||
| ) |
Definition at line 409 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| ToStringMinValuesSet | |||
| ) |
Definition at line 381 of file test_dns.cpp.
| unittests::TEST | ( | Dns | , |
| ToStringValuesFromDhcpOptions | |||
| ) |
Definition at line 395 of file test_dns.cpp.
| unittests::TEST | ( | LogInfoTest | , |
| TestLogInfo | |||
| ) |
Definition at line 32 of file test_log.cpp.
| unittests::TEST | ( | MbedTLSX509GetCommonName | , |
| BasicCheck | |||
| ) |
Definition at line 81 of file test_mbedtls_x509certinfo.cpp.
| unittests::TEST | ( | MbedTLSX509GetSubject | , |
| OldFormat | |||
| ) |
Definition at line 60 of file test_mbedtls_x509certinfo.cpp.
| unittests::TEST | ( | MbesTLSX509GetSubject | , |
| NewFormat | |||
| ) |
Definition at line 71 of file test_mbedtls_x509certinfo.cpp.
| unittests::TEST | ( | OpenSSLX509GetField | , |
| BasicChecks | |||
| ) |
Definition at line 97 of file test_openssl_x509certinfo.cpp.
| unittests::TEST | ( | OpenSSLX509GetField | , |
| Signature | |||
| ) |
Definition at line 118 of file test_openssl_x509certinfo.cpp.
| unittests::TEST | ( | OpenSSLX509GetSerial | , |
| Hexadecimal | |||
| ) |
Definition at line 89 of file test_openssl_x509certinfo.cpp.
| unittests::TEST | ( | OpenSSLX509GetSerial | , |
| Numeric | |||
| ) |
Definition at line 81 of file test_openssl_x509certinfo.cpp.
| unittests::TEST | ( | OpenSSLX509GetSubject | , |
| NewFormat | |||
| ) |
Definition at line 71 of file test_openssl_x509certinfo.cpp.
| unittests::TEST | ( | OpenSSLX509GetSubject | , |
| OldFormat | |||
| ) |
Definition at line 60 of file test_openssl_x509certinfo.cpp.
| unittests::TEST | ( | PeerFingerprint | , |
| Malformed | |||
| ) |
Definition at line 71 of file test_peer_fingerprint.cpp.
| unittests::TEST | ( | PeerFingerprint | , |
| Match | |||
| ) |
Definition at line 136 of file test_peer_fingerprint.cpp.
| unittests::TEST | ( | PeerFingerprint | , |
| MatchEmpty | |||
| ) |
Definition at line 127 of file test_peer_fingerprint.cpp.
| unittests::TEST | ( | PeerFingerprint | , |
| NoMatch | |||
| ) |
Definition at line 152 of file test_peer_fingerprint.cpp.
| unittests::TEST | ( | PeerFingerprint | , |
| ParseConfig | |||
| ) |
Definition at line 29 of file test_peer_fingerprint.cpp.
| unittests::TEST | ( | PeerFingerprint | , |
| Stringify | |||
| ) |
Definition at line 119 of file test_peer_fingerprint.cpp.
| unittests::TEST | ( | VerifyX509Name | , |
| ConfigCorrectDefaultType | |||
| ) |
Definition at line 55 of file test_verify_x509_name.cpp.
| unittests::TEST | ( | VerifyX509Name | , |
| ConfigCorrectName | |||
| ) |
Definition at line 71 of file test_verify_x509_name.cpp.
| unittests::TEST | ( | VerifyX509Name | , |
| ConfigCorrectNamePrefix | |||
| ) |
Definition at line 86 of file test_verify_x509_name.cpp.
| unittests::TEST | ( | VerifyX509Name | , |
| ConfigCorrectSubject | |||
| ) |
Definition at line 63 of file test_verify_x509_name.cpp.
| unittests::TEST | ( | VerifyX509Name | , |
| ConfigIncorrectType | |||
| ) |
Definition at line 47 of file test_verify_x509_name.cpp.
| unittests::TEST | ( | VerifyX509Name | , |
| ConfigMissingArgs | |||
| ) |
Definition at line 40 of file test_verify_x509_name.cpp.
| unittests::TEST | ( | VerifyX509Name | , |
| ConfigSquote | |||
| ) |
Definition at line 78 of file test_verify_x509_name.cpp.
| unittests::TEST | ( | VerifyX509Name | , |
| TestName | |||
| ) |
Definition at line 122 of file test_verify_x509_name.cpp.
| unittests::TEST | ( | VerifyX509Name | , |
| TestNamePrefix | |||
| ) |
Definition at line 132 of file test_verify_x509_name.cpp.
| unittests::TEST | ( | VerifyX509Name | , |
| TestSubject | |||
| ) |
Definition at line 93 of file test_verify_x509_name.cpp.
| unittests::TEST | ( | X509GetFingerprint | , |
| Output | |||
| ) |
Definition at line 125 of file test_openssl_x509certinfo.cpp.
| unittests::TEST_F | ( | IpHelperTest | , |
| TestAddRoute4 | |||
| ) |
Definition at line 48 of file test_iphelper.cpp.
| unittests::TEST_F | ( | RouteEmulationTest | , |
| DefaultRoute | |||
| ) |
Definition at line 265 of file test_route_emulation.cpp.
| unittests::TEST_F | ( | RouteEmulationTest | , |
| ExcludeOneSubnet | |||
| ) |
Definition at line 146 of file test_route_emulation.cpp.
| unittests::TEST_F | ( | RouteEmulationTest | , |
| ExcludeServer | |||
| ) |
Definition at line 185 of file test_route_emulation.cpp.
| unittests::TEST_F | ( | RouteEmulationTest | , |
| ExcludeSubnetsNoDefault | |||
| ) |
Definition at line 159 of file test_route_emulation.cpp.
| unittests::TEST_F | ( | RouteEmulationTest | , |
| NestedIPRoutes | |||
| ) |
Definition at line 208 of file test_route_emulation.cpp.
| unittests::TEST_F | ( | SitnlTest | , |
| TestAddrAdd4 | |||
| ) |
Definition at line 166 of file test_sitnl.cpp.
| unittests::TEST_F | ( | SitnlTest | , |
| TestAddrAdd6 | |||
| ) |
Definition at line 181 of file test_sitnl.cpp.
| unittests::TEST_F | ( | SitnlTest | , |
| TestAddRoute4 | |||
| ) |
Definition at line 207 of file test_sitnl.cpp.
| unittests::TEST_F | ( | SitnlTest | , |
| TestAddRoute6 | |||
| ) |
Definition at line 232 of file test_sitnl.cpp.
| unittests::TEST_F | ( | SitnlTest | , |
| TestBestGw4 | |||
| ) |
Definition at line 276 of file test_sitnl.cpp.
| unittests::TEST_F | ( | SitnlTest | , |
| TestBestGw4FilterIface | |||
| ) |
Definition at line 306 of file test_sitnl.cpp.
| unittests::TEST_F | ( | SitnlTest | , |
| TestSetMTU | |||
| ) |
Definition at line 194 of file test_sitnl.cpp.
| void unittests::worker_thread | ( | const uint8_t | id | ) |
Definition at line 131 of file test_cpu_time.cpp.
|
static |
|
static |
Definition at line 24 of file test_iphelper.cpp.
|
static |
Definition at line 28 of file test_sitnl.cpp.
| std::string unittests::test_cert |
Definition at line 26 of file test_mbedtls_x509certinfo.cpp.
| std::vector<uint8_t> unittests::test_fingerprint |
Definition at line 22 of file test_peer_fingerprint.cpp.