mirror of
https://github.com/flutter/flutter
synced 2024-08-25 11:07:06 +00:00
![Jonah Williams](/assets/img/avatar_default.png)
This is the next step in archiving flutter/gallery - move devicelab tests to use the local copy.
20 lines
660 B
Dart
20 lines
660 B
Dart
// 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/new_gallery.dart';
|
|
|
|
Future<void> main() async {
|
|
deviceOperatingSystem = DeviceOperatingSystem.android;
|
|
|
|
await task(
|
|
NewGalleryPerfTest(
|
|
// time out after 20 minutes allowing the tool to take a screenshot to debug
|
|
// https://github.com/flutter/flutter/issues/114025.
|
|
timeoutSeconds: 20 * 60,
|
|
).run,
|
|
);
|
|
}
|