Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[integration_test] Minor cleanup #2956

Merged
merged 1 commit into from
Aug 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public void onAttachedToEngine(FlutterPluginBinding binding) {
onAttachedToEngine(binding.getApplicationContext(), binding.getBinaryMessenger());
}

private void onAttachedToEngine(Context applicationContext, BinaryMessenger messenger) {
methodChannel = new MethodChannel(messenger, "plugins.flutter.io/integration_test");
private void onAttachedToEngine(Context unusedApplicationContext, BinaryMessenger messenger) {
methodChannel = new MethodChannel(messenger, CHANNEL);
methodChannel.setMethodCallHandler(this);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/integration_test/lib/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Response {
}
}

/// Method for formating the test failures' details.
/// Method for formatting the test failures' details.
String formatFailures(List<Failure> failureDetails) {
if (failureDetails.isEmpty) {
return '';
Expand Down
3 changes: 2 additions & 1 deletion packages/integration_test/lib/integration_test_driver.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import 'package:path/path.dart' as path;
String testOutputsDirectory =
Platform.environment['FLUTTER_TEST_OUTPUTS_DIR'] ?? 'build';

/// The callback type to handle [integration_test.Response.data] after the test succcess.
/// The callback type to handle [integration_test.Response.data] after the test
/// succeeds.
typedef ResponseDataCallback = FutureOr<void> Function(Map<String, dynamic>);

/// Writes a json-serializable json data to to
Expand Down