mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Added copy ctor to ReporterConfig to get rid of warnings
This commit is contained in:
parent
fc1baac7f5
commit
61964881c7
@ -31,10 +31,21 @@ namespace Catch
|
|||||||
fullConfig( _fullConfig )
|
fullConfig( _fullConfig )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
ReporterConfig( const ReporterConfig& other )
|
||||||
|
: name( other.name ),
|
||||||
|
stream( other.stream ),
|
||||||
|
includeSuccessfulResults( other.includeSuccessfulResults ),
|
||||||
|
fullConfig( other.fullConfig )
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
std::ostream& stream;
|
std::ostream& stream;
|
||||||
bool includeSuccessfulResults;
|
bool includeSuccessfulResults;
|
||||||
ConfigData fullConfig;
|
ConfigData fullConfig;
|
||||||
|
|
||||||
|
private:
|
||||||
|
void operator=(const ReporterConfig&);
|
||||||
};
|
};
|
||||||
|
|
||||||
class TestCaseInfo;
|
class TestCaseInfo;
|
||||||
|
14
include/internal/catch_tags.h
Normal file
14
include/internal/catch_tags.h
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
//
|
||||||
|
// catch_tags.h
|
||||||
|
// CatchSelfTest
|
||||||
|
//
|
||||||
|
// Created by Phil Nash on 19/09/2012.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef __CatchSelfTest__catch_tags__
|
||||||
|
#define __CatchSelfTest__catch_tags__
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
#endif /* defined(__CatchSelfTest__catch_tags__) */
|
9
include/internal/catch_tags.hpp
Normal file
9
include/internal/catch_tags.hpp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
//
|
||||||
|
// catch_tags.hpp
|
||||||
|
// CatchSelfTest
|
||||||
|
//
|
||||||
|
// Created by Phil Nash on 19/09/2012.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "catch_tags.h"
|
9
projects/SelfTest/SurrogateCpps/catch_tags.cpp
Normal file
9
projects/SelfTest/SurrogateCpps/catch_tags.cpp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
//
|
||||||
|
// catch_tags.cpp
|
||||||
|
// CatchSelfTest
|
||||||
|
//
|
||||||
|
// Created by Phil Nash on 19/09/2012.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "catch_tags.h"
|
14
projects/SelfTest/SurrogateCpps/catch_tags.h
Normal file
14
projects/SelfTest/SurrogateCpps/catch_tags.h
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
//
|
||||||
|
// catch_tags.h
|
||||||
|
// CatchSelfTest
|
||||||
|
//
|
||||||
|
// Created by Phil Nash on 19/09/2012.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef __CatchSelfTest__catch_tags__
|
||||||
|
#define __CatchSelfTest__catch_tags__
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
#endif /* defined(__CatchSelfTest__catch_tags__) */
|
Loading…
Reference in New Issue
Block a user