mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-27 23:19:32 +00:00
Fixed some warnings
This commit is contained in:
parent
4f19705e09
commit
73e1bc20bc
4 changed files with 18 additions and 10 deletions
|
@ -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() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue