5#import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h"
6#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterDartProject_Internal.h"
7#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterEngine_Internal.h"
8#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.h"
9#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h"
10#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterViewController_Internal.h"
12#import "flutter/testing/testing.h"
21 initWithAssetsPath:fixtures
22 ICUDataPath:[fixtures stringByAppendingString:
@"/icudtl.dat"]];
23 return [[
FlutterEngine alloc] initWithName:
@"test" project:project allowHeadlessExecution:
true];
27TEST(FlutterTextInputSemanticsObjectTest, DoesInitialize) {
35 NSWindow*
window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, 800, 600)
36 styleMask:NSBorderlessWindowMask
37 backing:NSBackingStoreBuffered
56 EXPECT_EQ([subviews
count], 2u);
67 [[NSRunLoop currentRunLoop] runUntilDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
The ax platform node for a text field.
gfx::NativeViewAccessible GetNativeViewAccessible() override
void SetData(const AXNodeData &src)
std::weak_ptr< flutter::AccessibilityBridgeMac > accessibilityBridge()
FlutterViewController * viewController
const char * GetFixturesPath()
Returns the directory containing the test fixture for the target if this target has fixtures configur...
TEST(DisplayListComplexity, EmptyDisplayList)
void SetValue(const std::string &value)
#define EXPECT_TRUE(handle)