Remove obsoleted SCOPED_MSG and SCOPED_CAPTURE

Standard `MSG` and `CAPTURE` behave the same way these used to,
and are recommended instead.
This commit is contained in:
Martin Hořeňovský
2017-08-10 17:06:32 +02:00
parent 5da76bb7be
commit 3382312bd8
4 changed files with 121 additions and 125 deletions

View File

@@ -102,11 +102,11 @@ TEST_CASE( "Standard error is reported and redirected", "[messages][.]" ) {
}
}
TEST_CASE( "SCOPED_INFO is reset for each loop", "[messages][failing][.]" ) {
TEST_CASE( "INFO is reset for each loop", "[messages][failing][.]" ) {
for( int i=0; i<100; i++ )
{
SCOPED_INFO( "current counter " << i );
SCOPED_CAPTURE( i );
INFO( "current counter " << i );
CAPTURE( i );
REQUIRE( i < 10 );
}
}