measure_scroll_smoothness_test.dart 486 Bytes
Newer Older
Yuqian Li's avatar
Yuqian Li committed
1 2 3 4 5 6
// 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 'dart:async';

7
import 'package:integration_test/integration_test_driver.dart' as driver;
Yuqian Li's avatar
Yuqian Li committed
8

9
Future<void> main() => driver.integrationDriver(
10
  responseDataCallback: (Map<String, dynamic>? data) async {
Yuqian Li's avatar
Yuqian Li committed
11 12 13 14 15 16
    await driver.writeResponseData(
      data,
      testOutputFilename: 'scroll_smoothness_test',
    );
  }
);