This commit is contained in:
rusefi 2017-03-05 14:33:35 -05:00
parent 885b24b53c
commit 9c2a9de2f6
3 changed files with 6 additions and 4 deletions

View File

@ -12,4 +12,6 @@
void setTestEngineConfiguration(DECLARE_ENGINE_PARAMETER_F);
void setTestVVTEngineConfiguration(DECLARE_ENGINE_PARAMETER_F);
void setTestEngineIssue366(DECLARE_ENGINE_PARAMETER_F);
#endif /* TEST_ENGINE_H_ */

View File

@ -26,7 +26,7 @@ public:
InjectorOutputPin *outputs[MAX_WIRES_COUNT];
bool isOverlapping;
int ownIndex;
#if EFI_UNIT_TEST
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
Engine *engine;
#endif
event_trigger_position_s injectionStart;
@ -52,7 +52,7 @@ public:
int sparkId;
int cylinderIndex;
char *name;
#if EFI_UNIT_TEST
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
Engine *engine;
#endif
IgnitionOutputPin *getOutputForLoggins();

View File

@ -68,7 +68,7 @@ bool EventQueue::insertTask(const bool monitorReuse, const char *prefix, schedul
if (head == NULL || timeX < head->momentX) {
LL_PREPEND(head, scheduling);
#if EFI_UNIT_TEST
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
assertListIsSorted();
#endif /* EFI_UNIT_TEST */
return true;
@ -156,7 +156,7 @@ int EventQueue::executeAll(efitime_t now) {
break;
}
}
#if EFI_UNIT_TEST
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
assertListIsSorted();
#endif