Flutter Engine
platform_view_unittest.cc File Reference
#include "gfx_platform_view.h"
#include <fuchsia/ui/gfx/cpp/fidl.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/scenic/cpp/fidl.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/ui/scenic/cpp/view_ref_pair.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/gfx_platform_view.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "platform/assert.h"
#include "surface.h"
#include "task_runner_adapter.h"
#include "tests/fakes/focuser.h"
#include "tests/fakes/platform_message.h"
#include "tests/fakes/touch_source.h"
#include "tests/fakes/view_ref_focused.h"
#include "tests/pointer_event_utility.h"

Go to the source code of this file.

Classes

class  flutter_runner::testing::PlatformViewTests
 

Namespaces

 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, ViewEventsTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, GetFocusStatesTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, RequestFocusTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, RequestFocusFailTest)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, OnKeyEvent)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, OnShaderWarmup)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, TouchSourceLogicalToPhysicalConversion)
 
 flutter_runner::testing::TEST_F (PlatformViewTests, DownPointerNumericNudge)
 

Variable Documentation

◆ keyboard_

fidl::InterfaceHandle<fuchsia::ui::input3::Keyboard> keyboard_

Definition at line 211 of file platform_view_unittest.cc.

◆ listener_

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

Definition at line 212 of file platform_view_unittest.cc.

◆ result_string

std::string result_string

Definition at line 186 of file platform_view_unittest.cc.

◆ view_ref_

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

Definition at line 213 of file platform_view_unittest.cc.