Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: tests/standalone/io/test_runner_exit_code_script.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/standalone/io/test_runner_exit_code_script.dart
diff --git a/tests/standalone/io/test_runner_exit_code_script.dart b/tests/standalone/io/test_runner_exit_code_script.dart
index f503d1b669c2a40ca62c333c1420048cb52ef668..e29843084b9156770c08129fbbe4bb630697ed95 100644
--- a/tests/standalone/io/test_runner_exit_code_script.dart
+++ b/tests/standalone/io/test_runner_exit_code_script.dart
@@ -13,26 +13,22 @@ main(List<String> arguments) {
var progressType = arguments[0];
// Build a progress indicator.
var startTime = new DateTime.now();
- var progress =
- new ProgressIndicator.fromName(progressType, startTime, false);
+ var progress = new ProgressIndicator.fromName(progressType, startTime, false);
if (progressType == 'buildbot') {
BuildbotProgressIndicator.stepName = 'myStepName';
}
// Build a dummy test case.
var configuration = new TestOptionsParser().parse(['--timeout', '2'])[0];
var dummyCommand = new Command("noop", []);
- var testCase = new TestCase('failing_test.dart',
- [dummyCommand],
- configuration,
- (_) => null,
- new Set<String>.from(['PASS']));
+ var testCase = new TestCase('failing_test.dart', [dummyCommand],
+ configuration, (_) => null, new Set<String>.from(['PASS']));
// Simulate the test.dart use of the progress indicator.
progress.testAdded();
progress.allTestsKnown();
progress.start(testCase);
new CommandOutput.fromCase(testCase, dummyCommand, 1, false, false, [], [],
- new DateTime.now().difference(startTime), false);
+ new DateTime.now().difference(startTime), false);
progress.done(testCase);
progress.allDone();
}

Powered by Google App Engine
This is Rietveld 408576698