#include "flutter/shell/platform/linux/public/flutter_linux/fl_standard_message_codec.h"
#include "flutter/shell/platform/linux/testing/fl_test.h"
#include "gtest/gtest.h"
Go to the source code of this file.
Functions | |
static gchar * | encode_message_with_codec (FlValue *value, FlMessageCodec *codec) |
static gchar * | encode_message (FlValue *value) |
static FlValue * | decode_message_with_codec (const char *hex_string, FlMessageCodec *codec) |
static FlValue * | decode_message (const char *hex_string) |
static void | decode_error_value (const char *hex_string, GQuark domain, gint code) |
TEST (FlStandardMessageCodecTest, EncodeNullptr) | |
TEST (FlStandardMessageCodecTest, EncodeNull) | |
TEST (FlStandardMessageCodecTest, DecodeNull) | |
static gchar * | encode_bool (gboolean value) |
TEST (FlStandardMessageCodecTest, EncodeBoolFalse) | |
TEST (FlStandardMessageCodecTest, EncodeBoolTrue) | |
static gchar * | encode_int (int64_t value) |
TEST (FlStandardMessageCodecTest, EncodeIntZero) | |
TEST (FlStandardMessageCodecTest, EncodeIntOne) | |
TEST (FlStandardMessageCodecTest, EncodeInt32) | |
TEST (FlStandardMessageCodecTest, EncodeInt32Min) | |
TEST (FlStandardMessageCodecTest, EncodeInt32Max) | |
TEST (FlStandardMessageCodecTest, EncodeInt64) | |
TEST (FlStandardMessageCodecTest, EncodeInt64Min) | |
TEST (FlStandardMessageCodecTest, EncodeInt64Max) | |
TEST (FlStandardMessageCodecTest, DecodeIntZero) | |
TEST (FlStandardMessageCodecTest, DecodeIntOne) | |
TEST (FlStandardMessageCodecTest, DecodeInt32) | |
TEST (FlStandardMessageCodecTest, DecodeInt32Min) | |
TEST (FlStandardMessageCodecTest, DecodeInt32Max) | |
TEST (FlStandardMessageCodecTest, DecodeInt64) | |
TEST (FlStandardMessageCodecTest, DecodeInt64Min) | |
TEST (FlStandardMessageCodecTest, DecodeInt64Max) | |
TEST (FlStandardMessageCodecTest, DecodeInt32NoData) | |
TEST (FlStandardMessageCodecTest, DecodeIntShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeIntShortData2) | |
TEST (FlStandardMessageCodecTest, DecodeInt64NoData) | |
TEST (FlStandardMessageCodecTest, DecodeInt64ShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeInt64ShortData2) | |
static gchar * | encode_float (double value) |
TEST (FlStandardMessageCodecTest, EncodeFloatZero) | |
TEST (FlStandardMessageCodecTest, EncodeFloatOne) | |
TEST (FlStandardMessageCodecTest, EncodeFloatMinusOne) | |
TEST (FlStandardMessageCodecTest, EncodeFloatHalf) | |
TEST (FlStandardMessageCodecTest, EncodeFloatFraction) | |
TEST (FlStandardMessageCodecTest, EncodeFloatMinusZero) | |
TEST (FlStandardMessageCodecTest, EncodeFloatNaN) | |
TEST (FlStandardMessageCodecTest, EncodeFloatInfinity) | |
TEST (FlStandardMessageCodecTest, DecodeFloatZero) | |
TEST (FlStandardMessageCodecTest, DecodeFloatOne) | |
TEST (FlStandardMessageCodecTest, DecodeFloatMinusOne) | |
TEST (FlStandardMessageCodecTest, DecodeFloatHalf) | |
TEST (FlStandardMessageCodecTest, DecodeFloatPi) | |
TEST (FlStandardMessageCodecTest, DecodeFloatMinusZero) | |
TEST (FlStandardMessageCodecTest, DecodeFloatNaN) | |
TEST (FlStandardMessageCodecTest, DecodeFloatInfinity) | |
TEST (FlStandardMessageCodecTest, DecodeFloatNoData) | |
TEST (FlStandardMessageCodecTest, DecodeFloatShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeFloatShortData2) | |
static gchar * | encode_string (const gchar *value) |
TEST (FlStandardMessageCodecTest, EncodeStringEmpty) | |
TEST (FlStandardMessageCodecTest, EncodeStringHello) | |
TEST (FlStandardMessageCodecTest, EncodeStringEmptySized) | |
TEST (FlStandardMessageCodecTest, EncodeStringHelloSized) | |
TEST (FlStandardMessageCodecTest, DecodeStringEmpty) | |
TEST (FlStandardMessageCodecTest, DecodeStringHello) | |
TEST (FlStandardMessageCodecTest, DecodeStringNoData) | |
TEST (FlStandardMessageCodecTest, DecodeStringLengthNoData) | |
TEST (FlStandardMessageCodecTest, DecodeStringShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeStringShortData2) | |
TEST (FlStandardMessageCodecTest, EncodeUint8ListEmpty) | |
TEST (FlStandardMessageCodecTest, EncodeUint8List) | |
TEST (FlStandardMessageCodecTest, DecodeUint8ListEmpty) | |
TEST (FlStandardMessageCodecTest, DecodeUint8List) | |
TEST (FlStandardMessageCodecTest, DecodeUint8ListNoData) | |
TEST (FlStandardMessageCodecTest, DecodeUint8ListLengthNoData) | |
TEST (FlStandardMessageCodecTest, DecodeUint8ListShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeUint8ListShortData2) | |
TEST (FlStandardMessageCodecTest, EncodeInt32ListEmpty) | |
TEST (FlStandardMessageCodecTest, EncodeInt32List) | |
TEST (FlStandardMessageCodecTest, DecodeInt32ListEmpty) | |
TEST (FlStandardMessageCodecTest, DecodeInt32List) | |
TEST (FlStandardMessageCodecTest, DecodeInt32ListNoData) | |
TEST (FlStandardMessageCodecTest, DecodeInt32ListLengthNoData) | |
TEST (FlStandardMessageCodecTest, DecodeInt32ListShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeInt32ListShortData2) | |
TEST (FlStandardMessageCodecTest, EncodeInt64ListEmpty) | |
TEST (FlStandardMessageCodecTest, EncodeInt64List) | |
TEST (FlStandardMessageCodecTest, DecodeInt64ListEmpty) | |
TEST (FlStandardMessageCodecTest, DecodeInt64List) | |
TEST (FlStandardMessageCodecTest, DecodeInt64ListNoData) | |
TEST (FlStandardMessageCodecTest, DecodeInt64ListLengthNoData) | |
TEST (FlStandardMessageCodecTest, DecodeInt64ListShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeInt64ListShortData2) | |
TEST (FlStandardMessageCodecTest, EncodeFloat32ListEmpty) | |
TEST (FlStandardMessageCodecTest, EncodeFloat32List) | |
TEST (FlStandardMessageCodecTest, DecodeFloat32ListEmpty) | |
TEST (FlStandardMessageCodecTest, DecodeFloat32List) | |
TEST (FlStandardMessageCodecTest, DecodeFloat32ListNoData) | |
TEST (FlStandardMessageCodecTest, DecodeFloat32ListLengthNoData) | |
TEST (FlStandardMessageCodecTest, DecodeFloat32ListShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeFloat32ListShortData2) | |
TEST (FlStandardMessageCodecTest, EncodeFloatListEmpty) | |
TEST (FlStandardMessageCodecTest, EncodeFloatList) | |
TEST (FlStandardMessageCodecTest, DecodeFloatListEmpty) | |
TEST (FlStandardMessageCodecTest, DecodeFloatList) | |
TEST (FlStandardMessageCodecTest, DecodeFloatListNoData) | |
TEST (FlStandardMessageCodecTest, DecodeFloatListLengthNoData) | |
TEST (FlStandardMessageCodecTest, DecodeFloatListShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeFloatListShortData2) | |
TEST (FlStandardMessageCodecTest, EncodeListEmpty) | |
TEST (FlStandardMessageCodecTest, EncodeListTypes) | |
TEST (FlStandardMessageCodecTest, EncodeListNested) | |
TEST (FlStandardMessageCodecTest, DecodeListEmpty) | |
TEST (FlStandardMessageCodecTest, DecodeListTypes) | |
TEST (FlStandardMessageCodecTest, DecodeListNested) | |
TEST (FlStandardMessageCodecTest, DecodeListNoData) | |
TEST (FlStandardMessageCodecTest, DecodeListLengthNoData) | |
TEST (FlStandardMessageCodecTest, DecodeListShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeListShortData2) | |
TEST (FlStandardMessageCodecTest, EncodeDecodeLargeList) | |
TEST (FlStandardMessageCodecTest, EncodeMapEmpty) | |
TEST (FlStandardMessageCodecTest, EncodeMapKeyTypes) | |
TEST (FlStandardMessageCodecTest, EncodeMapValueTypes) | |
TEST (FlStandardMessageCodecTest, EncodeMapNested) | |
TEST (FlStandardMessageCodecTest, DecodeMapEmpty) | |
TEST (FlStandardMessageCodecTest, DecodeMapKeyTypes) | |
TEST (FlStandardMessageCodecTest, DecodeMapValueTypes) | |
TEST (FlStandardMessageCodecTest, DecodeMapNested) | |
TEST (FlStandardMessageCodecTest, DecodeMapNoData) | |
TEST (FlStandardMessageCodecTest, DecodeMapLengthNoData) | |
TEST (FlStandardMessageCodecTest, DecodeMapShortData1) | |
TEST (FlStandardMessageCodecTest, DecodeMapShortData2) | |
TEST (FlStandardMessageCodecTest, EncodeDecodeLargeMap) | |
TEST (FlStandardMessageCodecTest, DecodeUnknownType) | |
G_DECLARE_FINAL_TYPE (FlTestStandardMessageCodec, fl_test_standard_message_codec, FL, TEST_STANDARD_MESSAGE_CODEC, FlStandardMessageCodec) struct _FlTestStandardMessageCodec | |
G_DEFINE_TYPE (FlTestStandardMessageCodec, fl_test_standard_message_codec, fl_standard_message_codec_get_type()) static gboolean write_custom_value1(FlStandardMessageCodec *codec | |
g_byte_array_append (buffer, &type, sizeof(uint8_t)) | |
fl_standard_message_codec_write_size (codec, buffer, length) | |
g_byte_array_append (buffer, reinterpret_cast< const uint8_t * >(text), length) | |
static gboolean | write_custom_value2 (FlStandardMessageCodec *codec, GByteArray *buffer, FlValue *value, GError **error) |
static gboolean | fl_test_standard_message_codec_write_value (FlStandardMessageCodec *codec, GByteArray *buffer, FlValue *value, GError **error) |
static FlValue * | read_custom_value1 (FlStandardMessageCodec *codec, GBytes *buffer, size_t *offset, GError **error) |
static FlValue * | read_custom_value2 (FlStandardMessageCodec *codec, GBytes *buffer, size_t *offset, GError **error) |
static FlValue * | fl_test_standard_message_codec_read_value_of_type (FlStandardMessageCodec *codec, GBytes *buffer, size_t *offset, int type, GError **error) |
static void | fl_test_standard_message_codec_class_init (FlTestStandardMessageCodecClass *klass) |
static void | fl_test_standard_message_codec_init (FlTestStandardMessageCodec *self) |
static FlTestStandardMessageCodec * | fl_test_standard_message_codec_new () |
TEST (FlStandardMessageCodecTest, DecodeCustomType) | |
TEST (FlStandardMessageCodecTest, DecodeCustomTypes) | |
TEST (FlStandardMessageCodecTest, EncodeCustomType) | |
TEST (FlStandardMessageCodecTest, EncodeCustomTypes) | |
TEST (FlStandardMessageCodecTest, EncodeDecode) | |
Variables | |
GByteArray * | buffer |
GByteArray FlValue * | value |
GByteArray FlValue GError ** | error |
size_t | length = strlen(text) |
uint8_t | type = 128 |
return | TRUE |
|
static |
Definition at line 53 of file fl_standard_message_codec_test.cc.
References error, fl_message_codec_decode_message(), fl_standard_message_codec_new(), and value.
Referenced by TEST().
|
static |
Definition at line 46 of file fl_standard_message_codec_test.cc.
References decode_message_with_codec(), and fl_standard_message_codec_new().
Referenced by TEST().
|
static |
Definition at line 33 of file fl_standard_message_codec_test.cc.
References error, fl_message_codec_decode_message(), fl_value_ref(), and value.
Referenced by decode_message(), and TEST().
|
static |
Definition at line 89 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_bool(), and value.
Referenced by TEST().
|
static |
Definition at line 227 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float(), and value.
Referenced by TEST().
|
static |
Definition at line 104 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int(), and value.
Referenced by TEST().
|
static |
Definition at line 26 of file fl_standard_message_codec_test.cc.
References encode_message_with_codec(), fl_standard_message_codec_new(), and value.
Referenced by encode_bool(), encode_float(), encode_int(), encode_string(), and TEST().
|
static |
Definition at line 14 of file fl_standard_message_codec_test.cc.
References error, fl_message_codec_encode_message(), and value.
Referenced by encode_message(), and TEST().
|
static |
Definition at line 335 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_string(), and value.
Referenced by TEST().
|
static |
Definition at line 1198 of file fl_standard_message_codec_test.cc.
References fl_test_standard_message_codec_read_value_of_type(), and fl_test_standard_message_codec_write_value().
|
static |
Definition at line 1206 of file fl_standard_message_codec_test.cc.
|
static |
|
static |
Definition at line 1181 of file fl_standard_message_codec_test.cc.
References buffer, error, read_custom_value1(), read_custom_value2(), and type.
Referenced by fl_test_standard_message_codec_class_init().
|
static |
Definition at line 1131 of file fl_standard_message_codec_test.cc.
References buffer, error, fl_value_get_custom_type(), fl_value_get_type(), FL_VALUE_TYPE_CUSTOM, value, and write_custom_value2().
Referenced by fl_test_standard_message_codec_class_init().
g_byte_array_append | ( | buffer | , |
& | type, | ||
sizeof(uint8_t) | |||
) |
G_DECLARE_FINAL_TYPE | ( | FlTestStandardMessageCodec | , |
fl_test_standard_message_codec | , | ||
FL | , | ||
TEST_STANDARD_MESSAGE_CODEC | , | ||
FlStandardMessageCodec | |||
) |
Definition at line 1093 of file fl_standard_message_codec_test.cc.
G_DEFINE_TYPE | ( | FlTestStandardMessageCodec | , |
fl_test_standard_message_codec | , | ||
fl_standard_message_codec_get_type() | |||
) |
|
static |
Definition at line 1149 of file fl_standard_message_codec_test.cc.
References buffer, error, FL_MESSAGE_CODEC_ERROR, FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA, fl_standard_message_codec_read_size(), fl_value_new_custom(), length, and value.
Referenced by fl_test_standard_message_codec_read_value_of_type().
|
static |
Definition at line 1174 of file fl_standard_message_codec_test.cc.
References fl_value_new_custom().
Referenced by fl_test_standard_message_codec_read_value_of_type().
TEST | ( | FlStandardMessageCodecTest | , |
DecodeCustomType | |||
) |
Definition at line 1217 of file fl_standard_message_codec_test.cc.
References decode_message_with_codec(), fl_test_standard_message_codec_new(), fl_value_get_custom_type(), fl_value_get_custom_value(), fl_value_get_type(), FL_VALUE_TYPE_CUSTOM, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeCustomTypes | |||
) |
Definition at line 1228 of file fl_standard_message_codec_test.cc.
References decode_message_with_codec(), fl_test_standard_message_codec_new(), fl_value_get_custom_type(), fl_value_get_custom_value(), fl_value_get_length(), fl_value_get_list_value(), fl_value_get_type(), FL_VALUE_TYPE_CUSTOM, FL_VALUE_TYPE_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32List | |||
) |
Definition at line 574 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float32_list(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT32_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32ListEmpty | |||
) |
Definition at line 568 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT32_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32ListLengthNoData | |||
) |
Definition at line 591 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32ListNoData | |||
) |
Definition at line 586 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32ListShortData1 | |||
) |
Definition at line 596 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32ListShortData2 | |||
) |
Definition at line 601 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatHalf | |||
) |
Definition at line 290 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatInfinity | |||
) |
Definition at line 314 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatList | |||
) |
Definition at line 629 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float_list(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatListEmpty | |||
) |
Definition at line 623 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatListLengthNoData | |||
) |
Definition at line 647 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatListNoData | |||
) |
Definition at line 642 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatListShortData1 | |||
) |
Definition at line 652 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatListShortData2 | |||
) |
Definition at line 657 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatMinusOne | |||
) |
Definition at line 284 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatMinusZero | |||
) |
Definition at line 302 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatNaN | |||
) |
Definition at line 308 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatNoData | |||
) |
Definition at line 320 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatOne | |||
) |
Definition at line 278 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatPi | |||
) |
Definition at line 296 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatShortData1 | |||
) |
Definition at line 325 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatShortData2 | |||
) |
Definition at line 330 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatZero | |||
) |
Definition at line 272 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32 | |||
) |
Definition at line 161 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32List | |||
) |
Definition at line 464 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int32_list(), fl_value_get_type(), FL_VALUE_TYPE_INT32_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32ListEmpty | |||
) |
Definition at line 458 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_INT32_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32ListLengthNoData | |||
) |
Definition at line 481 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32ListNoData | |||
) |
Definition at line 476 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32ListShortData1 | |||
) |
Definition at line 486 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32ListShortData2 | |||
) |
Definition at line 491 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32Max | |||
) |
Definition at line 173 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32Min | |||
) |
Definition at line 167 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32NoData | |||
) |
Definition at line 197 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64 | |||
) |
Definition at line 179 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64List | |||
) |
Definition at line 519 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int64_list(), fl_value_get_type(), FL_VALUE_TYPE_INT64_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ListEmpty | |||
) |
Definition at line 513 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_INT64_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ListLengthNoData | |||
) |
Definition at line 537 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ListNoData | |||
) |
Definition at line 532 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ListShortData1 | |||
) |
Definition at line 542 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ListShortData2 | |||
) |
Definition at line 547 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64Max | |||
) |
Definition at line 191 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64Min | |||
) |
Definition at line 185 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64NoData | |||
) |
Definition at line 212 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ShortData1 | |||
) |
Definition at line 217 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ShortData2 | |||
) |
Definition at line 222 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeIntOne | |||
) |
Definition at line 155 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeIntShortData1 | |||
) |
Definition at line 202 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeIntShortData2 | |||
) |
Definition at line 207 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeIntZero | |||
) |
Definition at line 149 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListEmpty | |||
) |
Definition at line 705 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListLengthNoData | |||
) |
Definition at line 768 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListNested | |||
) |
Definition at line 740 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_length(), fl_value_get_list_value(), fl_value_get_type(), FL_VALUE_TYPE_INT, FL_VALUE_TYPE_LIST, i, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListNoData | |||
) |
Definition at line 763 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListShortData1 | |||
) |
Definition at line 773 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListShortData2 | |||
) |
Definition at line 778 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListTypes | |||
) |
Definition at line 711 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_bool(), fl_value_get_float(), fl_value_get_int(), fl_value_get_length(), fl_value_get_list_value(), fl_value_get_string(), fl_value_get_type(), FL_VALUE_TYPE_BOOL, FL_VALUE_TYPE_FLOAT, FL_VALUE_TYPE_INT, FL_VALUE_TYPE_LIST, FL_VALUE_TYPE_MAP, FL_VALUE_TYPE_NULL, FL_VALUE_TYPE_STRING, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapEmpty | |||
) |
Definition at line 871 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_MAP, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapKeyTypes | |||
) |
Definition at line 877 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_bool(), fl_value_get_float(), fl_value_get_int(), fl_value_get_length(), fl_value_get_map_key(), fl_value_get_map_value(), fl_value_get_string(), fl_value_get_type(), FL_VALUE_TYPE_BOOL, FL_VALUE_TYPE_FLOAT, FL_VALUE_TYPE_INT, FL_VALUE_TYPE_LIST, FL_VALUE_TYPE_MAP, FL_VALUE_TYPE_NULL, FL_VALUE_TYPE_STRING, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapLengthNoData | |||
) |
Definition at line 1047 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapNested | |||
) |
Definition at line 995 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_length(), fl_value_get_map_key(), fl_value_get_map_value(), fl_value_get_string(), fl_value_get_type(), FL_VALUE_TYPE_INT, FL_VALUE_TYPE_MAP, FL_VALUE_TYPE_STRING, i, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapNoData | |||
) |
Definition at line 1042 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapShortData1 | |||
) |
Definition at line 1052 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapShortData2 | |||
) |
Definition at line 1057 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapValueTypes | |||
) |
Definition at line 936 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_bool(), fl_value_get_float(), fl_value_get_int(), fl_value_get_length(), fl_value_get_map_key(), fl_value_get_map_value(), fl_value_get_string(), fl_value_get_type(), FL_VALUE_TYPE_BOOL, FL_VALUE_TYPE_FLOAT, FL_VALUE_TYPE_INT, FL_VALUE_TYPE_LIST, FL_VALUE_TYPE_MAP, FL_VALUE_TYPE_NULL, FL_VALUE_TYPE_STRING, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeNull | |||
) |
Definition at line 76 of file fl_standard_message_codec_test.cc.
References error, fl_message_codec_decode_message(), fl_standard_message_codec_new(), fl_value_get_type(), FL_VALUE_TYPE_NULL, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringEmpty | |||
) |
Definition at line 362 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_string(), fl_value_get_type(), FL_VALUE_TYPE_STRING, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringHello | |||
) |
Definition at line 368 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_string(), fl_value_get_type(), FL_VALUE_TYPE_STRING, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringLengthNoData | |||
) |
Definition at line 379 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringNoData | |||
) |
Definition at line 374 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringShortData1 | |||
) |
Definition at line 384 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringShortData2 | |||
) |
Definition at line 389 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8List | |||
) |
Definition at line 413 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), fl_value_get_uint8_list(), FL_VALUE_TYPE_UINT8_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8ListEmpty | |||
) |
Definition at line 407 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_UINT8_LIST, and value.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8ListLengthNoData | |||
) |
Definition at line 430 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8ListNoData | |||
) |
Definition at line 425 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8ListShortData1 | |||
) |
Definition at line 435 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8ListShortData2 | |||
) |
Definition at line 440 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_OUT_OF_DATA.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUnknownType | |||
) |
Definition at line 1088 of file fl_standard_message_codec_test.cc.
References decode_error_value(), FL_MESSAGE_CODEC_ERROR, and FL_MESSAGE_CODEC_ERROR_UNSUPPORTED_TYPE.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeBoolFalse | |||
) |
Definition at line 94 of file fl_standard_message_codec_test.cc.
References encode_bool().
TEST | ( | FlStandardMessageCodecTest | , |
EncodeBoolTrue | |||
) |
Definition at line 99 of file fl_standard_message_codec_test.cc.
References encode_bool(), and TRUE.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeCustomType | |||
) |
Definition at line 1245 of file fl_standard_message_codec_test.cc.
References encode_message_with_codec(), fl_test_standard_message_codec_new(), fl_value_new_custom(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeCustomTypes | |||
) |
Definition at line 1254 of file fl_standard_message_codec_test.cc.
References encode_message_with_codec(), fl_test_standard_message_codec_new(), fl_value_append_take(), fl_value_new_custom(), fl_value_new_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeDecode | |||
) |
Definition at line 1265 of file fl_standard_message_codec_test.cc.
References error, fl_message_codec_decode_message(), fl_message_codec_encode_message(), fl_standard_message_codec_new(), fl_value_append_take(), fl_value_equal(), fl_value_new_bool(), fl_value_new_float(), fl_value_new_int(), fl_value_new_list(), fl_value_new_map(), fl_value_new_null(), fl_value_new_string(), and TRUE.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeDecodeLargeList | |||
) |
Definition at line 784 of file fl_standard_message_codec_test.cc.
References error, fl_message_codec_decode_message(), fl_message_codec_encode_message(), fl_standard_message_codec_new(), fl_value_append_take(), fl_value_equal(), fl_value_new_int(), fl_value_new_list(), i, and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeDecodeLargeMap | |||
) |
Definition at line 1065 of file fl_standard_message_codec_test.cc.
References error, fl_message_codec_decode_message(), fl_message_codec_encode_message(), fl_standard_message_codec_new(), fl_value_equal(), fl_value_new_int(), fl_value_new_map(), fl_value_set_string_take(), i, and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloat32List | |||
) |
Definition at line 561 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float32_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloat32ListEmpty | |||
) |
Definition at line 555 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float32_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatFraction | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatHalf | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatInfinity | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatList | |||
) |
Definition at line 613 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatListEmpty | |||
) |
Definition at line 607 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatMinusOne | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatMinusZero | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatNaN | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatOne | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatZero | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt32 | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt32List | |||
) |
Definition at line 451 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int32_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt32ListEmpty | |||
) |
Definition at line 445 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int32_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt32Max | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt32Min | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt64 | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt64List | |||
) |
Definition at line 503 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int64_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt64ListEmpty | |||
) |
Definition at line 497 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int64_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt64Max | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt64Min | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeIntOne | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeIntZero | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeListEmpty | |||
) |
Definition at line 665 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeListNested | |||
) |
Definition at line 686 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_append(), fl_value_append_take(), fl_value_new_int(), fl_value_new_list(), i, and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeListTypes | |||
) |
Definition at line 671 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_append_take(), fl_value_new_bool(), fl_value_new_float(), fl_value_new_int(), fl_value_new_list(), fl_value_new_map(), fl_value_new_null(), fl_value_new_string(), TRUE, and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeMapEmpty | |||
) |
Definition at line 806 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_map(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeMapKeyTypes | |||
) |
Definition at line 812 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_bool(), fl_value_new_float(), fl_value_new_int(), fl_value_new_list(), fl_value_new_map(), fl_value_new_null(), fl_value_new_string(), fl_value_set_take(), TRUE, and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeMapNested | |||
) |
Definition at line 850 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int(), fl_value_new_map(), fl_value_new_string(), fl_value_set_string(), fl_value_set_take(), i, and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeMapValueTypes | |||
) |
Definition at line 831 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_bool(), fl_value_new_float(), fl_value_new_int(), fl_value_new_list(), fl_value_new_map(), fl_value_new_null(), fl_value_new_string(), fl_value_set_take(), TRUE, and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeNull | |||
) |
Definition at line 70 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_null(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeNullptr | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeStringEmpty | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeStringEmptySized | |||
) |
Definition at line 350 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_string_sized(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeStringHello | |||
) |
TEST | ( | FlStandardMessageCodecTest | , |
EncodeStringHelloSized | |||
) |
Definition at line 356 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_string_sized(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeUint8List | |||
) |
Definition at line 400 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_uint8_list(), and value.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeUint8ListEmpty | |||
) |
Definition at line 394 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_uint8_list(), and value.
|
static |
Definition at line 1122 of file fl_standard_message_codec_test.cc.
References buffer, g_byte_array_append(), TRUE, and type.
Referenced by fl_test_standard_message_codec_write_value().
GByteArray* buffer |
Definition at line 1108 of file fl_standard_message_codec_test.cc.
Referenced by fl_test_standard_message_codec_read_value_of_type(), fl_test_standard_message_codec_write_value(), read_custom_value1(), and write_custom_value2().
GByteArray FlValue GError** error |
Definition at line 1110 of file fl_standard_message_codec_test.cc.
Referenced by decode_error_value(), decode_message_with_codec(), encode_message_with_codec(), fl_test_standard_message_codec_read_value_of_type(), fl_test_standard_message_codec_write_value(), read_custom_value1(), and TEST().
size_t length = strlen(text) |
Definition at line 1113 of file fl_standard_message_codec_test.cc.
Referenced by fl_accessible_text_field_insert_text(), fl_json_method_codec_decode_response(), fl_standard_message_codec_real_write_value(), fl_value_new_uint8_list_from_bytes(), flutter::GetExecutableDirectory(), FlValueHandler::Key(), read_custom_value1(), read_float32_list_value(), read_float64_list_value(), read_int32_list_value(), read_int64_list_value(), read_list_value(), read_map_value(), read_string_value(), read_uint8_list_value(), flutter::ByteBufferStreamReader::ReadBytes(), flutter::StandardCodecSerializer::ReadValueOfType(), FlValueHandler::String(), synchronize_pressed_states_loop_body(), and flutter::ByteBufferStreamWriter::WriteBytes().
return TRUE |
Definition at line 1119 of file fl_standard_message_codec_test.cc.
Referenced by TEST(), and write_custom_value2().
uint8_t type = 128 |
Definition at line 1115 of file fl_standard_message_codec_test.cc.
Referenced by fl_key_channel_responder_handle_event(), fl_key_event_hash(), fl_key_event_new_from_gdk_event(), fl_standard_message_codec_read_value(), fl_standard_message_codec_read_value_of_type(), fl_standard_method_codec_decode_response(), fl_standard_method_codec_encode_error_envelope(), fl_standard_method_codec_encode_success_envelope(), fl_test_standard_message_codec_read_value_of_type(), fl_value_new(), fl_value_new_custom(), fl_value_new_custom_object(), fl_value_new_custom_object_take(), G_DECLARE_DERIVABLE_TYPE(), flutter::StandardCodecSerializer::ReadValue(), flutter::StandardCodecSerializer::ReadValueOfType(), request_app_exit(), synchronize_lock_states_loop_body(), synthesize_simple_event(), system_exit_application(), system_sound_play(), TEST(), and write_custom_value2().
GByteArray FlValue* value |
Definition at line 1109 of file fl_standard_message_codec_test.cc.
Referenced by decode_error_value(), decode_message_with_codec(), encode_bool(), encode_float(), encode_int(), encode_message(), encode_message_with_codec(), encode_string(), fl_test_standard_message_codec_write_value(), read_custom_value1(), and TEST().