flutter/dev/benchmarks/macrobenchmarks/test_driver/e2e_test.dart
2020-09-16 14:14:06 -07:00

16 lines
501 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:e2e/e2e_driver.dart' as driver;
Future<void> main() => driver.e2eDriver(
timeout: const Duration(minutes: 5),
responseDataCallback: (Map<String, dynamic> data) async {
await driver.writeResponseData(
data['performance'] as Map<String, dynamic>,
testOutputFilename: 'e2e_perf_summary',
);
}
);