-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Capture only works for one arg at a time. Sometimes we need to capture multiple args at a time (to assert an invariant) -- e.g. buffer ptr and length. Rather than adding to the Capture action, use invoke instead to invoke a method with *all* args. This is inspired by a similar function in googlemock. Note that we needed to change skeletal to non constexpr but this does not seem to have a perf penalty as of now
- Loading branch information
1 parent
2ad1df3
commit 464510a
Showing
2 changed files
with
42 additions
and
16 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