Bitcoin Core 31.99.0
P2P Digital Currency
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
mp::test Namespace Reference

Namespaces

namespace  messages
 

Classes

class  ExtendedCallback
 
class  FooCallback
 
struct  FooCustom
 
struct  FooEmpty
 
class  FooImplementation
 
struct  FooMessage
 
struct  FooMutable
 
struct  FooStruct
 
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 ("Destroying ProxyClient<> with destroy method after peer disconnect")
 
 KJ_TEST ("Make simultaneous IPC calls on single remote thread")
 
 KJ_TEST ("Call async IPC method dispatched to pool thread")
 
 KJ_TEST ("Call async IPC method without thread or pool errors correctly")
 

Variables

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

Typedef Documentation

◆ FooData

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

Definition at line 52 of file foo.h.

◆ FooDataRef

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

Definition at line 53 of file foo.h.

Enumeration Type Documentation

◆ FooEnum

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

Definition at line 30 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 45 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 52 of file foo-types.h.

Here is the call graph for this function:

◆ KJ_TEST() [1/12]

mp::test::KJ_TEST ( "Call async IPC method dispatched to pool thread )

Definition at line 498 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [2/12]

mp::test::KJ_TEST ( "Call async IPC method without thread or pool errors correctly"  )

Definition at line 542 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [3/12]

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

Definition at line 142 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [4/12]

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

Definition at line 263 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [5/12]

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

Definition at line 393 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [6/12]

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

Definition at line 368 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [7/12]

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

Definition at line 273 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [8/12]

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

Definition at line 283 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [9/12]

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

Definition at line 296 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [10/12]

mp::test::KJ_TEST ( "Destroying ProxyClient<> with destroy method after peer disconnect"  )

Definition at line 417 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [11/12]

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

Definition at line 443 of file test.cpp.

Here is the call graph for this function:

◆ KJ_TEST() [12/12]

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

Definition at line 338 of file test.cpp.

Here is the call graph for this function:

Variable Documentation

◆ kMP_MAJOR_VERSION

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

Check version.h header values.

Definition at line 56 of file test.cpp.

◆ kMP_MINOR_VERSION

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

Definition at line 57 of file test.cpp.