From 2cea3c277d7c8771cd562ea6b9b2eb0296904678 Mon Sep 17 00:00:00 2001 From: Konstantin Shcheglov Date: Thu, 5 Nov 2020 10:57:11 -0800 Subject: [PATCH] Ignore several import_of_legacy_library_into_null_safe --- lib/web_ui/lib/src/engine.dart | 4 ++-- lib/web_ui/test/engine/path_metrics_test.dart | 8 ++++---- .../test/engine/surface/path/path_iterator_test.dart | 4 ++-- .../test/engine/surface/path/path_winding_test.dart | 4 ++-- lib/web_ui/test/engine/ulps_test.dart | 4 ++-- .../golden_tests/engine/color_filter_golden_test.dart | 6 +++--- lib/web_ui/test/lerp_test.dart | 4 ++-- lib/web_ui/test/path_test.dart | 6 +++--- lib/web_ui/test/text/line_breaker_test.dart | 4 ++-- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/lib/web_ui/lib/src/engine.dart b/lib/web_ui/lib/src/engine.dart index bf31b05a38bd9..53d778fb91cc6 100644 --- a/lib/web_ui/lib/src/engine.dart +++ b/lib/web_ui/lib/src/engine.dart @@ -17,8 +17,8 @@ import 'dart:js_util' as js_util; import 'dart:math' as math; import 'dart:typed_data'; -import 'package:js/js.dart'; -import 'package:meta/meta.dart'; +import 'package:js/js.dart'; // ignore: import_of_legacy_library_into_null_safe +import 'package:meta/meta.dart'; // ignore: import_of_legacy_library_into_null_safe import '../ui.dart' as ui; diff --git a/lib/web_ui/test/engine/path_metrics_test.dart b/lib/web_ui/test/engine/path_metrics_test.dart index a8938f913d99f..a7091207533ce 100644 --- a/lib/web_ui/test/engine/path_metrics_test.dart +++ b/lib/web_ui/test/engine/path_metrics_test.dart @@ -4,11 +4,11 @@ import 'dart:math' as math; -import 'package:test/bootstrap/browser.dart'; -import 'package:test/test.dart'; -import 'package:ui/ui.dart'; +import 'package:test/bootstrap/browser.dart'; // ignore: import_of_legacy_library_into_null_safe +import 'package:test/test.dart'; // ignore: import_of_legacy_library_into_null_safe +import 'package:ui/ui.dart'; // ignore: import_of_legacy_library_into_null_safe -import '../matchers.dart'; +import '../matchers.dart'; // ignore: import_of_legacy_library_into_null_safe const double kTolerance = 0.001; diff --git a/lib/web_ui/test/engine/surface/path/path_iterator_test.dart b/lib/web_ui/test/engine/surface/path/path_iterator_test.dart index 3e4c21e029930..f0c914330a848 100644 --- a/lib/web_ui/test/engine/surface/path/path_iterator_test.dart +++ b/lib/web_ui/test/engine/surface/path/path_iterator_test.dart @@ -5,8 +5,8 @@ import 'dart:typed_data'; import 'package:ui/src/engine.dart'; -import 'package:test/bootstrap/browser.dart'; -import 'package:test/test.dart'; +import 'package:test/bootstrap/browser.dart'; // ignore: import_of_legacy_library_into_null_safe +import 'package:test/test.dart'; // ignore: import_of_legacy_library_into_null_safe void main() { internalBootstrapBrowserTest(() => testMain); diff --git a/lib/web_ui/test/engine/surface/path/path_winding_test.dart b/lib/web_ui/test/engine/surface/path/path_winding_test.dart index b5bde4c075dbb..e7658e608c5cb 100644 --- a/lib/web_ui/test/engine/surface/path/path_winding_test.dart +++ b/lib/web_ui/test/engine/surface/path/path_winding_test.dart @@ -5,8 +5,8 @@ // @dart = 2.10 import 'dart:math' as math; -import 'package:test/bootstrap/browser.dart'; -import 'package:test/test.dart'; +import 'package:test/bootstrap/browser.dart'; // ignore: import_of_legacy_library_into_null_safe +import 'package:test/test.dart'; // ignore: import_of_legacy_library_into_null_safe import 'package:ui/ui.dart' hide window; import 'package:ui/src/engine.dart'; diff --git a/lib/web_ui/test/engine/ulps_test.dart b/lib/web_ui/test/engine/ulps_test.dart index d0a26c45faad7..871efcd5387d5 100644 --- a/lib/web_ui/test/engine/ulps_test.dart +++ b/lib/web_ui/test/engine/ulps_test.dart @@ -3,8 +3,8 @@ // found in the LICENSE file. import 'dart:typed_data'; -import 'package:test/bootstrap/browser.dart'; -import 'package:test/test.dart'; +import 'package:test/bootstrap/browser.dart'; // ignore: import_of_legacy_library_into_null_safe +import 'package:test/test.dart'; // ignore: import_of_legacy_library_into_null_safe import 'package:ui/src/engine.dart'; void main() { diff --git a/lib/web_ui/test/golden_tests/engine/color_filter_golden_test.dart b/lib/web_ui/test/golden_tests/engine/color_filter_golden_test.dart index c39306528429a..ac34b1f1655a7 100644 --- a/lib/web_ui/test/golden_tests/engine/color_filter_golden_test.dart +++ b/lib/web_ui/test/golden_tests/engine/color_filter_golden_test.dart @@ -6,12 +6,12 @@ import 'dart:html' as html; import 'dart:js_util' as js_util; -import 'package:test/bootstrap/browser.dart'; -import 'package:test/test.dart'; +import 'package:test/bootstrap/browser.dart'; // ignore: import_of_legacy_library_into_null_safe +import 'package:test/test.dart'; // ignore: import_of_legacy_library_into_null_safe import 'package:ui/ui.dart'; import 'package:ui/src/engine.dart'; -import 'package:web_engine_tester/golden_tester.dart'; +import 'package:web_engine_tester/golden_tester.dart'; // ignore: import_of_legacy_library_into_null_safe final Rect region = Rect.fromLTWH(0, 0, 500, 500); diff --git a/lib/web_ui/test/lerp_test.dart b/lib/web_ui/test/lerp_test.dart index 433ffbd066c01..e7a5d7ad7cb0e 100644 --- a/lib/web_ui/test/lerp_test.dart +++ b/lib/web_ui/test/lerp_test.dart @@ -3,8 +3,8 @@ // found in the LICENSE file. // @dart = 2.10 -import 'package:test/bootstrap/browser.dart'; -import 'package:test/test.dart'; +import 'package:test/bootstrap/browser.dart'; // ignore: import_of_legacy_library_into_null_safe +import 'package:test/test.dart'; // ignore: import_of_legacy_library_into_null_safe import 'package:ui/ui.dart'; diff --git a/lib/web_ui/test/path_test.dart b/lib/web_ui/test/path_test.dart index b466f87856bfa..6e317f3b88b5a 100644 --- a/lib/web_ui/test/path_test.dart +++ b/lib/web_ui/test/path_test.dart @@ -7,12 +7,12 @@ import 'dart:js_util' as js_util; import 'dart:html' as html; import 'dart:typed_data'; -import 'package:test/bootstrap/browser.dart'; -import 'package:test/test.dart'; +import 'package:test/bootstrap/browser.dart'; // ignore: import_of_legacy_library_into_null_safe +import 'package:test/test.dart'; // ignore: import_of_legacy_library_into_null_safe import 'package:ui/ui.dart' hide window; import 'package:ui/src/engine.dart'; -import 'matchers.dart'; +import 'matchers.dart'; // ignore: import_of_legacy_library_into_null_safe void main() { internalBootstrapBrowserTest(() => testMain); diff --git a/lib/web_ui/test/text/line_breaker_test.dart b/lib/web_ui/test/text/line_breaker_test.dart index 8dd5f65bb113f..3d33d1a9854ce 100644 --- a/lib/web_ui/test/text/line_breaker_test.dart +++ b/lib/web_ui/test/text/line_breaker_test.dart @@ -3,8 +3,8 @@ // found in the LICENSE file. // @dart = 2.10 -import 'package:test/bootstrap/browser.dart'; -import 'package:test/test.dart'; +import 'package:test/bootstrap/browser.dart'; // ignore: import_of_legacy_library_into_null_safe +import 'package:test/test.dart'; // ignore: import_of_legacy_library_into_null_safe import 'package:ui/src/engine.dart'; import 'package:ui/ui.dart';