-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests to PPS Source Activate function (#395)
Summary: Pull Request resolved: #395 WHAT? Adds tests to ActivatePPSSource function WHY? Ensuring functional correctnes, ensuring edge cases work and making the code more maintainable for the future Considerations: That's a lot of code! - Yeah, but it is necessary to do the rigging for testing the syscalls Why do you have matchBy with return true? - To dereference the pointer of the struct passed as argument, and then assert it with require.Equals, which gives nice comparison logs Reviewed By: leoleovich Differential Revision: D62447639
- Loading branch information
1 parent
dd62cd4
commit b41cacc
Showing
2 changed files
with
137 additions
and
10 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