Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::MockWindowsProcTable Class Reference

Mock for the |WindowsProcTable| base class. More...

#include <mock_windows_proc_table.h>

Inheritance diagram for flutter::testing::MockWindowsProcTable:
flutter::WindowsProcTable

Public Member Functions

 MockWindowsProcTable ()=default
 
virtual ~MockWindowsProcTable ()=default
 
 MOCK_METHOD (BOOL, GetPointerType,(UINT32 pointer_id, POINTER_INPUT_TYPE *pointer_type),(const, override))
 
 MOCK_METHOD (LRESULT, GetThreadPreferredUILanguages,(DWORD, PULONG, PZZWSTR, PULONG),(const, override))
 
 MOCK_METHOD (bool, GetHighContrastEnabled,(),(const, override))
 
 MOCK_METHOD (bool, DwmIsCompositionEnabled,(),(const, override))
 
 MOCK_METHOD (HRESULT, DwmFlush,(),(const, override))
 
- Public Member Functions inherited from flutter::WindowsProcTable
 WindowsProcTable ()
 
virtual ~WindowsProcTable ()
 
virtual BOOL GetPointerType (UINT32 pointer_id, POINTER_INPUT_TYPE *pointer_type) const
 
virtual LRESULT GetThreadPreferredUILanguages (DWORD flags, PULONG count, PZZWSTR languages, PULONG length) const
 
virtual bool GetHighContrastEnabled () const
 
virtual bool DwmIsCompositionEnabled () const
 
virtual HRESULT DwmFlush () const
 

Detailed Description

Mock for the |WindowsProcTable| base class.

Definition at line 16 of file mock_windows_proc_table.h.

Constructor & Destructor Documentation

◆ MockWindowsProcTable()

flutter::testing::MockWindowsProcTable::MockWindowsProcTable ( )
default

◆ ~MockWindowsProcTable()

virtual flutter::testing::MockWindowsProcTable::~MockWindowsProcTable ( )
virtualdefault

Member Function Documentation

◆ MOCK_METHOD() [1/5]

flutter::testing::MockWindowsProcTable::MOCK_METHOD ( bool  ,
DwmIsCompositionEnabled  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [2/5]

flutter::testing::MockWindowsProcTable::MOCK_METHOD ( bool  ,
GetHighContrastEnabled  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [3/5]

flutter::testing::MockWindowsProcTable::MOCK_METHOD ( BOOL  ,
GetPointerType  ,
(UINT32 pointer_id, POINTER_INPUT_TYPE *pointer_type)  ,
(const, override)   
)

◆ MOCK_METHOD() [4/5]

flutter::testing::MockWindowsProcTable::MOCK_METHOD ( HRESULT  ,
DwmFlush  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [5/5]

flutter::testing::MockWindowsProcTable::MOCK_METHOD ( LRESULT  ,
GetThreadPreferredUILanguages  ,
(DWORD, PULONG, PZZWSTR, PULONG)  ,
(const, override)   
)

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