-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TestsPrinters.cpp: add FAIL() assertion to error tests.
Add FAIL() assertion to generated tests in no verbose mode. The line with FAIL() assertion is unreachable in some tests but it gives additional information to the user to make the tests easier to read. I add a unit test to check that the code of generated tests (error suit) has the line with FAIL() assertion. I decided not to use statuses from the tests execution because the line with FAIL() assertion can be unreachable. Refs: #472
- Loading branch information
1 parent
2de5b52
commit 1bc27f7
Showing
3 changed files
with
33 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
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