flutter/dev/integration_tests/android_views/test_driver/main_test.dart
Amir Hardon 1d5833d99f
Depend on the goldens repo through git. (#25479)
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.
2018-12-21 10:38:39 -08:00

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();
});
}