mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

It's easier to run the android_views integration test this way, without needing to worry if we have a local clone of the goldens repo or not.
20 lines
577 B
Dart
20 lines
577 B
Dart
// Copyright 2018 The Chromium 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';
|
|
|
|
import 'package:flutter_driver/flutter_driver.dart';
|
|
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
|
|
|
|
Future<void> main() async {
|
|
test('MotionEvents recomposition', () async {
|
|
final FlutterDriver driver = await FlutterDriver.connect();
|
|
final String errorMessage = await driver.requestData('run test');
|
|
|
|
expect(errorMessage, '');
|
|
driver?.close();
|
|
});
|
|
}
|
|
|