-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Engine: Change signature of
set_process_state_change_timestamp
The function took a `Process` instance but then only uses it to fetch its associated node. Since a `Process` instance is way more difficult to mock, it makes testing the function unnecessarily complicated. Since it only needs the process node, the signature is changed to accept the node instead of the process. This utility function is unlikely to be used in client code, justifying this technically backwards incompatible change.
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters