update gtest

This commit is contained in:
Matthew Kennedy 2023-02-23 12:07:55 -08:00
parent eac3582e05
commit 5f69590114
3 changed files with 5 additions and 3 deletions

View File

@ -73,7 +73,7 @@ int EngineTestHelper::getWarningCounter() {
EngineTestHelper::EngineTestHelper(engine_type_e engineType, configuration_callback_t configurationCallback, const std::unordered_map<SensorType, float>& sensorValues) :
EngineTestHelperBase(&engine, &persistentConfig.engineConfiguration, &persistentConfig)
{
memset(&persistentConfig, 0, sizeof(persistentConfig));
efi::clear(persistentConfig);
Sensor::setMockValue(SensorType::Clt, 70);
Sensor::setMockValue(SensorType::Iat, 30);
@ -84,7 +84,7 @@ EngineTestHelper::EngineTestHelper(engine_type_e engineType, configuration_callb
unitTestWarningCodeState.clear();
memset(&activeConfiguration, 0, sizeof(activeConfiguration));
efi::clear(activeConfiguration);
enginePins.reset();
enginePins.unregisterPins();

@ -1 +1 @@
Subproject commit dcc92d0ab6c4ce022162a23566d44f673251eee4
Subproject commit 39a26e12d67ed6c21feeb606372bfee39a8e6d53

View File

@ -2,8 +2,10 @@
// todo: adjust the makefile so that we can remove this
#include "googletest/googletest/src/gtest.cc"
#include "googletest/googletest/src/gtest-assertion-result.cc"
#include "googletest/googletest/src/gtest-death-test.cc"
#include "googletest/googletest/src/gtest-filepath.cc"
#include "googletest/googletest/src/gtest-matchers.cc"
#include "googletest/googletest/src/gtest-port.cc"
#include "googletest/googletest/src/gtest-printers.cc"
#include "googletest/googletest/src/gtest-test-part.cc"