![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <primitives/transaction.h>#include <script/script.h>#include <univalue.h>#include <util/fs.h>#include <validation.h>Go to the source code of this file.
Classes | |
| class | FooImplementation |
Functions | |
| void | IpcPipeTest () |
| Unit test that tests execution of IPC calls without actually creating a separate process. More... | |
| void | IpcSocketPairTest () |
| Test ipc::Protocol connect() and serve() methods connecting over a socketpair. More... | |
| void | IpcSocketTest (const fs::path &datadir) |
| Test ipc::Process bind() and connect() methods connecting over a unix socket. More... | |
| void IpcPipeTest | ( | ) |
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 54 of file ipc_test.cpp.
| void IpcSocketPairTest | ( | ) |
Test ipc::Protocol connect() and serve() methods connecting over a socketpair.
Definition at line 114 of file ipc_test.cpp.
| void IpcSocketTest | ( | const fs::path & | datadir | ) |
Test ipc::Process bind() and connect() methods connecting over a unix socket.
Definition at line 134 of file ipc_test.cpp.