put mock in enginetesthelper
This commit is contained in:
parent
42c6a641ad
commit
50fc127555
|
@ -83,6 +83,10 @@ EngineTestHelper::EngineTestHelper(engine_type_e engineType, configuration_callb
|
|||
// this is needed to have valid CLT and IAT.
|
||||
//todo: reuse initPeriodicEvents(PASS_ENGINE_PARAMETER_SIGNATURE) method
|
||||
engine->periodicSlowCallback(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
||||
// Setup running in mock airmass mode
|
||||
engineConfiguration->injectionMode = LM_MOCK;
|
||||
engine->mockAirmassModel = &mockAirmass;
|
||||
}
|
||||
|
||||
EngineTestHelper::~EngineTestHelper() {
|
||||
|
|
|
@ -83,6 +83,8 @@ public:
|
|||
Engine engine;
|
||||
persistent_config_s persistentConfig;
|
||||
|
||||
MockAirmass mockAirmass;
|
||||
|
||||
private:
|
||||
void writeEvents(const char *fileName);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue