More config refactoring
This commit is contained in:
1 parent
be8fd82f20
commit
3c3beb57c3
4 files changed
+32
-32
No files matched your search
@@ -99,7 +99,7 @@ TEST_CASE( "selftest/parser/2", "ConfigData" ) {
|
||||
|
||||
CHECK( config.shouldDebugBreak == false );
|
||||
CHECK( config.cutoff == -1 );
|
||||
CHECK( config.allowThrows == true );
|
||||
CHECK( config.noThrow == false );
|
||||
CHECK( config.reporter.empty() );
|
||||
}
|
||||
|
||||
@@ -240,13 +240,13 @@ TEST_CASE( "selftest/parser/2", "ConfigData" ) {
|
||||
const char* argv[] = { "test", "-nt" };
|
||||
CHECK_NOTHROW( parseIntoConfig( argv, config ) );
|
||||
|
||||
REQUIRE( config.allowThrows == false );
|
||||
REQUIRE( config.noThrow == true );
|
||||
}
|
||||
SECTION( "--nothrow", "" ) {
|
||||
const char* argv[] = { "test", "--nothrow" };
|
||||
CHECK_NOTHROW( parseIntoConfig( argv, config ) );
|
||||
|
||||
REQUIRE( config.allowThrows == false );
|
||||
REQUIRE( config.noThrow == true );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -280,7 +280,7 @@ TEST_CASE( "selftest/parser/2", "ConfigData" ) {
|
||||
|
||||
CHECK( config.cutoff == 1 );
|
||||
CHECK( config.shouldDebugBreak );
|
||||
CHECK( config.allowThrows == false );
|
||||
CHECK( config.noThrow == true );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user