Flutter Engine
flutter::testing::ScopedStubFlutterWindowsApi Class Reference

#include <stub_flutter_windows_api.h>

Public Member Functions

 ScopedStubFlutterWindowsApi (std::unique_ptr< StubFlutterWindowsApi > stub)
 
 ~ScopedStubFlutterWindowsApi ()
 
StubFlutterWindowsApistub ()
 

Detailed Description

Definition at line 84 of file stub_flutter_windows_api.h.

Constructor & Destructor Documentation

◆ ScopedStubFlutterWindowsApi()

flutter::testing::ScopedStubFlutterWindowsApi::ScopedStubFlutterWindowsApi ( std::unique_ptr< StubFlutterWindowsApi stub)

◆ ~ScopedStubFlutterWindowsApi()

flutter::testing::ScopedStubFlutterWindowsApi::~ScopedStubFlutterWindowsApi ( )

Definition at line 29 of file stub_flutter_windows_api.cc.

References flutter::testing::StubFlutterWindowsApi::SetTestStub().

29  {
30  StubFlutterWindowsApi::SetTestStub(previous_stub_);
31 }
static void SetTestStub(StubFlutterWindowsApi *stub)

Member Function Documentation

◆ stub()

StubFlutterWindowsApi* flutter::testing::ScopedStubFlutterWindowsApi::stub ( )
inline

Definition at line 92 of file stub_flutter_windows_api.h.

Referenced by flutter::TEST().

92 { return stub_.get(); }

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