-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor certain buffer tests to use RAII
This change uses RAII to manage object lifetimes to ensure objects' destruction if an error occurred in the test. Additionally, modify `test_arrayreadwrite` to pass a custom memory flag to the test function. Signed-off-by: Michael Rizkalla <[email protected]>
- Loading branch information
1 parent
b5759ab
commit e1b2cfb
Showing
2 changed files
with
206 additions
and
146 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
Oops, something went wrong.