Flutter Engine
The Flutter Engine
SpawnEngineTest.m
Go to the documentation of this file.
1// Copyright 2020 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
6
7@interface SpawnEngineTest : XCTestCase
8@end
9
10@implementation SpawnEngineTest
11
13 self.continueAfterFailure = NO;
14
15 XCUIApplication* application = [[XCUIApplication alloc] init];
16 application.launchArguments = @[ @"--spawn-engine-works" ];
17 [application launch];
18
19 XCUIElement* addTextField = application.textFields[@"ready"];
20 XCTAssertTrue([addTextField waitForExistenceWithTimeout:30]);
21
23 [[GoldenTestManager alloc] initWithLaunchArg:@"--spawn-engine-works"];
24 [manager checkGoldenForTest:self rmesThreshold:kDefaultRmseThreshold];
25}
26
27@end
void checkGoldenForTest:rmesThreshold:(XCTestCase *test,[rmesThreshold] double rmesThreshold)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font manager
Definition: switches.h:218