Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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
22 GoldenTestManager* manager =
23 [[GoldenTestManager alloc] initWithLaunchArg:@"--spawn-engine-works"];
24 [manager checkGoldenForTest:self rmesThreshold:kDefaultRmseThreshold];
25}
26
27@end