mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Fixed some warnings
This commit is contained in:
parent
4f19705e09
commit
73e1bc20bc
@ -292,4 +292,4 @@ TEST_CASE( "./sameName", "Tests with the same name are not allowed" )
|
||||
{
|
||||
|
||||
}
|
||||
*/
|
||||
*/
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
namespace Catch{
|
||||
|
||||
std::size_t EmbeddedRunner::runMatching( const std::string& rawTestSpec, const std::string& reporter ) {
|
||||
std::size_t EmbeddedRunner::runMatching( const std::string& rawTestSpec, const std::string& ) {
|
||||
std::ostringstream oss;
|
||||
Config config;
|
||||
config.setStreamBuf( oss.rdbuf() );
|
||||
|
@ -27,7 +27,7 @@ namespace Catch {
|
||||
addRecorder( recordSections );
|
||||
}
|
||||
|
||||
MockReporter( const IReporterConfig& config ) {
|
||||
MockReporter( const IReporterConfig& ) {
|
||||
recordAll();
|
||||
}
|
||||
|
||||
@ -55,21 +55,21 @@ namespace Catch {
|
||||
|
||||
virtual void StartTesting() {}
|
||||
|
||||
virtual void EndTesting( const Totals& totals ) {}
|
||||
virtual void EndTesting( const Totals& ) {}
|
||||
|
||||
virtual void StartGroup( const std::string& groupName ) {
|
||||
openLabel( recordGroups, groupName );
|
||||
}
|
||||
|
||||
virtual void EndGroup( const std::string& groupName, const Totals& totals ) {
|
||||
virtual void EndGroup( const std::string& groupName, const Totals& ) {
|
||||
closeLabel( recordGroups, groupName );
|
||||
}
|
||||
|
||||
virtual void StartSection( const std::string& sectionName, const std::string& description ) {
|
||||
virtual void StartSection( const std::string& sectionName, const std::string& ) {
|
||||
openLabel( recordSections, sectionName );
|
||||
}
|
||||
|
||||
virtual void EndSection( const std::string& sectionName, const Counts& assertions ) {
|
||||
virtual void EndSection( const std::string& sectionName, const Counts& ) {
|
||||
closeLabel( recordSections, sectionName );
|
||||
}
|
||||
|
||||
@ -78,9 +78,9 @@ namespace Catch {
|
||||
}
|
||||
|
||||
virtual void EndTestCase( const TestCaseInfo& testInfo,
|
||||
const Totals& totals,
|
||||
const std::string& stdOut,
|
||||
const std::string& stdErr ) {
|
||||
const Totals&,
|
||||
const std::string&,
|
||||
const std::string& ) {
|
||||
closeLabel( recordTestCases, testInfo.getName() );
|
||||
}
|
||||
|
||||
|
@ -376,9 +376,13 @@
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
|
||||
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
|
||||
GCC_WARN_PEDANTIC = YES;
|
||||
GCC_WARN_SHADOW = YES;
|
||||
GCC_WARN_UNUSED_PARAMETER = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
@ -401,9 +405,13 @@
|
||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
|
||||
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
|
||||
GCC_WARN_PEDANTIC = YES;
|
||||
GCC_WARN_SHADOW = YES;
|
||||
GCC_WARN_UNUSED_PARAMETER = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||
SDKROOT = macosx;
|
||||
|
Loading…
Reference in New Issue
Block a user