2013-09-27 20:01:14 +02:00
|
|
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2017-01-09 15:33:03 +01:00
|
|
|
<exe-name> is a <version> host application.
|
2013-09-27 20:01:14 +02:00
|
|
|
Run with -? for options
|
|
|
|
|
2014-09-03 20:22:47 +02:00
|
|
|
-------------------------------------------------------------------------------
|
2016-11-29 12:32:16 +01:00
|
|
|
# A test name that starts with a #
|
2014-09-03 20:22:47 +02:00
|
|
|
-------------------------------------------------------------------------------
|
2016-11-29 12:32:16 +01:00
|
|
|
MiscTests.cpp:<line number>
|
2014-09-03 20:22:47 +02:00
|
|
|
...............................................................................
|
|
|
|
|
2016-11-29 12:32:16 +01:00
|
|
|
MiscTests.cpp:<line number>:
|
2014-09-03 20:22:47 +02:00
|
|
|
PASSED:
|
2016-11-29 12:32:16 +01:00
|
|
|
with message:
|
|
|
|
yay
|
2013-09-27 20:01:14 +02:00
|
|
|
|
2017-02-10 12:53:29 +01:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
#542
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
CompilationTests.cpp:<line number>
|
|
|
|
...............................................................................
|
|
|
|
|
|
|
|
CompilationTests.cpp:<line number>:
|
|
|
|
PASSED:
|
|
|
|
CHECK_THROWS_AS( throws_int(true), int )
|
|
|
|
|
|
|
|
CompilationTests.cpp:<line number>:
|
|
|
|
PASSED:
|
|
|
|
CHECK_THROWS_AS( throws_int(true), int& )
|
|
|
|
|
|
|
|
CompilationTests.cpp:<line number>:
|
|
|
|
PASSED:
|
|
|
|
CHECK_THROWS_AS( throws_int(true), const int )
|
|
|
|
|
|
|
|
CompilationTests.cpp:<line number>:
|
|
|
|
PASSED:
|
|
|
|
CHECK_THROWS_AS( throws_int(true), const int& )
|
|
|
|
|
2017-02-07 13:32:48 +01:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
#809
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
CompilationTests.cpp:<line number>
|
|
|
|
...............................................................................
|
|
|
|
|
|
|
|
CompilationTests.cpp:<line number>:
|
|
|
|
PASSED:
|
|
|
|
REQUIRE( 42 == f )
|
|
|
|
with expansion:
|
|
|
|
42 == {?}
|
|
|
|
|
2017-03-06 22:07:33 +01:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
#835 -- errno should not be touched by Catch
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
MiscTests.cpp:<line number>
|
|
|
|
...............................................................................
|
|
|
|
|
|
|
|
MiscTests.cpp:<line number>: FAILED:
|
|
|
|
CHECK( f() == 0 )
|
|
|
|
with expansion:
|
|
|
|
1 == 0
|
|
|
|
|
|
|
|
MiscTests.cpp:<line number>:
|
|
|
|
PASSED:
|
|
|
|
REQUIRE( (*__errno_location ()) == 1 )
|
|
|
|
with expansion:
|
|
|
|
1 == 1
|
|
|
|
|
2013-09-27 20:01:14 +02:00
|
|
|
-------------------------------------------------------------------------------
|
2016-11-29 12:32:16 +01:00
|
|
|
'Not' checks that should fail
|
2013-09-27 20:01:14 +02:00
|
|
|
-------------------------------------------------------------------------------
|
2013-09-30 09:01:10 +02:00
|
|
|
ConditionTests.cpp:<line number>
|
2013-09-27 20:01:14 +02:00
|
|
|
...............................................................................
|
|
|
|
|
2013-09-30 09:01:10 +02:00
|
|
|
ConditionTests.cpp:<line number>: FAILED:
|
2016-11-29 12:32:16 +01:00
|
|
|
CHECK( false != false )
|
2013-09-27 20:01:14 +02:00
|
|
|
|
2013-09-30 09:01:10 +02:00
|
|
|
ConditionTests.cpp:<line number>: FAILED:
|
2016-11-29 12:32:16 +01:00
|
|
|
CHECK( true != true )
|
2014-07-03 09:09:57 +02:00
|
|
|
|
|
|
|
ConditionTests.cpp:<line number>: FAILED:
|
2016-11-29 12:32:16 +01:00
|
|
|
CHECK( !true )
|
2014-07-03 09:09:57 +02:00
|
|
|
with expansion:
|
2016-11-29 12:32:16 +01:00
|
|
|
false
|
2014-07-03 09:09:57 +02:00
|
|
|
|
|
|
|
===============================================================================
|
2017-03-06 22:07:33 +01:00
|
|
|
test cases: 5 | 3 passed | 2 failed
|
|
|
|
assertions: 11 | 7 passed | 4 failed
|
2013-09-27 20:01:14 +02:00
|
|
|
|