|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75371 - trunk/libs/test/test
From: gennadiy.rozental_at_[hidden]
Date: 2011-11-07 04:01:21
Author: rogeeff
Date: 2011-11-07 04:01:20 EST (Mon, 07 Nov 2011)
New Revision: 75371
URL: http://svn.boost.org/trac/boost/changeset/75371
Log:
fixed the issue fixed the test
Text files modified:
trunk/libs/test/test/test_assertion_construction.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 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 2011-11-07 04:01:20 EST (Mon, 07 Nov 2011)
@@ -190,6 +190,7 @@
Testee( Testee const& ) : m_value(false) { s_copy_counter++; }
#ifndef BOOST_NO_RVALUE_REFERENCES
Testee( Testee&& ) : m_value(false) {}
+ Testee( Testee const&& ) : m_value(false) {}
#endif
bool foo() { return m_value; }
@@ -252,7 +253,7 @@
predicate_result const& res = E.evaluate();
BOOST_CHECK( !res );
BOOST_CHECK_EQUAL( res.message(), "(bool)Testee is false" );
- BOOST_CHECK_EQUAL( Testee::s_copy_counter, 1 ); // !! ??
+ BOOST_CHECK_EQUAL( Testee::s_copy_counter, 0 );
}
{
@@ -262,7 +263,7 @@
predicate_result const& res = E.evaluate();
BOOST_CHECK( !res );
BOOST_CHECK_EQUAL( res.message(), "(bool)Testee is false" );
- BOOST_CHECK_EQUAL( Testee::s_copy_counter, 1 ); // !! ??
+ BOOST_CHECK_EQUAL( Testee::s_copy_counter, 0 );
}
}
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