diff --git a/features/specific/boost_specific.feature b/features/specific/boost_specific.feature index 22006b5d..c27f0097 100644 --- a/features/specific/boost_specific.feature +++ b/features/specific/boost_specific.feature @@ -16,64 +16,19 @@ Feature: Check macros used with boost test driver #include #include GIVEN("a step") { - (false); + ; } """ When Cucumber runs the feature Then the scenario Examples: - | check | passes or fails? | - | BOOST_WARN | passes | - | BOOST_CHECK | fails | - | BOOST_REQUIRE | fails | - - - Scenario Outline: macro - Given the following feature: - """ - Feature: Feature name - Scenario: Scenario name - Given a step - """ - And a step definition file with: - """ - #include - #include - GIVEN("a step") { - (false, "boost message"); - } - """ - When Cucumber runs the feature - Then the scenario - - Examples: - | check | passes or fails? | - | BOOST_WARN_MESSAGE | passes | - | BOOST_CHECK_MESSAGE | fails with message "boost message" | - | BOOST_REQUIRE_MESSAGE | fails with message "boost message" | - - - Scenario Outline: macro - Given the following feature: - """ - Feature: Feature name - Scenario: Scenario name - Given a step - """ - And a step definition file with: - """ - #include - #include - GIVEN("a step") { - ("boost message"); - } - """ - When Cucumber runs the feature - Then the scenario - - Examples: - | check | passes or fails? | - | BOOST_ERROR | fails with message "boost message" | - | BOOST_FAIL | fails with message "boost message" | - + | check | passes or fails? | + | BOOST_CHECK(false) | fails | + | BOOST_CHECK_MESSAGE(false, "boost message") | fails with message "boost message" | + | BOOST_ERROR("boost message") | fails with message "boost message" | + | BOOST_FAIL("boost message") | fails with message "boost message" | + | BOOST_REQUIRE(false) | fails | + | BOOST_REQUIRE_MESSAGE(false, "boost message") | fails with message "boost message" | + | BOOST_WARN(false) | passes | + | BOOST_WARN_MESSAGE(false, "boost message") | passes |