]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/statechart/test/TuTestMain.cpp
1 //////////////////////////////////////////////////////////////////////////////
2 // Copyright 2005-2006 Andreas Huber Doenni
3 // Distributed under the Boost Software License, Version 1.0. (See accompany-
4 // ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 //////////////////////////////////////////////////////////////////////////////
11 #include <boost/test/test_tools.hpp>
17 int test_main( int, char* [] )
21 // unconsumed_event sanity check
22 BOOST_REQUIRE_THROW( machine
.process_event( EvY() ), std::runtime_error
);
23 machine
.process_event( EvX() );