class MessageDecoderTest

Defined at line 35 of file ../../src/lib/fidl_codec/message_decoder_test.cc

Protected Methods

void SetUp ()

Defined at line 37 of file ../../src/lib/fidl_codec/message_decoder_test.cc

template <class T>
fidl::HLCPPIncomingMessage InvokeAndIntercept (std::function<void (fidl::InterfacePtr<T> &)> invoker)

Intercepts the caller's method call on a FIDL InterfacePtr and returns the bytes

sent over the channel.

Defined at line 48 of file ../../src/lib/fidl_codec/message_decoder_test.cc

fidl::HLCPPIncomingMessage InvokeAndReceiveEpitaph (zx_status_t epitaph)

Simulates a server sending an epitaph and returns the bytes sent over the channel.

Defined at line 56 of file ../../src/lib/fidl_codec/message_decoder_test.cc

void AssertDecoded (const fidl::HLCPPIncomingMessage & message, SyscallFidlType syscall_type, const char * expected)

Asserts that the decoded and FIDL message matches the expected display output.

`syscall_type` interprets the FIDL message as received or sent.

Defined at line 65 of file ../../src/lib/fidl_codec/message_decoder_test.cc

MessageDecoderDispatcher * decoder ()

Defined at line 90 of file ../../src/lib/fidl_codec/message_decoder_test.cc

uint64_t process_koid ()

Defined at line 91 of file ../../src/lib/fidl_codec/message_decoder_test.cc