#include "flutter/shell/platform/linux/public/flutter_linux/fl_standard_message_codec.h"#include <cmath>#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 55 of file fl_standard_message_codec_test.cc.
References data, error, fl_message_codec_decode_message(), fl_standard_message_codec_new(), g_autoptr(), hex_string_to_bytes(), and value.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
static |
Definition at line 48 of file fl_standard_message_codec_test.cc.
References decode_message_with_codec(), fl_standard_message_codec_new(), and g_autoptr().
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
static |
Definition at line 35 of file fl_standard_message_codec_test.cc.
References data, error, fl_message_codec_decode_message(), fl_value_ref(), g_autoptr(), hex_string_to_bytes(), and value.
Referenced by decode_message(), TEST(), and TEST().
|
static |
Definition at line 91 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_bool(), g_autoptr(), and value.
|
static |
Definition at line 229 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float(), g_autoptr(), and value.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
static |
Definition at line 106 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int(), g_autoptr(), and value.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
static |
Definition at line 28 of file fl_standard_message_codec_test.cc.
References encode_message_with_codec(), fl_standard_message_codec_new(), g_autoptr(), and value.
Referenced by encode_bool(), encode_float(), encode_int(), encode_string(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
static |
Definition at line 16 of file fl_standard_message_codec_test.cc.
References bytes_to_hex_string(), error, fl_message_codec_encode_message(), g_autoptr(), message, and value.
Referenced by encode_message(), TEST(), and TEST().
|
static |
Definition at line 337 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_string(), g_autoptr(), and value.
| fl_standard_message_codec_write_size | ( | codec | , |
| buffer | , | ||
| length | |||
| ) |
|
static |
Definition at line 1200 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 1208 of file fl_standard_message_codec_test.cc.
References self.
|
static |
|
static |
Definition at line 1183 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 1133 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_byte_array_append | ( | buffer | , |
| reinterpret_cast< const uint8_t * > | text, | ||
| length | |||
| ) |
| G_DECLARE_FINAL_TYPE | ( | FlTestStandardMessageCodec | , |
| fl_test_standard_message_codec | , | ||
| FL | , | ||
| TEST_STANDARD_MESSAGE_CODEC | , | ||
| FlStandardMessageCodec | |||
| ) |
Definition at line 1095 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 1151 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 1176 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 1219 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, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeCustomTypes | |||
| ) |
Definition at line 1230 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, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloat32List | |||
| ) |
Definition at line 576 of file fl_standard_message_codec_test.cc.
References data, decode_message(), fl_value_get_float32_list(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT32_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloat32ListEmpty | |||
| ) |
Definition at line 570 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT32_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloat32ListLengthNoData | |||
| ) |
Definition at line 593 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 588 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 598 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 603 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 292 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloatInfinity | |||
| ) |
Definition at line 316 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloatList | |||
| ) |
Definition at line 631 of file fl_standard_message_codec_test.cc.
References data, decode_message(), fl_value_get_float_list(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloatListEmpty | |||
| ) |
Definition at line 625 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloatListLengthNoData | |||
| ) |
Definition at line 649 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 644 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 654 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 659 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 286 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloatMinusZero | |||
| ) |
Definition at line 304 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloatNaN | |||
| ) |
Definition at line 310 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloatNoData | |||
| ) |
Definition at line 322 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 280 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloatPi | |||
| ) |
Definition at line 298 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloatShortData1 | |||
| ) |
Definition at line 327 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 332 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 274 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_float(), fl_value_get_type(), FL_VALUE_TYPE_FLOAT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt32 | |||
| ) |
Definition at line 163 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt32List | |||
| ) |
Definition at line 466 of file fl_standard_message_codec_test.cc.
References data, decode_message(), fl_value_get_int32_list(), fl_value_get_type(), FL_VALUE_TYPE_INT32_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt32ListEmpty | |||
| ) |
Definition at line 460 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_INT32_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt32ListLengthNoData | |||
| ) |
Definition at line 483 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 478 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 488 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 493 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 175 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt32Min | |||
| ) |
Definition at line 169 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt32NoData | |||
| ) |
Definition at line 199 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 181 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt64List | |||
| ) |
Definition at line 521 of file fl_standard_message_codec_test.cc.
References data, decode_message(), fl_value_get_int64_list(), fl_value_get_type(), FL_VALUE_TYPE_INT64_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt64ListEmpty | |||
| ) |
Definition at line 515 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_INT64_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt64ListLengthNoData | |||
| ) |
Definition at line 539 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 534 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 544 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 549 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 193 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt64Min | |||
| ) |
Definition at line 187 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeInt64NoData | |||
| ) |
Definition at line 214 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 219 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 224 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 157 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeIntShortData1 | |||
| ) |
Definition at line 204 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 209 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 151 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_int(), fl_value_get_type(), FL_VALUE_TYPE_INT, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeListEmpty | |||
| ) |
Definition at line 707 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeListLengthNoData | |||
| ) |
Definition at line 770 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 742 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, g_autoptr(), i, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeListNoData | |||
| ) |
Definition at line 765 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 775 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 780 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 713 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, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeMapEmpty | |||
| ) |
Definition at line 873 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_MAP, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeMapKeyTypes | |||
| ) |
Definition at line 879 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, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeMapLengthNoData | |||
| ) |
Definition at line 1049 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 997 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, g_autoptr(), i, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeMapNoData | |||
| ) |
Definition at line 1044 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 1054 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 1059 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 938 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, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeNull | |||
| ) |
Definition at line 78 of file fl_standard_message_codec_test.cc.
References data, error, fl_message_codec_decode_message(), fl_standard_message_codec_new(), fl_value_get_type(), FL_VALUE_TYPE_NULL, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeStringEmpty | |||
| ) |
Definition at line 364 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_string(), fl_value_get_type(), FL_VALUE_TYPE_STRING, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeStringHello | |||
| ) |
Definition at line 370 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_string(), fl_value_get_type(), FL_VALUE_TYPE_STRING, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeStringLengthNoData | |||
| ) |
Definition at line 381 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 376 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 386 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 391 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 415 of file fl_standard_message_codec_test.cc.
References data, decode_message(), fl_value_get_length(), fl_value_get_type(), fl_value_get_uint8_list(), FL_VALUE_TYPE_UINT8_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeUint8ListEmpty | |||
| ) |
Definition at line 409 of file fl_standard_message_codec_test.cc.
References decode_message(), fl_value_get_length(), fl_value_get_type(), FL_VALUE_TYPE_UINT8_LIST, g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeUint8ListLengthNoData | |||
| ) |
Definition at line 432 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 427 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 437 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 442 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 1090 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 96 of file fl_standard_message_codec_test.cc.
References encode_bool().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeBoolTrue | |||
| ) |
Definition at line 101 of file fl_standard_message_codec_test.cc.
References encode_bool(), and TRUE.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeCustomType | |||
| ) |
Definition at line 1247 of file fl_standard_message_codec_test.cc.
References encode_message_with_codec(), fl_test_standard_message_codec_new(), fl_value_new_custom(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeCustomTypes | |||
| ) |
Definition at line 1256 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(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeDecode | |||
| ) |
Definition at line 1267 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(), g_autoptr(), input(), message, and TRUE.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeDecodeLargeList | |||
| ) |
Definition at line 786 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(), g_autoptr(), i, message, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeDecodeLargeMap | |||
| ) |
Definition at line 1067 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(), g_autoptr(), i, key, message, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloat32List | |||
| ) |
Definition at line 563 of file fl_standard_message_codec_test.cc.
References data, encode_message(), fl_value_new_float32_list(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloat32ListEmpty | |||
| ) |
Definition at line 557 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float32_list(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatFraction | |||
| ) |
Definition at line 254 of file fl_standard_message_codec_test.cc.
References encode_float().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatHalf | |||
| ) |
Definition at line 249 of file fl_standard_message_codec_test.cc.
References encode_float().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatInfinity | |||
| ) |
Definition at line 269 of file fl_standard_message_codec_test.cc.
References encode_float().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatList | |||
| ) |
Definition at line 615 of file fl_standard_message_codec_test.cc.
References data, encode_message(), fl_value_new_float_list(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatListEmpty | |||
| ) |
Definition at line 609 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float_list(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatMinusOne | |||
| ) |
Definition at line 244 of file fl_standard_message_codec_test.cc.
References encode_float().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatMinusZero | |||
| ) |
Definition at line 259 of file fl_standard_message_codec_test.cc.
References encode_float().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatNaN | |||
| ) |
Definition at line 264 of file fl_standard_message_codec_test.cc.
References encode_float().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatOne | |||
| ) |
Definition at line 239 of file fl_standard_message_codec_test.cc.
References encode_float().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatZero | |||
| ) |
Definition at line 234 of file fl_standard_message_codec_test.cc.
References encode_float().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt32 | |||
| ) |
Definition at line 121 of file fl_standard_message_codec_test.cc.
References encode_int().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt32List | |||
| ) |
Definition at line 453 of file fl_standard_message_codec_test.cc.
References data, encode_message(), fl_value_new_int32_list(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt32ListEmpty | |||
| ) |
Definition at line 447 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int32_list(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt32Max | |||
| ) |
Definition at line 131 of file fl_standard_message_codec_test.cc.
References encode_int().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt32Min | |||
| ) |
Definition at line 126 of file fl_standard_message_codec_test.cc.
References encode_int().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt64 | |||
| ) |
Definition at line 136 of file fl_standard_message_codec_test.cc.
References encode_int().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt64List | |||
| ) |
Definition at line 505 of file fl_standard_message_codec_test.cc.
References data, encode_message(), fl_value_new_int64_list(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt64ListEmpty | |||
| ) |
Definition at line 499 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int64_list(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt64Max | |||
| ) |
Definition at line 146 of file fl_standard_message_codec_test.cc.
References encode_int().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt64Min | |||
| ) |
Definition at line 141 of file fl_standard_message_codec_test.cc.
References encode_int().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeIntOne | |||
| ) |
Definition at line 116 of file fl_standard_message_codec_test.cc.
References encode_int().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeIntZero | |||
| ) |
Definition at line 111 of file fl_standard_message_codec_test.cc.
References encode_int().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeListEmpty | |||
| ) |
Definition at line 667 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_list(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeListNested | |||
| ) |
Definition at line 688 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(), g_autoptr(), i, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeListTypes | |||
| ) |
Definition at line 673 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(), g_autoptr(), TRUE, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeMapEmpty | |||
| ) |
Definition at line 808 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_map(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeMapKeyTypes | |||
| ) |
Definition at line 814 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(), g_autoptr(), TRUE, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeMapNested | |||
| ) |
Definition at line 852 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(), g_autoptr(), i, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeMapValueTypes | |||
| ) |
Definition at line 833 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(), g_autoptr(), TRUE, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeNull | |||
| ) |
Definition at line 72 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_null(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeNullptr | |||
| ) |
Definition at line 67 of file fl_standard_message_codec_test.cc.
References encode_message().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeStringEmpty | |||
| ) |
Definition at line 342 of file fl_standard_message_codec_test.cc.
References encode_string().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeStringEmptySized | |||
| ) |
Definition at line 352 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_string_sized(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeStringHello | |||
| ) |
Definition at line 347 of file fl_standard_message_codec_test.cc.
References encode_string().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeStringHelloSized | |||
| ) |
Definition at line 358 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_string_sized(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeUint8List | |||
| ) |
Definition at line 402 of file fl_standard_message_codec_test.cc.
References data, encode_message(), fl_value_new_uint8_list(), g_autoptr(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeUint8ListEmpty | |||
| ) |
Definition at line 396 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_uint8_list(), g_autoptr(), and value.
|
static |
Definition at line 1124 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 1110 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 1112 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(), TEST(), TEST(), TEST(), and TEST().
| size_t length = strlen(text) |
Definition at line 1115 of file fl_standard_message_codec_test.cc.
Referenced by read_custom_value1().
| return TRUE |
Definition at line 1121 of file fl_standard_message_codec_test.cc.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), and write_custom_value2().
| uint8_t type = 128 |
Definition at line 1117 of file fl_standard_message_codec_test.cc.
Referenced by fl_test_standard_message_codec_read_value_of_type(), and write_custom_value2().
| GByteArray FlValue* value |
Definition at line 1111 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(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().