Add punctuation for unterminated sentences in doc comments (#62755)
* Add punctuation for unterminated sentences in doc comments * Addressing review nit
This commit is contained in:
@@ -449,7 +449,7 @@ class GetSemanticsIdResult extends Result {
|
||||
/// Creates a new [GetSemanticsId] result.
|
||||
const GetSemanticsIdResult(this.id);
|
||||
|
||||
/// The semantics id of the node;
|
||||
/// The semantics id of the node.
|
||||
final int id;
|
||||
|
||||
/// Deserializes this result from JSON.
|
||||
|
||||
@@ -59,7 +59,7 @@ class Scroll extends CommandWithTarget {
|
||||
/// Delta Y offset per move event.
|
||||
final double dy;
|
||||
|
||||
/// The duration of the scrolling action
|
||||
/// The duration of the scrolling action.
|
||||
final Duration duration;
|
||||
|
||||
/// The frequency in Hz of the generated move events.
|
||||
|
||||
@@ -160,10 +160,10 @@ abstract class FlutterDriver {
|
||||
);
|
||||
}
|
||||
|
||||
/// Getter of appIsolate
|
||||
/// Getter of appIsolate.
|
||||
VMIsolate get appIsolate => throw UnimplementedError();
|
||||
|
||||
/// Getter of serviceClient
|
||||
/// Getter of serviceClient.
|
||||
VMServiceClient get serviceClient => throw UnimplementedError();
|
||||
|
||||
/// Sends [command] to the Flutter Driver extensions.
|
||||
|
||||
@@ -266,7 +266,7 @@ class VMServiceFlutterDriver extends FlutterDriver {
|
||||
/// The unique ID of this driver instance.
|
||||
final int _driverId;
|
||||
|
||||
/// Client connected to the Dart VM running the Flutter application
|
||||
/// Client connected to the Dart VM running the Flutter application.
|
||||
///
|
||||
/// You can use [VMServiceClient] to check VM version, flags and get
|
||||
/// notified when a new isolate has been instantiated. That could be
|
||||
|
||||
@@ -31,7 +31,7 @@ class WebFlutterDriver extends FlutterDriver {
|
||||
final FlutterWebConnection _connection;
|
||||
DateTime _startTime;
|
||||
|
||||
/// Start time for tracing
|
||||
/// Start time for tracing.
|
||||
@visibleForTesting
|
||||
DateTime get startTime => _startTime;
|
||||
|
||||
@@ -152,7 +152,7 @@ class WebFlutterDriver extends FlutterDriver {
|
||||
_startTime = DateTime.now();
|
||||
}
|
||||
|
||||
/// Checks whether browser supports Timeline related operations
|
||||
/// Checks whether browser supports Timeline related operations.
|
||||
void _checkBrowserSupportsTimeline() {
|
||||
if (!_connection.supportsTimelineAction) {
|
||||
throw UnsupportedError('Timeline action is not supported by current testing browser');
|
||||
@@ -163,12 +163,12 @@ class WebFlutterDriver extends FlutterDriver {
|
||||
/// Encapsulates connection information to an instance of a Flutter Web application.
|
||||
class FlutterWebConnection {
|
||||
/// Creates a FlutterWebConnection with WebDriver
|
||||
/// and whether the WebDriver supports timeline action
|
||||
/// and whether the WebDriver supports timeline action.
|
||||
FlutterWebConnection(this._driver, this.supportsTimelineAction);
|
||||
|
||||
final async_io.WebDriver _driver;
|
||||
|
||||
/// Whether the connected WebDriver supports timeline action for Flutter Web Driver
|
||||
/// Whether the connected WebDriver supports timeline action for Flutter Web Driver.
|
||||
bool supportsTimelineAction;
|
||||
|
||||
/// Starts WebDriver with the given [settings] and
|
||||
@@ -196,7 +196,7 @@ class FlutterWebConnection {
|
||||
return FlutterWebConnection(driver, settings['support-timeline-action'] as bool);
|
||||
}
|
||||
|
||||
/// Sends command via WebDriver to Flutter web application
|
||||
/// Sends command via WebDriver to Flutter web application.
|
||||
Future<dynamic> sendCommand(String script, Duration duration) async {
|
||||
dynamic result;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user