We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74cacb commit 3dfbfd0Copy full SHA for 3dfbfd0
cpputest-for-qpc-lib/include/cms_cpputest_qf_ctrl.hpp
@@ -36,8 +36,17 @@ class PublishedEventRecorder;
36
37
namespace qf_ctrl {
38
39
-static constexpr uint8_t UNIT_UNDER_TEST_PRIORITY = QF_MAX_ACTIVE;
40
-static constexpr uint8_t RECORDER_PRIORITY = 1;
+enum : uint8_t {
+ RECORDER_PRIORITY = 1,
41
+ DUMMY_AO_A_PRIORITY,
42
+ DUMMY_AO_B_PRIORITY,
43
+ DUMMY_AO_C_PRIORITY,
44
+ DUMMY_AO_D_PRIORITY,
45
+ DUMMY_AO_E_PRIORITY,
46
+ UNIT_UNDER_TEST_PRIORITY
47
+};
48
+static_assert(UNIT_UNDER_TEST_PRIORITY < QF_MAX_ACTIVE,
49
+ "too many priorities defined");
50
51
enum class MemPoolTeardownOption { CHECK_FOR_LEAKS, IGNORE };
52
0 commit comments