Skip to content

Commit 8b850b4

Browse files
committed
nits
1 parent e5b2ea9 commit 8b850b4

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

TestUtils/RuleBasedTesting.hpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@
4646
// -----------------------------------------------------------------------
4747
//! \def FW_RBT_DEFINE_RULE
4848
//!
49-
//! Defines everything needed for one rule inside a ComponentTester class:
49+
//! Defines everything needed for one rule inside a TestState class:
5050
//! 1) GroupName__RuleName__precondition() const — declaration
5151
//! 2) GroupName__RuleName__action() — declaration
5252
//! 3) struct GroupName__RuleName : STest::Rule<TEST_STATE> — definition
5353
//!
54-
//! Place inside the tester class body; implement both method bodies in a
55-
//! per-group .cpp file.
54+
//! To use:
55+
//! 1. Place the macro inside the TestState class body for each rule (usually
56+
//! TestState is a ComponentTester class for rules of F Prime components)
57+
//! 2. Implement both method bodies in a cpp file (e.g. GroupName.cpp)
5658
//!
5759
//! \param TEST_STATE The TestState class (usually a ComponentTester class for component RBT)
5860
//! \param GROUP_NAME Rule group: appears in method names and the rule label

0 commit comments

Comments
 (0)