Flutter Engine
The Flutter Engine
|
#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.
|
static |
Definition at line 46 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 33 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 89 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 227 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 104 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 26 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 14 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 335 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 1198 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 1206 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 1212 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 1181 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 1131 of file fl_standard_message_codec_test.cc.
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.
|
static |
Definition at line 1174 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeCustomType | |||
) |
Definition at line 1217 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeCustomTypes | |||
) |
Definition at line 1228 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32List | |||
) |
Definition at line 574 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32ListEmpty | |||
) |
Definition at line 568 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32ListLengthNoData | |||
) |
Definition at line 591 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32ListNoData | |||
) |
Definition at line 586 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32ListShortData1 | |||
) |
Definition at line 596 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloat32ListShortData2 | |||
) |
Definition at line 601 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatHalf | |||
) |
Definition at line 290 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatInfinity | |||
) |
Definition at line 314 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatList | |||
) |
Definition at line 629 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatListEmpty | |||
) |
Definition at line 623 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatListLengthNoData | |||
) |
Definition at line 647 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatListNoData | |||
) |
Definition at line 642 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatListShortData1 | |||
) |
Definition at line 652 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatListShortData2 | |||
) |
Definition at line 657 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatMinusOne | |||
) |
Definition at line 284 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatMinusZero | |||
) |
Definition at line 302 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatNaN | |||
) |
Definition at line 308 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatNoData | |||
) |
Definition at line 320 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatOne | |||
) |
Definition at line 278 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatPi | |||
) |
Definition at line 296 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatShortData1 | |||
) |
Definition at line 325 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatShortData2 | |||
) |
Definition at line 330 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeFloatZero | |||
) |
Definition at line 272 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32 | |||
) |
Definition at line 161 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32List | |||
) |
Definition at line 464 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32ListEmpty | |||
) |
Definition at line 458 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32ListLengthNoData | |||
) |
Definition at line 481 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32ListNoData | |||
) |
Definition at line 476 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32ListShortData1 | |||
) |
Definition at line 486 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32ListShortData2 | |||
) |
Definition at line 491 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32Max | |||
) |
Definition at line 173 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32Min | |||
) |
Definition at line 167 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt32NoData | |||
) |
Definition at line 197 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64 | |||
) |
Definition at line 179 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64List | |||
) |
Definition at line 519 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ListEmpty | |||
) |
Definition at line 513 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ListLengthNoData | |||
) |
Definition at line 537 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ListNoData | |||
) |
Definition at line 532 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ListShortData1 | |||
) |
Definition at line 542 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ListShortData2 | |||
) |
Definition at line 547 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64Max | |||
) |
Definition at line 191 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64Min | |||
) |
Definition at line 185 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64NoData | |||
) |
Definition at line 212 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ShortData1 | |||
) |
Definition at line 217 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeInt64ShortData2 | |||
) |
Definition at line 222 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeIntOne | |||
) |
Definition at line 155 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeIntShortData1 | |||
) |
Definition at line 202 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeIntShortData2 | |||
) |
Definition at line 207 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeIntZero | |||
) |
Definition at line 149 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListEmpty | |||
) |
Definition at line 705 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListLengthNoData | |||
) |
Definition at line 768 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListNested | |||
) |
Definition at line 740 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListNoData | |||
) |
Definition at line 763 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListShortData1 | |||
) |
Definition at line 773 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListShortData2 | |||
) |
Definition at line 778 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeListTypes | |||
) |
Definition at line 711 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapEmpty | |||
) |
Definition at line 871 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapKeyTypes | |||
) |
Definition at line 877 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapLengthNoData | |||
) |
Definition at line 1047 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapNested | |||
) |
Definition at line 995 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapNoData | |||
) |
Definition at line 1042 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapShortData1 | |||
) |
Definition at line 1052 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapShortData2 | |||
) |
Definition at line 1057 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeMapValueTypes | |||
) |
Definition at line 936 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeNull | |||
) |
Definition at line 76 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringEmpty | |||
) |
Definition at line 362 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringHello | |||
) |
Definition at line 368 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringLengthNoData | |||
) |
Definition at line 379 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringNoData | |||
) |
Definition at line 374 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringShortData1 | |||
) |
Definition at line 384 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeStringShortData2 | |||
) |
Definition at line 389 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8List | |||
) |
Definition at line 413 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8ListEmpty | |||
) |
Definition at line 407 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8ListLengthNoData | |||
) |
Definition at line 430 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8ListNoData | |||
) |
Definition at line 425 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8ListShortData1 | |||
) |
Definition at line 435 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUint8ListShortData2 | |||
) |
Definition at line 440 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
DecodeUnknownType | |||
) |
Definition at line 1088 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeBoolFalse | |||
) |
Definition at line 94 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeBoolTrue | |||
) |
Definition at line 99 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeCustomType | |||
) |
Definition at line 1245 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeCustomTypes | |||
) |
Definition at line 1254 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeDecode | |||
) |
Definition at line 1265 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeDecodeLargeList | |||
) |
Definition at line 784 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeDecodeLargeMap | |||
) |
Definition at line 1065 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloat32List | |||
) |
Definition at line 561 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloat32ListEmpty | |||
) |
Definition at line 555 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatFraction | |||
) |
Definition at line 252 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatHalf | |||
) |
Definition at line 247 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatInfinity | |||
) |
Definition at line 267 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatList | |||
) |
Definition at line 613 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatListEmpty | |||
) |
Definition at line 607 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatMinusOne | |||
) |
Definition at line 242 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatMinusZero | |||
) |
Definition at line 257 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatNaN | |||
) |
Definition at line 262 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatOne | |||
) |
Definition at line 237 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeFloatZero | |||
) |
Definition at line 232 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt32 | |||
) |
Definition at line 119 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt32List | |||
) |
Definition at line 451 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt32ListEmpty | |||
) |
Definition at line 445 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt32Max | |||
) |
Definition at line 129 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt32Min | |||
) |
Definition at line 124 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt64 | |||
) |
Definition at line 134 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt64List | |||
) |
Definition at line 503 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt64ListEmpty | |||
) |
Definition at line 497 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt64Max | |||
) |
Definition at line 144 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeInt64Min | |||
) |
Definition at line 139 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeIntOne | |||
) |
Definition at line 114 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeIntZero | |||
) |
Definition at line 109 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeListEmpty | |||
) |
Definition at line 665 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeListNested | |||
) |
Definition at line 686 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeListTypes | |||
) |
Definition at line 671 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeMapEmpty | |||
) |
Definition at line 806 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeMapKeyTypes | |||
) |
Definition at line 812 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeMapNested | |||
) |
Definition at line 850 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeMapValueTypes | |||
) |
Definition at line 831 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeNull | |||
) |
Definition at line 70 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeNullptr | |||
) |
Definition at line 65 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeStringEmpty | |||
) |
Definition at line 340 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeStringEmptySized | |||
) |
Definition at line 350 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeStringHello | |||
) |
Definition at line 345 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeStringHelloSized | |||
) |
Definition at line 356 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeUint8List | |||
) |
Definition at line 400 of file fl_standard_message_codec_test.cc.
TEST | ( | FlStandardMessageCodecTest | , |
EncodeUint8ListEmpty | |||
) |
Definition at line 394 of file fl_standard_message_codec_test.cc.
|
static |
Definition at line 1122 of file fl_standard_message_codec_test.cc.
GByteArray* buffer |
Definition at line 1108 of file fl_standard_message_codec_test.cc.
GByteArray FlValue GError** error |
Definition at line 1110 of file fl_standard_message_codec_test.cc.
size_t length = strlen(text) |
Definition at line 1113 of file fl_standard_message_codec_test.cc.
return TRUE |
Definition at line 1119 of file fl_standard_message_codec_test.cc.
uint8_t type = 128 |
Definition at line 1115 of file fl_standard_message_codec_test.cc.
GByteArray FlValue* value |
Definition at line 1109 of file fl_standard_message_codec_test.cc.