Revert "Migrate Flutter gallery test to null safety (#69048)" (#70023)

This reverts commit 7ba775a994.
This commit is contained in:
Michael Thomsen
2020-11-07 12:15:22 +01:00
committed by GitHub
parent f9b69bb5aa
commit e4d94f7ccd
106 changed files with 1624 additions and 1584 deletions

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
// @dart = 2.9
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
// @dart = 2.9
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;

View File

@@ -47,7 +47,7 @@ class _MessageHandler {
}
void main() {
enableFlutterDriverExtension(handler: _MessageHandler().call);
enableFlutterDriverExtension(handler: _MessageHandler());
// As in lib/main.dart: overriding https://github.com/flutter/flutter/issues/13736
// for better visual effect at the cost of performance.
runApp(const GalleryApp(testMode: true));

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
// @dart = 2.9
import 'package:integration_test/integration_test_driver.dart' as driver;
Future<void> main() => driver.integrationDriver(

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
// @dart = 2.9
import 'transitions_perf_test.dart' as transitions_perf_test;
void main([List<String> args = const <String>[]]) => transitions_perf_test.main(

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
// @dart = 2.9
import 'dart:convert' show JsonEncoder, json;
import 'package:file/file.dart';