|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58140 - in sandbox/itl/libs: itl/test validate/test
From: afojgo_at_[hidden]
Date: 2009-12-04 09:46:14
Author: jofaber
Date: 2009-12-04 09:46:13 EST (Fri, 04 Dec 2009)
New Revision: 58140
URL: http://svn.boost.org/trac/boost/changeset/58140
Log:
Added a unit_test wrapper to disable warnings. Stable {msvc-9.0,10.0; gcc-3.4.4}
Added:
sandbox/itl/libs/itl/test/unit_test_unwarned.hpp (contents, props changed)
sandbox/itl/libs/validate/test/unit_test_unwarned.hpp (contents, props changed)
Added: sandbox/itl/libs/itl/test/unit_test_unwarned.hpp
==============================================================================
--- (empty file)
+++ sandbox/itl/libs/itl/test/unit_test_unwarned.hpp 2009-12-04 09:46:13 EST (Fri, 04 Dec 2009)
@@ -0,0 +1,24 @@
+/*-----------------------------------------------------------------------------+
+Copyright (c) 2008-2009: Joachim Faulhaber
++------------------------------------------------------------------------------+
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENCE.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt)
++-----------------------------------------------------------------------------*/
+#ifndef BOOST_ITL_TEST_UNIT_TEST_UNWARNED_HPP_JOFA_091204
+#define BOOST_ITL_TEST_UNIT_TEST_UNWARNED_HPP_JOFA_091204
+
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable:4389) // boost/test/test_tools.hpp(509) : warning C4389: '==' : signed/unsigned mismatch
+#endif
+
+#include <boost/test/unit_test.hpp>
+
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
+
+
+#endif // BOOST_ITL_TEST_UNIT_TEST_UNWARNED_HPP_JOFA_091204
+
Added: sandbox/itl/libs/validate/test/unit_test_unwarned.hpp
==============================================================================
--- (empty file)
+++ sandbox/itl/libs/validate/test/unit_test_unwarned.hpp 2009-12-04 09:46:13 EST (Fri, 04 Dec 2009)
@@ -0,0 +1,24 @@
+/*-----------------------------------------------------------------------------+
+Copyright (c) 2008-2009: Joachim Faulhaber
++------------------------------------------------------------------------------+
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENCE.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt)
++-----------------------------------------------------------------------------*/
+#ifndef BOOST_ITL_TEST_UNIT_TEST_UNWARNED_HPP_JOFA_091204
+#define BOOST_ITL_TEST_UNIT_TEST_UNWARNED_HPP_JOFA_091204
+
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable:4389) // boost/test/test_tools.hpp(509) : warning C4389: '==' : signed/unsigned mismatch
+#endif
+
+#include <boost/test/unit_test.hpp>
+
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
+
+
+#endif // BOOST_ITL_TEST_UNIT_TEST_UNWARNED_HPP_JOFA_091204
+
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk