Functions
-
bool operator== (zx_handle_disposition_t a, zx_handle_disposition_t b)Defined at line 35 of file ../../src/lib/fidl/llcpp/tests/conformance/conformance_utils.h
-
bool operator!= (zx_handle_disposition_t a, zx_handle_disposition_t b)Defined at line 39 of file ../../src/lib/fidl/llcpp/tests/conformance/conformance_utils.h
-
std::ostream & operator<< (std::ostream & os, const zx_handle_disposition_t & hd)Defined at line 40 of file ../../src/lib/fidl/llcpp/tests/conformance/conformance_utils.h
-
template <typename T>bool ComparePayload (const T *actual,size_tactual_size,const T *expected,size_texpected_size)Defined at line 51 of file ../../src/lib/fidl/llcpp/tests/conformance/conformance_utils.h
-
template <typename FidlType>bool EncodeSuccess (fidl::internal::WireFormatVersionwire_format_version,FidlType *value,const std::vector<uint8_t> &bytes,const std::vector<zx_handle_disposition_t> &handle_dispositions,boolcheck_handle_rights)Verifies that |value| encodes to |bytes|.
Note: This is destructive to |value| - a new value must be created with each call.
Defined at line 76 of file ../../src/lib/fidl/llcpp/tests/conformance/conformance_utils.h
-
template <typename FidlType>bool EncodeFailure (fidl::internal::WireFormatVersionwire_format_version,FidlType *value,zx_status_texpected_error_code)Verifies that |value| fails to encode, with the expected error code.
Note: This is destructive to |value| - a new value must be created with each call.
Defined at line 140 of file ../../src/lib/fidl/llcpp/tests/conformance/conformance_utils.h
-
template <typename FidlType, typename EqualityCheck>bool DecodeSuccess (fidl::internal::WireFormatVersionwire_format_version,std::vector<uint8_t>bytes,std::vector<zx_handle_info_t>handle_infos,EqualityCheckequality_check)Verifies that |bytes| decodes to an object that is the same as |value|.
EqualityCheck is a callable with the signature |bool EqualityCheck(FidlType
&
actual)|
that performs deep equality and compares handles based on koid, type and rights.
Defined at line 163 of file ../../src/lib/fidl/llcpp/tests/conformance/conformance_utils.h
-
template <typename FidlType>bool DecodeFailure (fidl::internal::WireFormatVersionwire_format_version,std::vector<uint8_t>bytes,std::vector<zx_handle_info_t>handle_infos,zx_status_texpected_error_code)Verifies that |bytes| fails to decode as |FidlType|, with the expected error
code.
Defined at line 191 of file ../../src/lib/fidl/llcpp/tests/conformance/conformance_utils.h