#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include <boost/mpl/list.hpp>
#include "core/thread_api_traits.hpp"
Go to the source code of this file.
|
typedef boost::mpl::list< api_lock_traits< platform_api, sequential_mode >::atomic_counter_type< long >, api_lock_traits< platform_api, heavyweight_threading >::atomic_counter_type< long >, api_lock_traits< platform_api, heavyweight_threading >::atomic_counter_type< double >> | ctr_types |
|
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (default_ctor, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (ctor, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (cctor, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (assign, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (increment, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (postincrement, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (decrement, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (postdecrement, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (add_one, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (subtract_one, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (apply_plus, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (apply_minus, ctr_t, ctr_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (apply_multiply, ctr_t, ctr_types) |
|
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE libjmmcg_tests |
◆ ctr_types
typedef boost::mpl::list< api_lock_traits<platform_api, sequential_mode>::atomic_counter_type<long>, api_lock_traits<platform_api, heavyweight_threading>::atomic_counter_type<long>, api_lock_traits<platform_api, heavyweight_threading>::atomic_counter_type<double>> ctr_types |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
add_one |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
apply_minus |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
apply_multiply |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [4/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
apply_plus |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [5/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
assign |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [6/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
cctor |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [7/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
ctor |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [8/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
decrement |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [9/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
default_ctor |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [10/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
increment |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [11/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
postdecrement |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [12/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
postincrement |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [13/13]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
subtract_one |
, |
|
|
ctr_t |
, |
|
|
ctr_types |
|
|
) |
| |