Fix implementation imports outside of lib (flutter/engine#50727)
Work towards https://github.com/dart-lang/linter/issues/4859 There are libraries outside a `lib/` directory, which violate `implementation_imports`.
This commit is contained in:
committed by
GitHub
parent
9176419d68
commit
da30adfc6f
@@ -6,7 +6,7 @@ import 'dart:async';
|
||||
import 'dart:math' as math;
|
||||
|
||||
import 'package:image/image.dart';
|
||||
import 'package:test_api/src/backend/runtime.dart';
|
||||
import 'package:test_api/backend.dart';
|
||||
|
||||
/// Provides the environment for a specific web browser.
|
||||
abstract class BrowserEnvironment {
|
||||
|
||||
@@ -6,7 +6,7 @@ import 'dart:async';
|
||||
|
||||
import 'package:args/command_runner.dart';
|
||||
import 'package:path/path.dart' as path;
|
||||
import 'package:watcher/src/watch_event.dart';
|
||||
import 'package:watcher/watcher.dart';
|
||||
|
||||
import 'environment.dart';
|
||||
import 'exceptions.dart';
|
||||
|
||||
@@ -9,7 +9,7 @@ import 'dart:math' as math;
|
||||
|
||||
import 'package:image/image.dart';
|
||||
import 'package:path/path.dart' as path;
|
||||
import 'package:test_api/src/backend/runtime.dart';
|
||||
import 'package:test_api/backend.dart';
|
||||
import 'package:webkit_inspection_protocol/webkit_inspection_protocol.dart'
|
||||
as wip;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:test_api/src/backend/runtime.dart';
|
||||
import 'package:test_api/backend.dart';
|
||||
|
||||
import 'browser.dart';
|
||||
import 'browser_process.dart';
|
||||
|
||||
@@ -6,8 +6,9 @@ import 'dart:async';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:path/path.dart' as path;
|
||||
import 'package:test_api/src/backend/runtime.dart';
|
||||
import 'package:test_core/src/util/io.dart';
|
||||
import 'package:test_api/backend.dart';
|
||||
// TODO(ditman): Fix ignore when https://github.com/flutter/flutter/issues/143599 is resolved.
|
||||
import 'package:test_core/src/util/io.dart'; // ignore: implementation_imports
|
||||
|
||||
import 'browser.dart';
|
||||
import 'browser_process.dart';
|
||||
|
||||
@@ -6,7 +6,7 @@ import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:test_api/src/backend/runtime.dart';
|
||||
import 'package:test_api/backend.dart';
|
||||
|
||||
import 'webdriver_browser.dart';
|
||||
|
||||
|
||||
@@ -9,9 +9,10 @@ import 'package:path/path.dart' as pathlib;
|
||||
// TODO(yjbanov): remove hacks when this is fixed:
|
||||
// https://github.com/dart-lang/test/issues/1521
|
||||
import 'package:skia_gold_client/skia_gold_client.dart';
|
||||
import 'package:test_api/src/backend/runtime.dart' as hack;
|
||||
import 'package:test_core/src/executable.dart' as test;
|
||||
import 'package:test_core/src/runner/hack_register_platform.dart' as hack;
|
||||
import 'package:test_api/backend.dart' as hack;
|
||||
// TODO(ditman): Fix ignores when https://github.com/flutter/flutter/issues/143599 is resolved.
|
||||
import 'package:test_core/src/executable.dart' as test; // ignore: implementation_imports
|
||||
import 'package:test_core/src/runner/hack_register_platform.dart' as hack; // ignore: implementation_imports
|
||||
|
||||
import '../browser.dart';
|
||||
import '../common.dart';
|
||||
|
||||
@@ -22,16 +22,14 @@ import 'package:shelf_web_socket/shelf_web_socket.dart';
|
||||
import 'package:skia_gold_client/skia_gold_client.dart';
|
||||
import 'package:stream_channel/stream_channel.dart';
|
||||
|
||||
import 'package:test_api/src/backend/runtime.dart';
|
||||
import 'package:test_api/src/backend/suite_platform.dart';
|
||||
import 'package:test_core/src/runner/configuration.dart';
|
||||
import 'package:test_core/src/runner/environment.dart';
|
||||
import 'package:test_core/src/runner/platform.dart';
|
||||
import 'package:test_core/src/runner/plugin/platform_helpers.dart';
|
||||
import 'package:test_core/src/runner/runner_suite.dart';
|
||||
import 'package:test_core/src/runner/suite.dart';
|
||||
import 'package:test_core/src/util/io.dart';
|
||||
import 'package:test_core/src/util/stack_trace_mapper.dart';
|
||||
import 'package:test_core/backend.dart' hide Compiler;
|
||||
// TODO(ditman): Fix ignores when https://github.com/flutter/flutter/issues/143599 is resolved.
|
||||
import 'package:test_core/src/runner/environment.dart'; // ignore: implementation_imports
|
||||
import 'package:test_core/src/runner/platform.dart'; // ignore: implementation_imports
|
||||
import 'package:test_core/src/runner/plugin/platform_helpers.dart'; // ignore: implementation_imports
|
||||
import 'package:test_core/src/runner/runner_suite.dart'; // ignore: implementation_imports
|
||||
import 'package:test_core/src/util/io.dart'; // ignore: implementation_imports
|
||||
import 'package:test_core/src/util/stack_trace_mapper.dart'; // ignore: implementation_imports
|
||||
|
||||
import 'package:web_socket_channel/web_socket_channel.dart';
|
||||
import 'package:web_test_utils/image_compare.dart';
|
||||
|
||||
Reference in New Issue
Block a user