Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
FLUTTER_ASSERT_ARC::MockPlatformMessageResponse Class Reference
Inheritance diagram for FLUTTER_ASSERT_ARC::MockPlatformMessageResponse:
flutter::PlatformMessageResponse fml::RefCountedThreadSafe< PlatformMessageResponse > fml::internal::RefCountedThreadSafeBase

Public Member Functions

void Complete (std::unique_ptr< fml::Mapping > data) override
 
void CompleteEmpty () override
 
- Public Member Functions inherited from flutter::PlatformMessageResponse
virtual void Complete (std::unique_ptr< fml::Mapping > data)=0
 
virtual void CompleteEmpty ()=0
 
bool is_complete () const
 
- Public Member Functions inherited from fml::RefCountedThreadSafe< PlatformMessageResponse >
void Release () const
 
- Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase
void AddRef () const
 
bool HasOneRef () const
 
void AssertHasOneRef () const
 

Static Public Member Functions

static fml::RefPtr< MockPlatformMessageResponseCreate ()
 

Additional Inherited Members

- Protected Member Functions inherited from flutter::PlatformMessageResponse
 PlatformMessageResponse ()
 
virtual ~PlatformMessageResponse ()
 
- Protected Member Functions inherited from fml::RefCountedThreadSafe< PlatformMessageResponse >
 RefCountedThreadSafe ()
 
 ~RefCountedThreadSafe ()
 
- Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase
 RefCountedThreadSafeBase ()
 
 ~RefCountedThreadSafeBase ()
 
bool Release () const
 
void Adopt ()
 
- Protected Attributes inherited from flutter::PlatformMessageResponse
bool is_complete_ = false
 

Detailed Description

Definition at line 32 of file platform_message_handler_ios_test.mm.

Member Function Documentation

◆ Complete()

void FLUTTER_ASSERT_ARC::MockPlatformMessageResponse::Complete ( std::unique_ptr< fml::Mapping data)
inlineoverridevirtual

◆ CompleteEmpty()

void FLUTTER_ASSERT_ARC::MockPlatformMessageResponse::CompleteEmpty ( )
inlineoverridevirtual

Implements flutter::PlatformMessageResponse.

Definition at line 38 of file platform_message_handler_ios_test.mm.

38{ is_complete_ = true; }

◆ Create()

static fml::RefPtr< MockPlatformMessageResponse > FLUTTER_ASSERT_ARC::MockPlatformMessageResponse::Create ( )
inlinestatic

Definition at line 34 of file platform_message_handler_ios_test.mm.

34 {
35 return fml::AdoptRef(new MockPlatformMessageResponse());
36 }
RefPtr< T > AdoptRef(T *ptr)
Definition: ref_ptr.h:222

The documentation for this class was generated from the following file: