Split MessageInfo into its own header
This is first step towards splitting apart reporter implementation and `catch_string.hpp`.
This commit is contained in:
9 files changed
+64
-39
No files matched your search
@@ -11,6 +11,7 @@
|
||||
#include <catch2/internal/catch_result_type.hpp>
|
||||
#include <catch2/internal/catch_common.hpp>
|
||||
#include <catch2/internal/catch_stream.hpp>
|
||||
#include <catch2/internal/catch_message_info.hpp>
|
||||
#include <catch2/interfaces/catch_interfaces_capture.hpp>
|
||||
#include <catch2/catch_tostring.hpp>
|
||||
|
||||
@@ -19,23 +20,6 @@
|
||||
|
||||
namespace Catch {
|
||||
|
||||
struct MessageInfo {
|
||||
MessageInfo( StringRef const& _macroName,
|
||||
SourceLineInfo const& _lineInfo,
|
||||
ResultWas::OfType _type );
|
||||
|
||||
StringRef macroName;
|
||||
std::string message;
|
||||
SourceLineInfo lineInfo;
|
||||
ResultWas::OfType type;
|
||||
unsigned int sequence;
|
||||
|
||||
bool operator == ( MessageInfo const& other ) const;
|
||||
bool operator < ( MessageInfo const& other ) const;
|
||||
private:
|
||||
static unsigned int globalCount;
|
||||
};
|
||||
|
||||
struct MessageStream {
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in new issue
Block a user