Update of /cvsroot/boost/boost/libs/thread/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26521
Modified Files:
Tag: thread_rewrite
test_lock_concept.cpp
Log Message:
try_mutex locks throw if unlocked twice
Index: test_lock_concept.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/thread/test/Attic/test_lock_concept.cpp,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -u -d -r1.1.2.11 -r1.1.2.12
--- test_lock_concept.cpp 8 Jun 2006 16:32:40 -0000 1.1.2.11
+++ test_lock_concept.cpp 8 Jun 2006 16:39:14 -0000 1.1.2.12
@@ -117,6 +117,7 @@
test->add(BOOST_TEST_CASE((test_unlocked_after_unlock_called<boost::try_mutex,boost::try_mutex::scoped_lock>())));
test->add(BOOST_TEST_CASE((test_locked_after_lock_called<boost::try_mutex,boost::try_mutex::scoped_lock>())));
test->add(BOOST_TEST_CASE((test_throws_if_lock_called_when_already_locked<boost::try_mutex,boost::try_mutex::scoped_lock>())));
+
test->add(BOOST_TEST_CASE((test_throws_if_unlock_called_when_already_unlocked<boost::try_mutex,boost::try_mutex::scoped_lock>())));
test->add(BOOST_TEST_CASE((test_initially_locked<boost::try_mutex,boost::try_mutex::scoped_try_lock>())));
test->add(BOOST_TEST_CASE((test_initially_locked_with_bool_parameter_true<boost::try_mutex,boost::try_mutex::scoped_try_lock>())));
@@ -124,6 +125,7 @@
test->add(BOOST_TEST_CASE((test_unlocked_after_unlock_called<boost::try_mutex,boost::try_mutex::scoped_try_lock>())));
test->add(BOOST_TEST_CASE((test_locked_after_lock_called<boost::try_mutex,boost::try_mutex::scoped_try_lock>())));
test->add(BOOST_TEST_CASE((test_throws_if_lock_called_when_already_locked<boost::try_mutex,boost::try_mutex::scoped_try_lock>())));
+
test->add(BOOST_TEST_CASE((test_throws_if_unlock_called_when_already_unlocked<boost::try_mutex,boost::try_mutex::scoped_try_lock>())));
return test;
}
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs