Unverified Commit f2445002 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Make all of the driver interface public. (#45733)

We keep finding things that we've accidentally not made public. The
pattern we use elsewhere in the platform is to just export everything,
to avoid encouraging people from importing `src/` files directly.
parent a78fb87d
...@@ -24,4 +24,4 @@ ...@@ -24,4 +24,4 @@
/// } /// }
library flutter_driver_extension; library flutter_driver_extension;
export 'src/extension/extension.dart' show enableFlutterDriverExtension, DataHandler; export 'src/extension/extension.dart';
...@@ -11,39 +11,22 @@ ...@@ -11,39 +11,22 @@
/// Protractor (Angular), Espresso (Android) or Earl Gray (iOS). /// Protractor (Angular), Espresso (Android) or Earl Gray (iOS).
library flutter_driver; library flutter_driver;
export 'src/common/error.dart' show export 'src/common/diagnostics_tree.dart';
DriverError, export 'src/common/enum_util.dart';
LogLevel, export 'src/common/error.dart';
LogRecord, export 'src/common/find.dart';
flutterDriverLog; export 'src/common/frame_sync.dart';
export 'src/common/find.dart' show export 'src/common/fuchsia_compat.dart';
SerializableFinder; export 'src/common/geometry.dart';
export 'src/common/health.dart' show export 'src/common/gesture.dart';
Health, export 'src/common/health.dart';
HealthStatus; export 'src/common/message.dart';
export 'src/common/message.dart' show export 'src/common/render_tree.dart';
Command, export 'src/common/request_data.dart';
Result; export 'src/common/semantics.dart';
export 'src/common/render_tree.dart' show export 'src/common/text.dart';
RenderTree; export 'src/common/wait.dart';
export 'src/common/wait.dart' show export 'src/driver/common.dart';
CombinedCondition, export 'src/driver/driver.dart';
FirstFrameRasterized, export 'src/driver/timeline.dart';
NoPendingFrame, export 'src/driver/timeline_summary.dart';
NoPendingPlatformMessages,
NoTransientCallbacks,
SerializableWaitCondition;
export 'src/driver/common.dart' show
testOutputsDirectory;
export 'src/driver/driver.dart' show
find,
CommonFinders,
EvaluatorFunction,
FlutterDriver,
TimelineStream;
export 'src/driver/timeline.dart' show
Timeline,
TimelineEvent;
export 'src/driver/timeline_summary.dart' show
TimelineSummary,
kBuildBudget;
...@@ -1248,5 +1248,5 @@ class DriverOffset { ...@@ -1248,5 +1248,5 @@ class DriverOffset {
} }
@override @override
int get hashCode => dx.hashCode + dy.hashCode; int get hashCode => dx.hashCode ^ dy.hashCode;
} }
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
import 'dart:async'; import 'dart:async';
import 'dart:core'; import 'dart:core';
import 'package:flutter_driver/flutter_driver.dart'; import 'package:flutter_driver/flutter_driver.dart' hide Logger;
import 'package:fuchsia_remote_debug_protocol/fuchsia_remote_debug_protocol.dart'; import 'package:fuchsia_remote_debug_protocol/fuchsia_remote_debug_protocol.dart';
import 'package:fuchsia_remote_debug_protocol/logging.dart'; import 'package:fuchsia_remote_debug_protocol/logging.dart';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment