#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 (FlValue *value) |
| 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) | |
| TEST (FlStandardMessageCodecTest, EncodeDecode) | |
|
static |
Definition at line 40 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 27 of file fl_standard_message_codec_test.cc.
References error, fl_message_codec_decode_message(), fl_standard_message_codec_new(), fl_value_ref(), and value.
Referenced by TEST().
|
static |
Definition at line 76 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_bool(), and value.
Referenced by TEST().
|
static |
Definition at line 214 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float(), and value.
Referenced by TEST().
|
static |
Definition at line 91 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int(), and value.
Referenced by TEST().
|
static |
Definition at line 14 of file fl_standard_message_codec_test.cc.
References error, fl_message_codec_encode_message(), fl_standard_message_codec_new(), and value.
Referenced by encode_bool(), encode_float(), encode_int(), encode_string(), and TEST().
|
static |
Definition at line 322 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_string(), and value.
Referenced by TEST().
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeFloat32List | |||
| ) |
Definition at line 561 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 555 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 578 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 573 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 583 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 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 | , |
| DecodeFloatHalf | |||
| ) |
Definition at line 277 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 301 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 616 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 610 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 634 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 629 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 639 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 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 | , |
| DecodeFloatMinusOne | |||
| ) |
Definition at line 271 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 289 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 295 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 307 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 265 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 283 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 312 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 317 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 259 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 148 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 451 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 445 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 468 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 463 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 473 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 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 | , |
| DecodeInt32Max | |||
| ) |
Definition at line 160 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 154 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 184 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 166 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 506 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 500 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 524 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 519 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 529 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 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 | , |
| DecodeInt64Max | |||
| ) |
Definition at line 178 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 172 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 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 | , |
| DecodeInt64ShortData1 | |||
| ) |
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 | , |
| DecodeInt64ShortData2 | |||
| ) |
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 | , |
| DecodeIntOne | |||
| ) |
Definition at line 142 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 189 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 194 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 136 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 692 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 755 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 727 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, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeListNoData | |||
| ) |
Definition at line 750 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 760 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 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 | , |
| DecodeListTypes | |||
| ) |
Definition at line 698 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 858 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 864 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 1034 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 982 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, and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| DecodeMapNoData | |||
| ) |
Definition at line 1029 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 1039 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 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 | , |
| DecodeMapValueTypes | |||
| ) |
Definition at line 923 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 63 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 349 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 355 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 366 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 361 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 371 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 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 | , |
| DecodeUint8List | |||
| ) |
Definition at line 400 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 394 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 417 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 412 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 422 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 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 | , |
| DecodeUnknownType | |||
| ) |
Definition at line 1075 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 81 of file fl_standard_message_codec_test.cc.
References encode_bool().
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeBoolTrue | |||
| ) |
Definition at line 86 of file fl_standard_message_codec_test.cc.
References encode_bool(), and TRUE.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeDecode | |||
| ) |
Definition at line 1080 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 771 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(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeDecodeLargeMap | |||
| ) |
Definition at line 1052 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(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloat32List | |||
| ) |
Definition at line 548 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float32_list(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloat32ListEmpty | |||
| ) |
Definition at line 542 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 600 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_float_list(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeFloatListEmpty | |||
| ) |
Definition at line 594 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 438 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int32_list(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt32ListEmpty | |||
| ) |
Definition at line 432 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 490 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_int64_list(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeInt64ListEmpty | |||
| ) |
Definition at line 484 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 652 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_list(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeListNested | |||
| ) |
Definition at line 673 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(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeListTypes | |||
| ) |
Definition at line 658 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 793 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_map(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeMapKeyTypes | |||
| ) |
Definition at line 799 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 837 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(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeMapValueTypes | |||
| ) |
Definition at line 818 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 57 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 337 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 343 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_string_sized(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeUint8List | |||
| ) |
Definition at line 387 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_uint8_list(), and value.
| TEST | ( | FlStandardMessageCodecTest | , |
| EncodeUint8ListEmpty | |||
| ) |
Definition at line 381 of file fl_standard_message_codec_test.cc.
References encode_message(), fl_value_new_uint8_list(), and value.