|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81568 - in trunk/libs/test/test: . test_datasets_src
From: marshall_at_[hidden]
Date: 2012-11-26 13:31:43
Author: marshall
Date: 2012-11-26 13:31:42 EST (Mon, 26 Nov 2012)
New Revision: 81568
URL: http://svn.boost.org/trac/boost/changeset/81568
Log:
Removed usage of deprecated macros in Boost.Test
Text files modified:
trunk/libs/test/test/test_assertion_construction.cpp | 8 ++++----
trunk/libs/test/test/test_datasets_src/test_random.cpp | 4 ++--
trunk/libs/test/test/test_tools_test.cpp | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
Modified: trunk/libs/test/test/test_assertion_construction.cpp
==============================================================================
--- trunk/libs/test/test/test_assertion_construction.cpp (original)
+++ trunk/libs/test/test/test_assertion_construction.cpp 2012-11-26 13:31:42 EST (Mon, 26 Nov 2012)
@@ -57,7 +57,7 @@
BOOST_CHECK( res );
}
-#ifndef BOOST_NO_DECLTYPE
+#ifndef BOOST_NO_CXX11_DECLTYPE
{
EXPR_TYPE E = seed->* "abc";
predicate_result const& res = E.evaluate();
@@ -128,7 +128,7 @@
//____________________________________________________________________________//
-#ifndef BOOST_NO_DECLTYPE
+#ifndef BOOST_NO_CXX11_DECLTYPE
BOOST_AUTO_TEST_CASE( test_arithmetic_ops )
{
@@ -187,7 +187,7 @@
//____________________________________________________________________________//
-#endif // BOOST_NO_DECLTYPE
+#endif // BOOST_NO_CXX11_DECLTYPE
struct Testee {
static int s_copy_counter;
@@ -353,7 +353,7 @@
BOOST_CHECK_EQUAL( res.message(), "(bool)Testee is false" );
}
-#ifndef BOOST_NO_DECLTYPE
+#ifndef BOOST_NO_CXX11_DECLTYPE
{
Testee obj;
Testee* ptr =&obj;
Modified: trunk/libs/test/test/test_datasets_src/test_random.cpp
==============================================================================
--- trunk/libs/test/test/test_datasets_src/test_random.cpp (original)
+++ trunk/libs/test/test/test_datasets_src/test_random.cpp 2012-11-26 13:31:42 EST (Mon, 26 Nov 2012)
@@ -15,7 +15,7 @@
// Boost.Test
#include <boost/test/unit_test.hpp>
-#ifndef BOOST_NO_0X_HDR_RANDOM
+#ifndef BOOST_NO_CXX11_HDR_RANDOM
#include <boost/test/data/monomorphic/generators/random.hpp>
#include <boost/test/data/monomorphic/zip.hpp>
@@ -134,7 +134,7 @@
//____________________________________________________________________________//
-#endif // BOOST_NO_0X_HDR_RANDOM
+#endif // BOOST_NO_CXX11_HDR_RANDOM
// EOF
Modified: trunk/libs/test/test/test_tools_test.cpp
==============================================================================
--- trunk/libs/test/test/test_tools_test.cpp (original)
+++ trunk/libs/test/test/test_tools_test.cpp 2012-11-26 13:31:42 EST (Mon, 26 Nov 2012)
@@ -649,7 +649,7 @@
int operator&() { return 10; }
};
-#ifndef BOOST_NO_DECLTYPE
+#ifndef BOOST_NO_CXX11_DECLTYPE
#define BOOST_TEST_FWD_1(P,M) BOOST_TEST(P)
#define BOOST_TEST_FWD_3(P,M) BOOST_TEST(P)
#else
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