Suppress failure of CHECKED_IF and CHECKED_ELSE (#2187)

Resolves #1390

Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
This commit is contained in:
Jozef Grajciar
2021-05-10 21:42:47 +02:00
committed by GitHub
parent 313071e8fe
commit eb911aa995
14 changed files with 246 additions and 71 deletions

View File

@@ -922,6 +922,22 @@ with expansion:
}
"
-------------------------------------------------------------------------------
Testing checked-if 2
-------------------------------------------------------------------------------
Misc.tests.cpp:<line number>
...............................................................................
Misc.tests.cpp:<line number>: FAILED:
-------------------------------------------------------------------------------
Testing checked-if 3
-------------------------------------------------------------------------------
Misc.tests.cpp:<line number>
...............................................................................
Misc.tests.cpp:<line number>: FAILED:
-------------------------------------------------------------------------------
Thrown string literals are translated
-------------------------------------------------------------------------------
@@ -1135,11 +1151,6 @@ checkedElse, failing
Misc.tests.cpp:<line number>
...............................................................................
Misc.tests.cpp:<line number>: FAILED:
CHECKED_ELSE( flag )
with expansion:
false
Misc.tests.cpp:<line number>: FAILED:
REQUIRE( testCheckedElse( false ) )
with expansion:
@@ -1151,11 +1162,6 @@ checkedIf, failing
Misc.tests.cpp:<line number>
...............................................................................
Misc.tests.cpp:<line number>: FAILED:
CHECKED_IF( flag )
with expansion:
false
Misc.tests.cpp:<line number>: FAILED:
REQUIRE( testCheckedIf( false ) )
with expansion:
@@ -1380,6 +1386,6 @@ due to unexpected exception with message:
Why would you throw a std::string?
===============================================================================
test cases: 356 | 282 passed | 70 failed | 4 failed as expected
assertions: 2077 | 1925 passed | 131 failed | 21 failed as expected
test cases: 359 | 283 passed | 70 failed | 6 failed as expected
assertions: 2082 | 1930 passed | 129 failed | 23 failed as expected