Skip to content

Commit

Permalink
Log patrol test start in patrolTest
Browse files Browse the repository at this point in the history
  • Loading branch information
pdenert committed Nov 8, 2024
1 parent cc04824 commit 5b644d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions packages/patrol/lib/src/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ void patrolTest(
// We don't have to call this line because automator.configure() does the same.
// await automator2.configure();

patrolLog.log(
TestEntry(name: description, status: TestEntryStatus.start),
);
final patrolTester = PatrolIntegrationTester(
tester: widgetTester,
nativeAutomator: automator,
Expand Down
6 changes: 0 additions & 6 deletions packages/patrol/lib/src/native/patrol_app_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,6 @@ class PatrolAppService extends PatrolAppServiceServer {
assert(_testExecutionCompleted.isCompleted == false);
// patrolTest() always calls this method.

_patrolLog.log(
TestEntry(
name: request.name,
status: TestEntryStatus.start,
),
);
print('PatrolAppService.runDartTest(${request.name}) called');
_testExecutionRequested.complete(request.name);

Expand Down

0 comments on commit 5b644d1

Please sign in to comment.