libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
thread_safe_colln.cpp File Reference
#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include <boost/mpl/list.hpp>
#include "core/thread_safe_adaptors.hpp"
#include "core/rw_locking.hpp"
Include dependency graph for thread_safe_colln.cpp:

Go to the source code of this file.

Classes

struct  erew_colln_t< Mdl, Colln >
 
struct  crew_colln_t< Mdl, Colln >
 
struct  erew_queue_t< Mdl, Colln >
 
struct  erew_funky_queue_t< Mdl, Colln >
 

Macros

#define BOOST_TEST_MODULE   libjmmcg_tests
 

Typedefs

typedef boost::mpl::list< heavyweight_threading, sequential_mode > test_types
 

Functions

 BOOST_AUTO_TEST_CASE_TEMPLATE (default_ctor, Mdl, test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (cctor, Mdl, test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (cctor_1, Mdl, test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (cctor_2, Mdl, test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (assignment, Mdl, test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (add_item, Mdl, test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (add_item_copy, Mdl, test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (clear, Mdl, test_types)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   libjmmcg_tests

Definition at line 21 of file thread_safe_colln.cpp.

Typedef Documentation

◆ test_types

typedef boost::mpl::list< heavyweight_threading, sequential_mode > test_types

Definition at line 72 of file thread_safe_colln.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/8]

BOOST_AUTO_TEST_CASE_TEMPLATE ( add_item  ,
Mdl  ,
test_types   
)

Definition at line 130 of file thread_safe_colln.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/8]

BOOST_AUTO_TEST_CASE_TEMPLATE ( add_item_copy  ,
Mdl  ,
test_types   
)

Definition at line 141 of file thread_safe_colln.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/8]

BOOST_AUTO_TEST_CASE_TEMPLATE ( assignment  ,
Mdl  ,
test_types   
)

Definition at line 120 of file thread_safe_colln.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [4/8]

BOOST_AUTO_TEST_CASE_TEMPLATE ( cctor  ,
Mdl  ,
test_types   
)

Definition at line 87 of file thread_safe_colln.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [5/8]

BOOST_AUTO_TEST_CASE_TEMPLATE ( cctor_1  ,
Mdl  ,
test_types   
)

Definition at line 97 of file thread_safe_colln.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [6/8]

BOOST_AUTO_TEST_CASE_TEMPLATE ( cctor_2  ,
Mdl  ,
test_types   
)

Definition at line 108 of file thread_safe_colln.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [7/8]

BOOST_AUTO_TEST_CASE_TEMPLATE ( clear  ,
Mdl  ,
test_types   
)

Definition at line 153 of file thread_safe_colln.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [8/8]

BOOST_AUTO_TEST_CASE_TEMPLATE ( default_ctor  ,
Mdl  ,
test_types   
)

Definition at line 78 of file thread_safe_colln.cpp.