Flutter Engine
 
Loading...
Searching...
No Matches
flutter::testing::ScopedStubFlutterGlfwApi Class Reference

#include <stub_flutter_glfw_api.h>

Public Member Functions

 ScopedStubFlutterGlfwApi (std::unique_ptr< StubFlutterGlfwApi > stub)
 
 ~ScopedStubFlutterGlfwApi ()
 
StubFlutterGlfwApistub ()
 

Detailed Description

Definition at line 98 of file stub_flutter_glfw_api.h.

Constructor & Destructor Documentation

◆ ScopedStubFlutterGlfwApi()

flutter::testing::ScopedStubFlutterGlfwApi::ScopedStubFlutterGlfwApi ( std::unique_ptr< StubFlutterGlfwApi stub)
explicit

◆ ~ScopedStubFlutterGlfwApi()

flutter::testing::ScopedStubFlutterGlfwApi::~ScopedStubFlutterGlfwApi ( )

Definition at line 29 of file stub_flutter_glfw_api.cc.

29 {
30 StubFlutterGlfwApi::SetTestStub(previous_stub_);
31}

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

Member Function Documentation

◆ stub()

StubFlutterGlfwApi * flutter::testing::ScopedStubFlutterGlfwApi::stub ( )
inline

Definition at line 106 of file stub_flutter_glfw_api.h.

106{ return stub_.get(); }

Referenced by flutter::TEST(), flutter::TEST(), flutter::TEST(), flutter::TEST(), and flutter::TEST().


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