|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74731 - trunk/libs/thread/test
From: gennadiy.rozental_at_[hidden]
Date: 2011-10-05 05:52:13
Author: rogeeff
Date: 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
New Revision: 74731
URL: http://svn.boost.org/trac/boost/changeset/74731
Log:
eliminated unit_test_framework and BOOST_MESSAGE
Text files modified:
trunk/libs/thread/test/test_barrier.cpp | 4 ++--
trunk/libs/thread/test/test_condition.cpp | 4 ++--
trunk/libs/thread/test/test_condition_notify_all.cpp | 4 ++--
trunk/libs/thread/test/test_condition_notify_one.cpp | 4 ++--
trunk/libs/thread/test/test_condition_timed_wait_times_out.cpp | 4 ++--
trunk/libs/thread/test/test_futures.cpp | 4 ++--
trunk/libs/thread/test/test_generic_locks.cpp | 4 ++--
trunk/libs/thread/test/test_hardware_concurrency.cpp | 4 ++--
trunk/libs/thread/test/test_lock_concept.cpp | 4 ++--
trunk/libs/thread/test/test_move_function.cpp | 4 ++--
trunk/libs/thread/test/test_mutex.cpp | 4 ++--
trunk/libs/thread/test/test_once.cpp | 4 ++--
trunk/libs/thread/test/test_shared_mutex.cpp | 4 ++--
trunk/libs/thread/test/test_shared_mutex_part_2.cpp | 4 ++--
trunk/libs/thread/test/test_shared_mutex_timed_locks.cpp | 4 ++--
trunk/libs/thread/test/test_thread.cpp | 4 ++--
trunk/libs/thread/test/test_thread_exit.cpp | 4 ++--
trunk/libs/thread/test/test_thread_id.cpp | 4 ++--
trunk/libs/thread/test/test_thread_launching.cpp | 4 ++--
trunk/libs/thread/test/test_thread_move.cpp | 4 ++--
trunk/libs/thread/test/test_thread_move_return.cpp | 4 ++--
trunk/libs/thread/test/test_thread_return_local.cpp | 4 ++--
trunk/libs/thread/test/test_tss.cpp | 4 ++--
trunk/libs/thread/test/test_xtime.cpp | 4 ++--
24 files changed, 48 insertions(+), 48 deletions(-)
Modified: trunk/libs/thread/test/test_barrier.cpp
==============================================================================
--- trunk/libs/thread/test/test_barrier.cpp (original)
+++ trunk/libs/thread/test/test_barrier.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -55,9 +55,9 @@
BOOST_CHECK_EQUAL(global_parameter,5);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: barrier test suite");
test->add(BOOST_TEST_CASE(&test_barrier));
Modified: trunk/libs/thread/test/test_condition.cpp
==============================================================================
--- trunk/libs/thread/test/test_condition.cpp (original)
+++ trunk/libs/thread/test/test_condition.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -178,9 +178,9 @@
timed_test(&do_test_condition_wait_is_a_interruption_point, 1);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: condition test suite");
test->add(BOOST_TEST_CASE(&test_condition_waits));
Modified: trunk/libs/thread/test/test_condition_notify_all.cpp
==============================================================================
--- trunk/libs/thread/test/test_condition_notify_all.cpp (original)
+++ trunk/libs/thread/test/test_condition_notify_all.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -211,9 +211,9 @@
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: condition test suite");
test->add(BOOST_TEST_CASE(&test_condition_notify_all));
Modified: trunk/libs/thread/test/test_condition_notify_one.cpp
==============================================================================
--- trunk/libs/thread/test/test_condition_notify_one.cpp (original)
+++ trunk/libs/thread/test/test_condition_notify_one.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -144,9 +144,9 @@
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: condition test suite");
test->add(BOOST_TEST_CASE(&test_condition_notify_one));
Modified: trunk/libs/thread/test/test_condition_timed_wait_times_out.cpp
==============================================================================
--- trunk/libs/thread/test/test_condition_timed_wait_times_out.cpp (original)
+++ trunk/libs/thread/test/test_condition_timed_wait_times_out.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -162,9 +162,9 @@
timed_test(&do_test_cv_any_timed_wait_relative_times_out, timeout_seconds+timeout_grace, execution_monitor::use_mutex);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: condition test suite");
test->add(BOOST_TEST_CASE(&test_timed_wait_times_out));
Modified: trunk/libs/thread/test/test_futures.cpp
==============================================================================
--- trunk/libs/thread/test/test_futures.cpp (original)
+++ trunk/libs/thread/test/test_futures.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -1157,9 +1157,9 @@
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: futures test suite");
test->add(BOOST_TEST_CASE(test_initial_state));
Modified: trunk/libs/thread/test/test_generic_locks.cpp
==============================================================================
--- trunk/libs/thread/test/test_generic_locks.cpp (original)
+++ trunk/libs/thread/test/test_generic_locks.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -568,9 +568,9 @@
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: generic locks test suite");
test->add(BOOST_TEST_CASE(&test_lock_two_uncontended));
Modified: trunk/libs/thread/test/test_hardware_concurrency.cpp
==============================================================================
--- trunk/libs/thread/test/test_hardware_concurrency.cpp (original)
+++ trunk/libs/thread/test/test_hardware_concurrency.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -11,9 +11,9 @@
BOOST_CHECK(boost::thread::hardware_concurrency()!=0);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: hardware concurrency test suite");
test->add(BOOST_TEST_CASE(test_hardware_concurrency_is_non_zero));
Modified: trunk/libs/thread/test/test_lock_concept.cpp
==============================================================================
--- trunk/libs/thread/test/test_lock_concept.cpp (original)
+++ trunk/libs/thread/test/test_lock_concept.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -546,9 +546,9 @@
BOOST_CHECK(dummy.shared_timed_locked_absolute);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: lock concept test suite");
typedef boost::mpl::vector<boost::mutex,boost::try_mutex,boost::timed_mutex,
Modified: trunk/libs/thread/test/test_move_function.cpp
==============================================================================
--- trunk/libs/thread/test/test_move_function.cpp (original)
+++ trunk/libs/thread/test/test_move_function.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -108,9 +108,9 @@
BOOST_CHECK(user_test_ns::move_called);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: thread move test suite");
test->add(BOOST_TEST_CASE(test_thread_move_from_lvalue_on_construction));
Modified: trunk/libs/thread/test/test_mutex.cpp
==============================================================================
--- trunk/libs/thread/test/test_mutex.cpp (original)
+++ trunk/libs/thread/test/test_mutex.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -331,9 +331,9 @@
timed_test(&do_test_recursive_timed_mutex, 3);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: mutex test suite");
test->add(BOOST_TEST_CASE(&test_mutex));
Modified: trunk/libs/thread/test/test_once.cpp
==============================================================================
--- trunk/libs/thread/test/test_once.cpp (original)
+++ trunk/libs/thread/test/test_once.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -178,9 +178,9 @@
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: call_once test suite");
test->add(BOOST_TEST_CASE(test_call_once));
Modified: trunk/libs/thread/test/test_shared_mutex.cpp
==============================================================================
--- trunk/libs/thread/test/test_shared_mutex.cpp (original)
+++ trunk/libs/thread/test/test_shared_mutex.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -270,9 +270,9 @@
CHECK_LOCKED_VALUE_EQUAL(unblocked_count_mutex,max_simultaneous_writers,1u);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: shared_mutex test suite");
test->add(BOOST_TEST_CASE(&test_multiple_readers));
Modified: trunk/libs/thread/test/test_shared_mutex_part_2.cpp
==============================================================================
--- trunk/libs/thread/test/test_shared_mutex_part_2.cpp (original)
+++ trunk/libs/thread/test/test_shared_mutex_part_2.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -283,9 +283,9 @@
writer.join();
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: shared_mutex test suite");
test->add(BOOST_TEST_CASE(&test_only_one_upgrade_lock_permitted));
Modified: trunk/libs/thread/test/test_shared_mutex_timed_locks.cpp
==============================================================================
--- trunk/libs/thread/test/test_shared_mutex_timed_locks.cpp (original)
+++ trunk/libs/thread/test/test_shared_mutex_timed_locks.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -251,9 +251,9 @@
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: shared_mutex test suite");
test->add(BOOST_TEST_CASE(&test_timed_lock_shared_times_out_if_write_lock_held));
Modified: trunk/libs/thread/test/test_thread.cpp
==============================================================================
--- trunk/libs/thread/test/test_thread.cpp (original)
+++ trunk/libs/thread/test/test_thread.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -216,9 +216,9 @@
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: thread test suite");
test->add(BOOST_TEST_CASE(test_sleep));
Modified: trunk/libs/thread/test/test_thread_exit.cpp
==============================================================================
--- trunk/libs/thread/test/test_thread_exit.cpp (original)
+++ trunk/libs/thread/test/test_thread_exit.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -61,9 +61,9 @@
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: futures test suite");
test->add(BOOST_TEST_CASE(test_thread_exit_func_runs_when_thread_exits));
Modified: trunk/libs/thread/test/test_thread_id.cpp
==============================================================================
--- trunk/libs/thread/test/test_thread_id.cpp (original)
+++ trunk/libs/thread/test/test_thread_id.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -135,9 +135,9 @@
BOOST_CHECK(id==t_id);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: thread move test suite");
test->add(BOOST_TEST_CASE(test_thread_id_for_default_constructed_thread_is_default_constructed_id));
Modified: trunk/libs/thread/test/test_thread_launching.cpp
==============================================================================
--- trunk/libs/thread/test/test_thread_launching.cpp (original)
+++ trunk/libs/thread/test/test_thread_launching.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -209,9 +209,9 @@
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: thread launching test suite");
test->add(BOOST_TEST_CASE(test_thread_function_no_arguments));
Modified: trunk/libs/thread/test/test_thread_move.cpp
==============================================================================
--- trunk/libs/thread/test/test_thread_move.cpp (original)
+++ trunk/libs/thread/test/test_thread_move.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -44,9 +44,9 @@
BOOST_CHECK_EQUAL(the_id,y_id);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: thread move test suite");
test->add(BOOST_TEST_CASE(test_move_on_construction));
Modified: trunk/libs/thread/test/test_thread_move_return.cpp
==============================================================================
--- trunk/libs/thread/test/test_thread_move_return.cpp (original)
+++ trunk/libs/thread/test/test_thread_move_return.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -25,9 +25,9 @@
BOOST_CHECK_EQUAL(the_id,x_id);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: thread move test suite");
test->add(BOOST_TEST_CASE(test_move_from_function_move_return));
Modified: trunk/libs/thread/test/test_thread_return_local.cpp
==============================================================================
--- trunk/libs/thread/test/test_thread_return_local.cpp (original)
+++ trunk/libs/thread/test/test_thread_return_local.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -25,9 +25,9 @@
BOOST_CHECK_EQUAL(the_id,x_id);
}
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: thread move test suite");
test->add(BOOST_TEST_CASE(test_move_from_function_return_local));
Modified: trunk/libs/thread/test/test_tss.cpp
==============================================================================
--- trunk/libs/thread/test/test_tss.cpp (original)
+++ trunk/libs/thread/test/test_tss.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -343,9 +343,9 @@
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: tss test suite");
test->add(BOOST_TEST_CASE(test_tss));
Modified: trunk/libs/thread/test/test_xtime.cpp
==============================================================================
--- trunk/libs/thread/test/test_xtime.cpp (original)
+++ trunk/libs/thread/test/test_xtime.cpp 2011-10-05 05:52:10 EDT (Wed, 05 Oct 2011)
@@ -95,9 +95,9 @@
-boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])
+boost::unit_test::test_suite* init_unit_test_suite(int, char*[])
{
- boost::unit_test_framework::test_suite* test =
+ boost::unit_test::test_suite* test =
BOOST_TEST_SUITE("Boost.Threads: xtime test suite");
test->add(BOOST_TEST_CASE(&test_xtime_cmp));
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