#include "test_common.hpp"
#include <iostream>
#include <string>
#include <functional>
#include <openvpn/common/rc.hpp>
Go to the source code of this file.
|
template<typename Test > |
void | test () |
|
| TEST (misc, RCthreadUnsafe) |
|
| TEST (misc, RCthreadSafe) |
|
◆ test()
◆ TEST() [1/2]
TEST |
( |
misc |
, |
|
|
RCthreadSafe |
|
|
) |
| |
◆ TEST() [2/2]
TEST |
( |
misc |
, |
|
|
RCthreadUnsafe |
|
|
) |
| |
◆ expected_output
const char* expected_output |
Initial value:= "*** TEST1\n"
"Test1()\n"
"~Test1()\n"
"*** TEST2\n"
"Test2()\n"
"t1a: Test2\n"
"t2a: Test2\n"
"t1b: Test2\n"
"t2b: Test2\n"
"tz: Test2\n"
"w1z=3 w2z=3\n"
"~Test2()\n"
"*** TEST3\n"
"Test3()\n"
"N#3: Test3\n"
"NOTIFY #3\n"
"N#2: Test3\n"
"NOTIFY #2\n"
"N#1: Test3\n"
"NOTIFY #1\n"
"~Test3()\n"
"*** TEST4\n"
"Test4()\n"
"parent of Test4\n"
"~Test4()\n"
Definition at line 53 of file test_rc.cpp.