From 5234b15ff49a03a12cc865853ec7cbda79b4db4e Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Mon, 6 Aug 2012 08:33:15 +0100 Subject: [PATCH] Fixed quote balancing issue in reporter error --- include/catch_runner.hpp | 2 +- include/internal/catch_impl.hpp | 14 ++++++++++++++ .../internal/catch_interfaces_static_registries.h | 14 ++++++++++++++ include/internal/catch_notimplemented_exception.h | 14 ++++++++++++++ .../internal/catch_notimplemented_exception.hpp | 14 ++++++++++++++ include/internal/catch_static_registries_impl.hpp | 14 ++++++++++++++ 6 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 include/internal/catch_impl.hpp create mode 100644 include/internal/catch_interfaces_static_registries.h create mode 100644 include/internal/catch_notimplemented_exception.h create mode 100644 include/internal/catch_notimplemented_exception.hpp create mode 100644 include/internal/catch_static_registries_impl.hpp diff --git a/include/catch_runner.hpp b/include/catch_runner.hpp index 7b0eda70..ca1aa635 100644 --- a/include/catch_runner.hpp +++ b/include/catch_runner.hpp @@ -38,7 +38,7 @@ namespace Catch { if( !reporter ) { - std::cerr << "No reporter registered with name: " << reporterName << "'" << std::endl; + std::cerr << "No reporter registered with name: '" << reporterName << "'" << std::endl; return (std::numeric_limits::max)(); } diff --git a/include/internal/catch_impl.hpp b/include/internal/catch_impl.hpp new file mode 100644 index 00000000..6491a1a3 --- /dev/null +++ b/include/internal/catch_impl.hpp @@ -0,0 +1,14 @@ +// +// catch_impl.hpp +// CatchSelfTest +// +// Created by Phil Nash on 05/08/2012. +// +// + +#ifndef CatchSelfTest_catch_impl_hpp +#define CatchSelfTest_catch_impl_hpp + + + +#endif diff --git a/include/internal/catch_interfaces_static_registries.h b/include/internal/catch_interfaces_static_registries.h new file mode 100644 index 00000000..997de71e --- /dev/null +++ b/include/internal/catch_interfaces_static_registries.h @@ -0,0 +1,14 @@ +// +// catch_static_registries.h +// CatchSelfTest +// +// Created by Phil Nash on 05/08/2012. +// +// + +#ifndef CatchSelfTest_catch_static_registries_h +#define CatchSelfTest_catch_static_registries_h + + + +#endif diff --git a/include/internal/catch_notimplemented_exception.h b/include/internal/catch_notimplemented_exception.h new file mode 100644 index 00000000..1497b5b0 --- /dev/null +++ b/include/internal/catch_notimplemented_exception.h @@ -0,0 +1,14 @@ +// +// catch_notimplemented_exception.h +// CatchSelfTest +// +// Created by Phil Nash on 05/08/2012. +// +// + +#ifndef CatchSelfTest_catch_notimplemented_exception_h +#define CatchSelfTest_catch_notimplemented_exception_h + + + +#endif diff --git a/include/internal/catch_notimplemented_exception.hpp b/include/internal/catch_notimplemented_exception.hpp new file mode 100644 index 00000000..485ab45d --- /dev/null +++ b/include/internal/catch_notimplemented_exception.hpp @@ -0,0 +1,14 @@ +// +// catch_notimplemented_exception.hpp +// CatchSelfTest +// +// Created by Phil Nash on 05/08/2012. +// +// + +#ifndef CatchSelfTest_catch_notimplemented_exception_hpp +#define CatchSelfTest_catch_notimplemented_exception_hpp + + + +#endif diff --git a/include/internal/catch_static_registries_impl.hpp b/include/internal/catch_static_registries_impl.hpp new file mode 100644 index 00000000..a2942681 --- /dev/null +++ b/include/internal/catch_static_registries_impl.hpp @@ -0,0 +1,14 @@ +// +// catch_static_registries.hpp +// CatchSelfTest +// +// Created by Phil Nash on 05/08/2012. +// +// + +#ifndef CatchSelfTest_catch_static_registries_hpp +#define CatchSelfTest_catch_static_registries_hpp + + + +#endif