| 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) {
|
|
|