![]() |
Bitcoin Core
28.1.0
P2P Digital Currency
|
#include <logging.h>#include <mp/proxy-types.h>#include <test/ipc_test.capnp.h>#include <test/ipc_test.capnp.proxy.h>#include <test/ipc_test.h>#include <future>#include <kj/common.h>#include <kj/memory.h>#include <kj/test.h>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Functions | |
| void | IpcTest () |
| Unit test that tests execution of IPC calls without actually creating a separate process. More... | |
| void IpcTest | ( | ) |
Unit test that tests execution of IPC calls without actually creating a separate process.
This test is primarily intended to verify behavior of type conversion code that converts C++ objects to Cap'n Proto messages and vice versa.
The test creates a thread which creates a FooImplementation object (defined in ipc_test.h) and a two-way pipe accepting IPC requests which call methods on the object through FooInterface (defined in ipc_test.capnp).
Definition at line 26 of file ipc_test.cpp.
1.8.14