libmoost
|
#include <boost/test/unit_test.hpp>
#include <boost/test/test_tools.hpp>
#include <stdexcept>
#include <csignal>
#include <set>
#include <boost/bind.hpp>
#include "../../include/moost/utils/scope_exit.hpp"
Go to the source code of this file.
Classes | |
struct | Fixture |
Functions | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_set_default_value, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_set_default_value_cancel, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_set_specific_value, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_set_specific_value_cancel, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_restore_original_value, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_restore_original_value_cancel, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_member_function_default_, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_member_function_default_cancel, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_member_function, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_member_function_cancel, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_free_function_with_ref, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_free_function_with_ref_cancel, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_free_functor_with_ref, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_free_functor_with_ref_cancel, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_free_function_with_val, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_free_function_with_val_cancel, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_functor_with_val, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_functor_with_val_cancel, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_functor, Fixture) | |
BOOST_FIXTURE_TEST_CASE (test_utils_scope_exit_call_functor_cancel, Fixture) |
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_set_default_value | , |
Fixture | |||
) |
Definition at line 64 of file scope_exit.cpp.
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_set_default_value_cancel | , |
Fixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_set_specific_value | , |
Fixture | |||
) |
Definition at line 100 of file scope_exit.cpp.
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_set_specific_value_cancel | , |
Fixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_restore_original_value | , |
Fixture | |||
) |
Definition at line 121 of file scope_exit.cpp.
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_restore_original_value_cancel | , |
Fixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_member_function_default_ | , |
Fixture | |||
) |
Definition at line 175 of file scope_exit.cpp.
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_member_function_default_cancel | , |
Fixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_member_function | , |
Fixture | |||
) |
Definition at line 213 of file scope_exit.cpp.
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_member_function_cancel | , |
Fixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_free_function_with_ref | , |
Fixture | |||
) |
Definition at line 255 of file scope_exit.cpp.
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_free_function_with_ref_cancel | , |
Fixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_free_functor_with_ref | , |
Fixture | |||
) |
Definition at line 276 of file scope_exit.cpp.
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_free_functor_with_ref_cancel | , |
Fixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_free_function_with_val | , |
Fixture | |||
) |
Definition at line 315 of file scope_exit.cpp.
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_free_function_with_val_cancel | , |
Fixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_functor_with_val | , |
Fixture | |||
) |
Definition at line 338 of file scope_exit.cpp.
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_functor_with_val_cancel | , |
Fixture | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_functor | , |
Fixture | |||
) |
Definition at line 376 of file scope_exit.cpp.
BOOST_FIXTURE_TEST_CASE | ( | test_utils_scope_exit_call_functor_cancel | , |
Fixture | |||
) |