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 setTestEngineConfiguration(DECLARE_ENGINE_PARAMETER_F);
void setTestVVTEngineConfiguration(DECLARE_ENGINE_PARAMETER_F); void setTestVVTEngineConfiguration(DECLARE_ENGINE_PARAMETER_F);
void setTestEngineIssue366(DECLARE_ENGINE_PARAMETER_F);
#endif /* TEST_ENGINE_H_ */ #endif /* TEST_ENGINE_H_ */

View File

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

View File

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