Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
platform_view_unittest.cc File Reference
#include <fuchsia/ui/composition/cpp/fidl.h>
#include <fuchsia/ui/composition/cpp/fidl_test_base.h>
#include <fuchsia/ui/input/cpp/fidl.h>
#include <fuchsia/ui/input3/cpp/fidl.h>
#include <fuchsia/ui/input3/cpp/fidl_test_base.h>
#include <fuchsia/ui/views/cpp/fidl.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <lib/async/default.h>
#include <lib/fidl/cpp/binding_set.h>
#include <lib/zx/eventpair.h>
#include <memory>
#include <ostream>
#include <string>
#include <vector>
#include "flutter/flow/embedded_views.h"
#include "flutter/lib/ui/window/platform_message.h"
#include "flutter/lib/ui/window/pointer_data.h"
#include "flutter/lib/ui/window/viewport_metrics.h"
#include "flutter/shell/common/context_options.h"
#include "flutter/shell/platform/fuchsia/flutter/platform_view.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "fakes/focuser.h"
#include "fakes/platform_message.h"
#include "fakes/touch_source.h"
#include "fakes/view_ref_focused.h"
#include "flutter/shell/platform/fuchsia/flutter/surface.h"
#include "flutter/shell/platform/fuchsia/flutter/task_runner_adapter.h"
#include "platform/assert.h"
#include "pointer_event_utility.h"

Go to the source code of this file.

Classes

class  flutter_runner::testing::PlatformViewTests
 

Namespaces

namespace  flutter_runner
 
namespace  flutter_runner::testing
 

Functions

 flutter_runner::testing::TEST_F (PlatformViewTests, InvalidPlatformMessageRequest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, CreateSurfaceTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, SetViewportMetrics)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, ChangesAccessibilitySettings)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, EnableWireframeTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, CreateViewTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, UpdateViewTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, DestroyViewTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, GetFocusStatesTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, RequestFocusTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, RequestFocusNeverCreatedTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, RequestFocusDisposedTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, OnKeyEvent)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, OnShaderWarmup)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, TouchSourceLogicalToPhysicalConversion)
 

Variable Documentation

◆ binding_

fidl::Binding<fuchsia::ui::composition::ParentViewportWatcher> binding_

Definition at line 271 of file platform_view_unittest.cc.

◆ control_ref_

fuchsia::ui::views::ViewRefControl control_ref_

Definition at line 272 of file platform_view_unittest.cc.

◆ get_status_returned_

bool get_status_returned_ = false

Definition at line 273 of file platform_view_unittest.cc.

◆ handle_

fuchsia::ui::composition::ParentViewportWatcherHandle handle_

Definition at line 330 of file platform_view_unittest.cc.

◆ keyboard_

fuchsia::ui::input3::KeyboardHandle keyboard_

Definition at line 226 of file platform_view_unittest.cc.

◆ layout_

fuchsia::ui::composition::LayoutInfo layout_

Definition at line 333 of file platform_view_unittest.cc.

◆ layout_changed_

bool layout_changed_ = false

Definition at line 334 of file platform_view_unittest.cc.

◆ listener_

fuchsia::ui::input3::KeyboardListenerPtr listener_ {}

Definition at line 227 of file platform_view_unittest.cc.

◆ pending_callback_valid_

bool pending_callback_valid_ = false

Definition at line 336 of file platform_view_unittest.cc.

◆ pending_layout_callback_

GetLayoutCallback pending_layout_callback_

Definition at line 335 of file platform_view_unittest.cc.

◆ result_string

std::string result_string

Definition at line 202 of file platform_view_unittest.cc.

◆ view_ref_

fuchsia::ui::views::ViewRef view_ref_ {}

Definition at line 228 of file platform_view_unittest.cc.