diff options
Diffstat (limited to 'libs/statechart')
-rw-r--r-- | libs/statechart/doc/index.html | 10 | ||||
-rw-r--r-- | libs/statechart/meta/libraries.json | 14 | ||||
-rw-r--r-- | libs/statechart/test/DeferralBug.cpp | 6 |
3 files changed, 25 insertions, 5 deletions
diff --git a/libs/statechart/doc/index.html b/libs/statechart/doc/index.html index f2e220479..0ea1b2eff 100644 --- a/libs/statechart/doc/index.html +++ b/libs/statechart/doc/index.html @@ -122,11 +122,11 @@ <p>Whether and how Boost.Statechart will work on your platform is best determined on the <a href= - "http://www.boost.org/development/tests/release/developer/statechart.html"> - release branch status page</a>. If the cells in your compilers column are - all green, the library should work as advertised. Cells of different color - indicate possible problems; follow the links for details. Before employing - the library I would also advise to run the tests (see <a href= + "http://www.boost.org/development/tests/trunk/developer/statechart.html"> + status page</a>. If the cells in your compilers column are all green, the + library should work as advertised. Cells of different color indicate + possible problems; follow the links for details. Before employing the + library I would also advise to run the tests (see <a href= "#GettingStarted">Getting started</a>) on your particular platform in all the modes (debug, release, etc.) that are later used during development (the status page shows debug mode results only). The closer the test diff --git a/libs/statechart/meta/libraries.json b/libs/statechart/meta/libraries.json new file mode 100644 index 000000000..148e8cb78 --- /dev/null +++ b/libs/statechart/meta/libraries.json @@ -0,0 +1,14 @@ +{ + "key": "statechart", + "name": "Statechart", + "authors": [ + "Andreas Huber Dönni" + ], + "description": "Boost.Statechart - Arbitrarily complex finite state machines can be implemented in easily readable and maintainable C++ code.", + "category": [ + "State" + ], + "maintainers": [ + "Andreas Huber <ahd6974-boostorg -at- yahoo.com>" + ] +} diff --git a/libs/statechart/test/DeferralBug.cpp b/libs/statechart/test/DeferralBug.cpp index 947225adf..c3ab8ef07 100644 --- a/libs/statechart/test/DeferralBug.cpp +++ b/libs/statechart/test/DeferralBug.cpp @@ -73,6 +73,12 @@ int test_main( int, char* [] ) machine.process_event( ev3to4_2() ); machine.process_event( ev1to2() ); BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); + machine.initiate(); + machine.process_event( ev3to4_1() ); + machine.process_event( ev3to4_2() ); + machine.process_event( ev1to2() ); + machine.process_event( ev2to3() ); + BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); return 0; } |