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

Unified Diff: pkg/testing/lib/src/log.dart

Issue 2743423009: Run dartfmt on remaining unformated pkg packages (Closed)
Patch Set: Run dartfmt on remaining unformated pkg packages Created 3 years, 9 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
« no previous file with comments | « pkg/testing/lib/src/expectation.dart ('k') | pkg/testing/lib/src/run.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/testing/lib/src/log.dart
diff --git a/pkg/testing/lib/src/log.dart b/pkg/testing/lib/src/log.dart
index 5ff7cb85dc8dfba6cd23b0dc11459247a507fc10..628d13976c177538037b44632601237b60547ca3 100644
--- a/pkg/testing/lib/src/log.dart
+++ b/pkg/testing/lib/src/log.dart
@@ -4,18 +4,13 @@
library testing.log;
-import 'chain.dart' show
- Result,
- Step;
+import 'chain.dart' show Result, Step;
-import 'suite.dart' show
- Suite;
+import 'suite.dart' show Suite;
-import 'test_description.dart' show
- TestDescription;
+import 'test_description.dart' show TestDescription;
-import 'expectation.dart' show
- Expectation;
+import 'expectation.dart' show Expectation;
/// ANSI escape code for moving cursor one line up.
/// See [CSI codes](https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes).
@@ -35,8 +30,8 @@ void enableVerboseOutput() {
_isVerbose = true;
}
-void logTestComplete(int completed, int failed, int total,
- Suite suite, TestDescription description) {
+void logTestComplete(int completed, int failed, int total, Suite suite,
+ TestDescription description) {
String message = formatProgress(completed, failed, total);
if (suite != null) {
message += ": ${formatTestDescription(suite, description)}";
@@ -44,8 +39,8 @@ void logTestComplete(int completed, int failed, int total,
logProgress(message);
}
-void logStepStart(int completed, int failed, int total,
- Suite suite, TestDescription description, Step step) {
+void logStepStart(int completed, int failed, int total, Suite suite,
+ TestDescription description, Step step) {
String message = formatProgress(completed, failed, total);
if (suite != null) {
message += ": ${formatTestDescription(suite, description)} ${step.name}";
@@ -56,8 +51,8 @@ void logStepStart(int completed, int failed, int total,
logProgress(message);
}
-void logStepComplete(int completed, int failed, int total,
- Suite suite, TestDescription description, Step step) {
+void logStepComplete(int completed, int failed, int total, Suite suite,
+ TestDescription description, Step step) {
if (!step.isAsync) return;
String message = formatProgress(completed, failed, total);
if (suite != null) {
« no previous file with comments | « pkg/testing/lib/src/expectation.dart ('k') | pkg/testing/lib/src/run.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698