Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
mp::test Namespace Reference

Namespaces

namespace  messages

Classes

struct  FooStruct
struct  FooCustom
struct  FooEmpty
struct  FooMessage
struct  FooMutable
class  FooCallback
class  ExtendedCallback
class  FooImplementation
class  TestSetup
 Test setup class creating a two way connection between a ProxyServer<FooInterface> object and a ProxyClient<FooInterface>. More...

Typedefs

using FooData = std::vector<char>
using FooDataRef = std::shared_ptr<const FooData>

Enumerations

enum class  FooEnum : uint8_t { ONE = 1 , TWO = 2 }

Functions

template<typename Output>
void CustomBuildField (TypeList< FooCustom >, Priority< 1 >, InvokeContext &invoke_context, const FooCustom &value, Output &&output)
template<typename Input, typename ReadDest>
decltype(auto) CustomReadField (TypeList< FooCustom >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest)
 KJ_TEST ("Call FooInterface methods")
 KJ_TEST ("Call IPC method after client connection is closed")
 KJ_TEST ("Calling IPC method after server connection is closed")
 KJ_TEST ("Calling IPC method and disconnecting during the call")
 KJ_TEST ("Calling IPC method, disconnecting and blocking during the call")
 KJ_TEST ("Worker thread destroyed before it is initialized")
 KJ_TEST ("Calling async IPC method, with server disconnect racing the call")
 KJ_TEST ("Calling async IPC method, with server disconnect after cleanup")
 KJ_TEST ("Make simultaneous IPC calls on single remote thread")

Variables

constexpr auto kMP_MAJOR_VERSION {MP_MAJOR_VERSION}
 Check version.h header values.
constexpr auto kMP_MINOR_VERSION {MP_MINOR_VERSION}

Typedef Documentation

◆ FooData

using mp::test::FooData = std::vector<char>

Definition at line 48 of file foo.h.

◆ FooDataRef

using mp::test::FooDataRef = std::shared_ptr<const FooData>

Definition at line 49 of file foo.h.

Enumeration Type Documentation

◆ FooEnum

enum class mp::test::FooEnum : uint8_t
strong
Enumerator
ONE 
TWO 

Definition at line 26 of file foo.h.

Function Documentation

◆ CustomBuildField()

template<typename Output>
void mp::test::CustomBuildField ( TypeList< FooCustom > ,
Priority< 1 > ,
InvokeContext & invoke_context,
const FooCustom & value,
Output && output )

Definition at line 43 of file foo-types.h.

Here is the call graph for this function:

◆ CustomReadField()

template<typename Input, typename ReadDest>
decltype(auto) mp::test::CustomReadField ( TypeList< FooCustom > ,
Priority< 1 > ,
InvokeContext & invoke_context,
Input && input,
ReadDest && read_dest )

Definition at line 50 of file foo-types.h.

Here is the call graph for this function:

◆ KJ_TEST() [1/9]

mp::test::KJ_TEST ( "Call FooInterface methods" )

Definition at line 130 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [2/9]

mp::test::KJ_TEST ( "Call IPC method after client connection is closed" )

Definition at line 231 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [3/9]

mp::test::KJ_TEST ( "Calling async IPC method,
with server disconnect after cleanup"  )

Definition at line 401 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [4/9]

mp::test::KJ_TEST ( "Calling async IPC method,
with server disconnect racing the call"  )

Definition at line 371 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [5/9]

mp::test::KJ_TEST ( "Calling IPC method after server connection is closed" )

Definition at line 248 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [6/9]

mp::test::KJ_TEST ( "Calling IPC method and disconnecting during the call" )

Definition at line 265 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [7/9]

mp::test::KJ_TEST ( "Calling IPC method,
disconnecting and blocking during the call"  )

Definition at line 285 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [8/9]

mp::test::KJ_TEST ( "Make simultaneous IPC calls on single remote thread" )

Definition at line 430 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [9/9]

mp::test::KJ_TEST ( "Worker thread destroyed before it is initialized" )

Definition at line 334 of file test.cpp.

Here is the call graph for this function:

Variable Documentation

◆ kMP_MAJOR_VERSION

auto mp::test::kMP_MAJOR_VERSION {MP_MAJOR_VERSION}
constexpr

Check version.h header values.

Definition at line 44 of file test.cpp.

◆ kMP_MINOR_VERSION

auto mp::test::kMP_MINOR_VERSION {MP_MINOR_VERSION}
constexpr

Definition at line 45 of file test.cpp.