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