mirror of https://github.com/rusefi/rusefi-1.git
migrating to googletest
This commit is contained in:
parent
13ee53ad09
commit
1f410ad7cc
|
@ -24,8 +24,6 @@
|
|||
#include "afm2mapConverter.h"
|
||||
#include "test_signal_executor.h"
|
||||
#include "trigger_central.h"
|
||||
#include "test_startOfCrankingPrimingPulse.h"
|
||||
#include "test_fasterEngineSpinningUp.h"
|
||||
#include "test_util.h"
|
||||
#include "map_resize.h"
|
||||
#include "engine_math.h"
|
||||
|
@ -67,9 +65,6 @@ GTEST_API_ int main(int argc, char **argv) {
|
|||
testPidAuto();
|
||||
|
||||
testLogicExpressions(); // fsio
|
||||
testPlainCrankingWithoutAdvancedFeatures();
|
||||
testStartOfCrankingPrimingPulse();
|
||||
testFasterEngineSpinningUp();
|
||||
testGpsParser();
|
||||
testFuelMap();
|
||||
testEngineMath();
|
||||
|
|
|
@ -5,12 +5,11 @@
|
|||
*/
|
||||
|
||||
#include "engine_math.h"
|
||||
#include "test_fasterEngineSpinningUp.h"
|
||||
#include "test_trigger_decoder.h"
|
||||
|
||||
extern int timeNowUs;
|
||||
|
||||
void testFasterEngineSpinningUp() {
|
||||
TEST(sensors, testFasterEngineSpinningUp) {
|
||||
// this is just a reference unit test implementation
|
||||
printf("*************************************************** testFasterEngineSpinningUp\r\n");
|
||||
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* test_fasterEngineSpinningUp.h
|
||||
*
|
||||
* Created on: Mar 6, 2018
|
||||
*/
|
||||
|
||||
#ifndef TEST_FASTERENGINESPINNINGUP_H_
|
||||
#define TEST_FASTERENGINESPINNINGUP_H_
|
||||
|
||||
#include "global.h"
|
||||
|
||||
void testFasterEngineSpinningUp();
|
||||
|
||||
#endif /* TEST_FASTERENGINESPINNINGUP_H_ */
|
|
@ -5,13 +5,12 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2018
|
||||
*/
|
||||
|
||||
#include "test_startOfCrankingPrimingPulse.h"
|
||||
#include "test_trigger_decoder.h"
|
||||
|
||||
extern int timeNowUs;
|
||||
extern EnginePins enginePins;
|
||||
|
||||
void testPlainCrankingWithoutAdvancedFeatures() {
|
||||
TEST(engine, testPlainCrankingWithoutAdvancedFeatures) {
|
||||
// this is just a reference unit test implementation
|
||||
printf("*************************************************** testPlainCrankingWithoutAdvancedFeatures\r\n");
|
||||
|
||||
|
@ -36,7 +35,7 @@ void testPlainCrankingWithoutAdvancedFeatures() {
|
|||
}
|
||||
|
||||
|
||||
void testStartOfCrankingPrimingPulse() {
|
||||
TEST(engine, testStartOfCrankingPrimingPulse) {
|
||||
printf("*************************************************** testStartOfCrankingPrimingPulse\r\n");
|
||||
|
||||
EngineTestHelper eth(TEST_ENGINE);
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* test_startOfCrankingPrimingPulse.h
|
||||
*
|
||||
* Created on: Mar 4, 2018
|
||||
* @author Andrey Belomutskiy, (c) 2012-2018
|
||||
*/
|
||||
|
||||
#ifndef TEST_STARTOFCRANKINGPRIMINGPULSE_H_
|
||||
#define TEST_STARTOFCRANKINGPRIMINGPULSE_H_
|
||||
|
||||
#include "global.h"
|
||||
|
||||
void testPlainCrankingWithoutAdvancedFeatures();
|
||||
void testStartOfCrankingPrimingPulse();
|
||||
|
||||
#endif /* TEST_STARTOFCRANKINGPRIMINGPULSE_H_ */
|
Loading…
Reference in New Issue