Warning, file /include/boost/beast/_experimental/unit_test/global_suites.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_BEAST_UNIT_TEST_GLOBAL_SUITES_HPP
0011 #define BOOST_BEAST_UNIT_TEST_GLOBAL_SUITES_HPP
0012
0013 #include <boost/beast/_experimental/unit_test/suite_list.hpp>
0014
0015 namespace boost {
0016 namespace beast {
0017 namespace unit_test {
0018
0019 namespace detail {
0020
0021
0022 inline
0023 suite_list&
0024 global_suites()
0025 {
0026 static suite_list s;
0027 return s;
0028 }
0029
0030 template<class Suite>
0031 struct insert_suite
0032 {
0033 insert_suite(char const* name, char const* module,
0034 char const* library, bool manual)
0035 {
0036 global_suites().insert<Suite>(
0037 name, module, library, manual);
0038 }
0039 };
0040
0041 }
0042
0043
0044 inline
0045 suite_list const&
0046 global_suites()
0047 {
0048 return detail::global_suites();
0049 }
0050
0051 }
0052 }
0053 }
0054
0055 #endif