...
- CPPTEST_REPORT_ENUM(<scoped enum name>, <txt>, <value>)
- CPPTEST_POST_CONDITION_ENUM(<scoped enum name>, <value string>, <value>)
- CPPTEST_ASSERT_ENUM_EQUAL(<scoped enum name>, <expected>, <actual>)
- CPPTEST_ASSERT_ENUM_EQUAL_MESSAGE( <scoped enum name>, <msg>, <expected>, <actual>)
where:
<scoped enum name>
is full name of enumeration, including all namespace names
...
- (for example: INNER_NS::MyEnumeration, INNER_NS::MyClass::MyEnumeration
...
- ).
<value string>
is a string that describes the reported value
...
- .
<value>
is an integral value or enumerator
...
- .
<txt>
is a string that describes the reported value.<expected>
is an integral value or enumerator.
Info |
---|
The API macros presented above require the “Enable enum data autogeneration” test configuration option to be enabled. Go to Test Configuration > Execution tab > General tab > Instrumentation mode > Edit > Instrumentation features > Advanced options to configure this option. |
...