File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments