libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include <boost/mpl/list.hpp>
#include "core/factory.hpp"
Go to the source code of this file.
Classes | |
struct | A< Mdl > |
Macros | |
#define | BOOST_TEST_MODULE libjmmcg_tests |
Typedefs | |
typedef boost::mpl::list< ppd::heavyweight_threading, ppd::sequential_mode > | thread_types |
Functions | |
template<class T > | |
T::created_type __fastcall | create_1 () |
template<class T > | |
T::created_type __fastcall | create_2 () |
BOOST_AUTO_TEST_CASE_TEMPLATE (default_ctor, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (fail_to_find_item, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (add_item_and_find_it, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (add_item_and_erase_it, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (add_2_items_and_find_them, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (add_2_items_and_erase_one, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (make_an_item, Mdl, thread_types) | |
template<class T , class Mdl > | |
T::created_type __fastcall | clone_it (const typename T::mapped_type::first_type::element_type &a) |
#define BOOST_TEST_MODULE libjmmcg_tests |
Definition at line 21 of file factory.cpp.
typedef boost::mpl::list<ppd::heavyweight_threading, ppd::sequential_mode> thread_types |
Definition at line 30 of file factory.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | add_2_items_and_erase_one | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 105 of file factory.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | add_2_items_and_find_them | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 93 of file factory.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | add_item_and_erase_it | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 79 of file factory.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | add_item_and_find_it | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 69 of file factory.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | default_ctor | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 54 of file factory.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | fail_to_find_item | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 62 of file factory.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | make_an_item | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 118 of file factory.cpp.
T::created_type __fastcall clone_it | ( | const typename T::mapped_type::first_type::element_type & | a | ) |
Definition at line 148 of file factory.cpp.
T::created_type __fastcall create_1 | ( | ) |
Definition at line 45 of file factory.cpp.
References A< Mdl >::A().
T::created_type __fastcall create_2 | ( | ) |
Definition at line 50 of file factory.cpp.
References A< Mdl >::A().