action_tests.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. /*=============================================================================
  2. Copyright (c) 2003 Jonathan de Halleux (dehalleux@pelikhan.com)
  3. http://spirit.sourceforge.net/
  4. Use, modification and distribution is subject to the Boost Software
  5. License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. http://www.boost.org/LICENSE_1_0.txt)
  7. =============================================================================*/
  8. #ifndef BOOST_SPIRIT_ACTOR_TEST_HPP
  9. #define BOOST_SPIRIT_ACTOR_TEST_HPP
  10. #include <boost/detail/lightweight_test.hpp>
  11. #include "../impl/string_length.hpp"
  12. ///////////////////////////////////////////////////////////////////////////////
  13. // Test suite for actors
  14. ///////////////////////////////////////////////////////////////////////////////
  15. void assign_action_test();
  16. void assign_key_action_test();
  17. void clear_action_test();
  18. void decrement_action_test();
  19. void erase_action_test();
  20. void increment_action_test();
  21. void insert_key_action_test();
  22. void insert_at_action_test();
  23. void push_back_action_test();
  24. void push_front_action_test();
  25. void swap_action_test();
  26. #define BOOST_CHECK(t) BOOST_TEST((t));
  27. #define BOOST_CHECK_EQUAL(a, b) BOOST_TEST((a == b));
  28. #define BOOST_MESSAGE(m) std::cout << m << std::endl
  29. #endif