OpenVPN 3 Core Library
Loading...
Searching...
No Matches
core_tests.cpp
Go to the documentation of this file.
1// OpenVPN -- An application to securely tunnel IP networks
2// over a single port, with support for SSL/TLS-based
3// session authentication and key exchange,
4// packet encryption, packet authentication, and
5// packet compression.
6//
7// Copyright (C) 2012- OpenVPN Inc.
8//
9// SPDX-License-Identifier: MPL-2.0 OR AGPL-3.0-only WITH openvpn3-openssl-exception
10//
11
12
13#include <gtest/gtest.h>
14
15
16// We also need to import here all header files that
17// define globals so that consumers that use them despite
18// requesting them not to be declared with OPENVPN_EXTERN
19
20#include <asio.hpp>
21#include "test_helper.hpp"
24
26
27int main(int argc, char **argv)
28{
30 ::testing::InitGoogleTest(&argc, argv);
32 auto ret = RUN_ALL_TESTS();
33
34 delete testLog;
35 return ret;
36}
int main(int argc, char **argv)
openvpn::LogOutputCollector * testLog
std::string ret