migrate macrobenchmark/multi_widget_construction test to e2e (#62539)

This commit is contained in:
Ming Lyu (CareF)
2020-08-04 21:56:03 -04:00
committed by GitHub
parent f64bc77a2d
commit 1d329d2cc9
5 changed files with 48 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
// 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:macrobenchmarks/common.dart';
import 'util.dart';
void main() {
macroPerfTestE2E(
'multi_widget_construction_perf',
kMultiWidgetConstructionRouteName,
pageDelay: const Duration(seconds: 1),
duration: const Duration(seconds: 10),
timeout: const Duration(seconds: 45),
);
}