Reinstate "QA: Tweak boost print helper macro""

This reverts commit 3afea91088.

This was actually not the issue, even though it seemed to trigger the
issue.
This commit is contained in:
John Beard 2019-05-24 11:56:04 +01:00
parent a88ac393bb
commit 2ec4ceffbd
8 changed files with 11 additions and 11 deletions

View File

@ -223,7 +223,7 @@ inline SHAPE_POLY_SET FilletPolySet( SHAPE_POLY_SET& aPolySet, int aRadius, int
} // namespace GEOM_TEST
BOOST_TEST_PRINT_NAMESPACE_OPEN
namespace BOOST_TEST_PRINT_NAMESPACE_OPEN
{
template <>
struct print_log_value<SHAPE_LINE_CHAIN>

View File

@ -67,7 +67,7 @@ bool IsImagePixelOfColor( const wxImage& aImage, int aX, int aY, const KIGFX::CO
} // namespace KI_TEST
BOOST_TEST_PRINT_NAMESPACE_OPEN
namespace BOOST_TEST_PRINT_NAMESPACE_OPEN
{
void print_log_value<wxImage>::operator()( std::ostream& os, wxImage const& aImage )
{

View File

@ -46,7 +46,7 @@ bool IsImagePixelOfColor( const wxImage& aImage, int aX, int aY, const KIGFX::CO
} // namespace KI_TEST
BOOST_TEST_PRINT_NAMESPACE_OPEN
namespace BOOST_TEST_PRINT_NAMESPACE_OPEN
{
template <>
struct print_log_value<wxImage>

View File

@ -35,7 +35,7 @@
#include <template_fieldnames.h>
BOOST_TEST_PRINT_NAMESPACE_OPEN
namespace BOOST_TEST_PRINT_NAMESPACE_OPEN
{
template <>
struct print_log_value<LIB_FIELD>

View File

@ -224,7 +224,7 @@ inline bool SexprConvertsToString( const SEXPR::SEXPR& aSexpr, const std::string
} // namespace KI_TEST
BOOST_TEST_PRINT_NAMESPACE_OPEN
namespace BOOST_TEST_PRINT_NAMESPACE_OPEN
{
/**

View File

@ -96,7 +96,7 @@
*/
#if BOOST_VERSION >= 105900
#define BOOST_TEST_PRINT_NAMESPACE_OPEN \
namespace boost \
boost \
{ \
namespace test_tools \
{ \
@ -104,7 +104,7 @@
#define BOOST_TEST_PRINT_NAMESPACE_CLOSE }}
#else
#define BOOST_TEST_PRINT_NAMESPACE_OPEN \
namespace boost \
boost \
{ \
namespace test_tools
#define BOOST_TEST_PRINT_NAMESPACE_CLOSE }
@ -118,7 +118,7 @@
*/
#if BOOST_VERSION < 106400
BOOST_TEST_PRINT_NAMESPACE_OPEN
namespace BOOST_TEST_PRINT_NAMESPACE_OPEN
{
template <>
struct print_log_value<std::nullptr_t>
@ -134,7 +134,7 @@ BOOST_TEST_PRINT_NAMESPACE_CLOSE
#endif
BOOST_TEST_PRINT_NAMESPACE_OPEN
namespace BOOST_TEST_PRINT_NAMESPACE_OPEN
{
/**

View File

@ -23,7 +23,7 @@
#include <unit_test_utils/unit_test_utils.h>
BOOST_TEST_PRINT_NAMESPACE_OPEN
namespace BOOST_TEST_PRINT_NAMESPACE_OPEN
{
void print_log_value<wxPoint>::operator()( std::ostream& os, wxPoint const& aPt )

View File

@ -36,7 +36,7 @@
#include <cmath>
BOOST_TEST_PRINT_NAMESPACE_OPEN
namespace BOOST_TEST_PRINT_NAMESPACE_OPEN
{
template <>
struct print_log_value<DOUBLET>