Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
mock_gtk.h File Reference
#include "gmock/gmock.h"
#include <atk/atk.h>
#include <gtk/gtk.h>

Go to the source code of this file.

Classes

class  flutter::testing::MockGtk
 

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Functions

void fl_gtk_widget_destroy (GtkWidget *widget)
 

Function Documentation

◆ fl_gtk_widget_destroy()

void fl_gtk_widget_destroy ( GtkWidget *  widget)

Definition at line 270 of file mock_gtk.cc.

270 {
271 check_thread();
272 void (*destroy)(GtkWidget*) = reinterpret_cast<void (*)(GtkWidget*)>(
273 dlsym(RTLD_NEXT, "gtk_widget_destroy"));
274 destroy(widget);
275}
static void check_thread()
Definition mock_gtk.cc:47
int_closure destroy

References check_thread(), and destroy.

Referenced by TEST(), and TEST().