Flutter Engine
 
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 269 of file mock_gtk.cc.

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

References check_thread(), and destroy.

Referenced by TEST(), and TEST().