Add a startup test that delays runApp (#91346)

This commit is contained in:
Dan Field
2021-10-06 09:43:02 -07:00
committed by GitHub
parent 1c374c6598
commit 22c1ca769b
5 changed files with 66 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/tasks/perf_tests.dart';
Future<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.android;
await task(createFlutterGalleryStartupTest(target: 'lib/delayed_main.dart'));
}