Flutter Engine
The Flutter Engine
|
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterCodecs.h"
#include <CoreFoundation/CoreFoundation.h>
#include "gtest/gtest.h"
Go to the source code of this file.
Classes | |
struct | Pair |
class | ExtendedWriter |
class | ExtendedReader |
class | ExtendedReaderWriter |
Functions | |
static void | CheckEncodeDecode (id value, NSData *expectedEncoding) |
static void | CheckEncodeDecode (id value) |
TEST (FlutterStandardCodec, CanDecodeZeroLength) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeNil) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeNSNull) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeYes) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeNo) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeUInt8) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeUInt16) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeUInt32) | |
TEST (FlutterStandardCodec, CanEncodeUInt64) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeSInt8) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeSInt16) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeSInt32) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeSInt64) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeFloat32) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeFloat64) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeString) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeStringWithNonAsciiCodePoint) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeStringWithNonBMPCodePoint) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeIndirectString) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeArray) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeDictionary) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeByteArray) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeNSData) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeInt32Array) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeInt64Array) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeFloat32Array) | |
TEST (FlutterStandardCodec, CanEncodeAndDecodeFloat64Array) | |
TEST (FlutterStandardCodec, HandlesMethodCallsWithNilArguments) | |
TEST (FlutterStandardCodec, HandlesMethodCallsWithSingleArgument) | |
TEST (FlutterStandardCodec, HandlesMethodCallsWithArgumentList) | |
TEST (FlutterStandardCodec, HandlesSuccessEnvelopesWithNilResult) | |
TEST (FlutterStandardCodec, HandlesSuccessEnvelopesWithSingleResult) | |
TEST (FlutterStandardCodec, HandlesSuccessEnvelopesWithResultMap) | |
TEST (FlutterStandardCodec, HandlesErrorEnvelopes) | |
TEST (FlutterStandardCodec, HandlesSubclasses) | |
Variables | |
static const UInt8 | kDATE = 128 |
static const UInt8 | kPAIR = 129 |
|
static |
Definition at line 108 of file flutter_standard_codec_unittest.mm.
|
static |
Definition at line 92 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanDecodeZeroLength | |||
) |
Definition at line 119 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeArray | |||
) |
Definition at line 233 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeByteArray | |||
) |
Definition at line 247 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeDictionary | |||
) |
Definition at line 238 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeFloat32 | |||
) |
Definition at line 192 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeFloat32Array | |||
) |
Definition at line 278 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeFloat64 | |||
) |
Definition at line 198 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeFloat64Array | |||
) |
Definition at line 285 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeIndirectString | |||
) |
Definition at line 220 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeInt32Array | |||
) |
Definition at line 264 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeInt64Array | |||
) |
Definition at line 271 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeNil | |||
) |
Definition at line 125 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeNo | |||
) |
Definition at line 139 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeNSData | |||
) |
Definition at line 254 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeNSNull | |||
) |
Definition at line 129 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeSInt16 | |||
) |
Definition at line 176 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeSInt32 | |||
) |
Definition at line 182 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeSInt64 | |||
) |
Definition at line 187 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeSInt8 | |||
) |
Definition at line 170 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeString | |||
) |
Definition at line 204 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeStringWithNonAsciiCodePoint | |||
) |
Definition at line 210 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeStringWithNonBMPCodePoint | |||
) |
Definition at line 215 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeUInt16 | |||
) |
Definition at line 150 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeUInt32 | |||
) |
Definition at line 156 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeUInt8 | |||
) |
Definition at line 144 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeAndDecodeYes | |||
) |
Definition at line 134 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
CanEncodeUInt64 | |||
) |
Definition at line 162 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
HandlesErrorEnvelopes | |||
) |
Definition at line 341 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
HandlesMethodCallsWithArgumentList | |||
) |
Definition at line 309 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
HandlesMethodCallsWithNilArguments | |||
) |
Definition at line 293 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
HandlesMethodCallsWithSingleArgument | |||
) |
Definition at line 301 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
HandlesSubclasses | |||
) |
Definition at line 352 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
HandlesSuccessEnvelopesWithNilResult | |||
) |
Definition at line 319 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
HandlesSuccessEnvelopesWithResultMap | |||
) |
Definition at line 333 of file flutter_standard_codec_unittest.mm.
TEST | ( | FlutterStandardCodec | , |
HandlesSuccessEnvelopesWithSingleResult | |||
) |
Definition at line 326 of file flutter_standard_codec_unittest.mm.
|
static |
Definition at line 30 of file flutter_standard_codec_unittest.mm.
|
static |
Definition at line 31 of file flutter_standard_codec_unittest.mm.