@@ -202,19 +202,19 @@ namespace v1 {
202
202
};
203
203
204
204
// / does not repeat this test case and immediately moves on to the next one without timeout
205
- const control_t CaseNext (REPEAT_NONE, TIMEOUT_NONE) ;
205
+ extern const control_t CaseNext;
206
206
207
207
// / does not repeat this test case, moves on to the next one
208
- const control_t CaseNoRepeat (REPEAT_NONE) ;
208
+ extern const control_t CaseNoRepeat;
209
209
// / repeats the test case handler with calling teardown and setup handlers
210
- const control_t CaseRepeatAll (REPEAT_ALL) ;
210
+ extern const control_t CaseRepeatAll;
211
211
// / repeats only the test case handler without calling teardown and setup handlers
212
- const control_t CaseRepeatHandler (REPEAT_HANDLER) ;
212
+ extern const control_t CaseRepeatHandler;
213
213
214
214
// / No timeout, immediately moves on to the next case, but allows repeats
215
- const control_t CaseNoTimeout (TIMEOUT_NONE) ;
215
+ extern const control_t CaseNoTimeout;
216
216
// / Awaits until the callback is validated and never times out. Use with caution!
217
- const control_t CaseAwait (TIMEOUT_FOREVER) ;
217
+ extern const control_t CaseAwait;
218
218
// / Alias class for asynchronous timeout control in milliseconds
219
219
inline control_t CaseTimeout (uint32_t ms) { return ms; }
220
220
@@ -341,8 +341,11 @@ namespace v1 {
341
341
342
342
343
343
// deprecations
344
- __deprecated_message (" Use CaseRepeatAll instead." ) const control_t CaseRepeat = CaseRepeatAll;
345
- __deprecated_message (" Use CaseRepeatHandler instead." ) const control_t CaseRepeatHandlerOnly = CaseRepeatHandler;
344
+ __deprecated_message (" Use CaseRepeatAll instead." )
345
+ extern const control_t CaseRepeat;
346
+
347
+ __deprecated_message (" Use CaseRepeatHandler instead." )
348
+ extern const control_t CaseRepeatHandlerOnly;
346
349
347
350
__deprecated_message (" Use REASON_NONE instead." ) const failure_reason_t FAILURE_NONE = REASON_NONE;
348
351
__deprecated_message (" Use REASON_UNKNOWN instead." ) const failure_reason_t FAILURE_UNKNOWN = REASON_UNKNOWN;
0 commit comments