Flutter Engine
flutter::testing::SurfaceMock Class Reference
Inheritance diagram for flutter::testing::SurfaceMock:
flutter::Surface

Public Member Functions

 MOCK_METHOD (bool, IsValid,(),(override))
 
 MOCK_METHOD (std::unique_ptr< SurfaceFrame >, AcquireFrame,(const SkISize &size),(override))
 
 MOCK_METHOD (SkMatrix, GetRootTransformation,(),(const, override))
 
 MOCK_METHOD (GrDirectContext *, GetContext,(),(override))
 
 MOCK_METHOD (flutter::ExternalViewEmbedder *, GetExternalViewEmbedder,(),(override))
 
 MOCK_METHOD (std::unique_ptr< GLContextResult >, MakeRenderContextCurrent,(),(override))
 
- Public Member Functions inherited from flutter::Surface
 Surface ()
 
virtual ~Surface ()
 
virtual bool IsValid ()=0
 
virtual std::unique_ptr< SurfaceFrameAcquireFrame (const SkISize &size)=0
 
virtual SkMatrix GetRootTransformation () const =0
 
virtual GrDirectContext * GetContext ()=0
 
virtual flutter::ExternalViewEmbedderGetExternalViewEmbedder ()
 
virtual std::unique_ptr< GLContextResultMakeRenderContextCurrent ()
 
virtual bool ClearRenderContext ()
 

Detailed Description

Definition at line 42 of file external_view_embedder_unittests.cc.

Member Function Documentation

◆ MOCK_METHOD() [1/6]

flutter::testing::SurfaceMock::MOCK_METHOD ( bool  ,
IsValid  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [2/6]

flutter::testing::SurfaceMock::MOCK_METHOD ( std::unique_ptr< SurfaceFrame ,
AcquireFrame  ,
(const SkISize &size)  ,
(override)   
)

◆ MOCK_METHOD() [3/6]

flutter::testing::SurfaceMock::MOCK_METHOD ( SkMatrix  ,
GetRootTransformation  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [4/6]

flutter::testing::SurfaceMock::MOCK_METHOD ( GrDirectContext *  ,
GetContext  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [5/6]

flutter::testing::SurfaceMock::MOCK_METHOD ( flutter::ExternalViewEmbedder ,
GetExternalViewEmbedder  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [6/6]

flutter::testing::SurfaceMock::MOCK_METHOD ( std::unique_ptr< GLContextResult ,
MakeRenderContextCurrent  ,
()  ,
(override)   
)

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