#include "flutter/shell/platform/linux/public/flutter_linux/fl_view.h"
#include "flutter/shell/platform/embedder/test_utils/proc_table_replacement.h"
#include "flutter/shell/platform/linux/fl_engine_private.h"
#include "flutter/shell/platform/linux/fl_view_private.h"
#include "flutter/shell/platform/linux/testing/fl_test.h"
#include "flutter/shell/platform/linux/testing/fl_test_gtk_logs.h"
#include "gtest/gtest.h"
Go to the source code of this file.
Functions | |
static void | first_frame_cb (FlView *view, gboolean *first_frame_emitted) |
TEST (FlViewTest, GetEngine) | |
TEST (FlViewTest, StateUpdateDoesNotHappenInInit) | |
TEST (FlViewTest, FirstFrameSignal) | |
TEST (FlViewTest, SecondaryView) | |
TEST (FlViewTest, SecondaryViewError) | |
TEST (FlViewTest, ViewDestroy) | |
TEST (FlViewTest, ViewDestroyError) | |
|
static |
Definition at line 14 of file fl_view_test.cc.
References TRUE.
Referenced by fl_application_activate(), and TEST().
TEST | ( | FlViewTest | , |
FirstFrameSignal | |||
) |
Definition at line 42 of file fl_view_test.cc.
References first_frame_cb(), fl_dart_project_new(), fl_view_new(), fl_view_redraw(), and view.
TEST | ( | FlViewTest | , |
GetEngine | |||
) |
Definition at line 18 of file fl_view_test.cc.
References fl_dart_project_new(), fl_view_get_engine(), fl_view_new(), and view.
TEST | ( | FlViewTest | , |
SecondaryView | |||
) |
Definition at line 65 of file fl_view_test.cc.
References fl_dart_project_new(), fl_engine_get_embedder_api(), fl_view_get_engine(), fl_view_get_id(), fl_view_new(), fl_view_new_for_engine(), result, and user_data.
TEST | ( | FlViewTest | , |
SecondaryViewError | |||
) |
Definition at line 91 of file fl_view_test.cc.
References fl_dart_project_new(), fl_engine_get_embedder_api(), fl_view_get_engine(), fl_view_get_id(), fl_view_new(), and fl_view_new_for_engine().
TEST | ( | FlViewTest | , |
StateUpdateDoesNotHappenInInit | |||
) |
Definition at line 29 of file fl_view_test.cc.
References fl_dart_project_new(), fl_view_new(), and view.
TEST | ( | FlViewTest | , |
ViewDestroy | |||
) |
Definition at line 112 of file fl_view_test.cc.
References fl_dart_project_new(), fl_engine_get_embedder_api(), fl_view_get_engine(), fl_view_get_id(), fl_view_new(), and fl_view_new_for_engine().
TEST | ( | FlViewTest | , |
ViewDestroyError | |||
) |
Definition at line 145 of file fl_view_test.cc.
References fl_dart_project_new(), fl_engine_get_embedder_api(), fl_view_get_engine(), fl_view_new(), and fl_view_new_for_engine().