Skip to content

Commit

Permalink
feat: Add support for --coverage (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit committed Feb 17, 2022
1 parent 8783e6a commit f41b069
Show file tree
Hide file tree
Showing 15 changed files with 1,019 additions and 552 deletions.
11 changes: 6 additions & 5 deletions packages/dart_test_adapter/lib/src/test_protocol.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,17 @@ class TestEvent with _$TestEvent {
String? remoteDebugger,
}) = TestEventDebug;

/// The test process finished
factory TestEvent.processDone({
required int exitCode,
}) = TestProcessDone;

/// When an event that doesn't match any other type was received.
factory TestEvent.unknown({required int time}) = TestEventUnknown;
factory TestEvent.unknown() = TestEventUnknown;

/// Deserialize a [TestEvent] from a JSON Object
factory TestEvent.fromJson(Map<String, Object?> json) =>
_$TestEventFromJson(json);

/// The time when this event was received.
@override
int get time;
}

/// {@template dart_test_adapter.test}
Expand Down

0 comments on commit f41b069

Please sign in to comment.