Commit Graph

62 Commits

Author SHA1 Message Date
Matthew Kennedy 5f69d23976
fix mock pins array (#2050)
* fix

* fix probably
2020-12-10 00:10:58 -05:00
Matthew Kennedy a5ba9d54dc
fix etb unit test idle hardware (#1991)
* move check to etb

* give it a sensor to read
2020-11-26 19:21:42 -05:00
rusefillc c52c6f45c9 Starter seems to be engaged forever #1965 2020-11-18 21:22:01 -05:00
David Holdeman 337106cd24
DebounceButton A/C switch (#1782)
* change acSwitch name, add mode

* fix

* remove some adc stuff

* remove some adc stuff

* semicolon stupid

* left behind

* add readpinstate

* wrong var name

* add functions back

* fix name

* bool, not void, plus fix name

* move

* not sure what I broke

* try setMockValue

* namespace

* whoops missed one

* switch values because adc was set up for pullup

* try 5

* comment for now

* comment for now

* uncomment tests, add function to mock, add mock to efiReadPin

* fixes

* for F's sake

* if

* add defy

* pass params

* use ASSERT_TRUE/FALSE

* advance time

* remove ifdef from readPin

* try moving if

* move to separate func

* move extern

* move include

* try engine_test_helper

* am confuse

* move func to else

* include hal

* add efi prod check

* remove include

* try extern

* move include

* semicolon stupid

* move extern again

* include

* move mockPinStates

* size

* add if

* add comment

* clean on instantiation
2020-09-10 22:16:20 -04:00
Matthew Kennedy d57465a6d3 eth adjustments 2020-07-28 14:18:50 -07:00
Matthew Kennedy 2289c465b5 fixes 2020-07-28 11:56:39 -07:00
Matthew Kennedy 50fc127555 put mock in enginetesthelper 2020-07-26 20:39:42 -07:00
Matthew Kennedy 27f346b0ff make private 2020-07-20 18:50:48 -07:00
rusefi de66f4dc6e unit test framework improvements for smoother event execution 2020-07-20 11:16:51 -04:00
rusefi b2edd3a4f4 logicdata into unit tests 2020-07-20 00:36:10 -04:00
Matthew Kennedy b11c5cd8c8
switch some firmware warnings to errors (#1465)
* warnings as errors

* throw instead of exit

* test massaging

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-23 10:46:28 -04:00
Matthew Kennedy bc15e0826d
CLT consumer: fsio (#1302)
* idle

* CLT test prep

* idle target

* header

* air interpolate

* ancient comment

* fuel cut

* fuel cut, idle tests

* cleanup

* fsio test help
2020-04-15 16:20:45 -04:00
Matthew Kennedy 044766ec70
New clt consumers part 1 (#1301)
* idle

* CLT test prep

* idle target

* header

* air interpolate

* ancient comment

* fuel cut

* fuel cut, idle tests

* cleanup
2020-04-15 09:48:17 -04:00
Matthew Kennedy 3186741ddc
TPS Initialization Testing (#1264)
* test support

* stub for tests

* plumbing so we can test this

* add test

* comments
2020-04-05 09:10:08 -04:00
Matthew Kennedy 53679fab54
Finally rename injector_central to bench_test (#1229)
* bench test rename

* rename consumers

* good lord what are all of these externs doing

* fix tests
2020-03-26 08:03:55 -04:00
rusefi b83a5310be happy new year 2020-01-08 00:02:40 -05:00
rusefi c5cfd21a70 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi bec88bf8c8 EngineTestHelper progress 2019-12-03 00:20:47 -05:00
rusefi 7ee657d238 aux valves unit test 2019-11-23 22:55:21 -05:00
rusefi 2acdbf308b something is over-complicated here? looks like two classes should become one? 2019-10-08 02:56:19 -04:00
rusefi e6f5a6e3f4 refactoring: all events are now validated in relation to current timestamp 2019-10-07 23:02:47 -04:00
rusefi 0380d4d709 refactoring 2019-10-07 21:54:03 -04:00
rusefi 5e48109780 docs & refactoring 2019-10-07 21:23:38 -04:00
rusefi 121ad9b786 fixing build & taking a safer route 2019-08-08 22:12:51 -04:00
rusefi 7d73c6a8a9 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
fancy smansy unit test with some C++11
2019-08-08 21:27:57 -04:00
rusefi c6198e34ec BUG: phase sensor validation attending - detect missing CAM signal #659
refactoring and unit test first phase
2019-05-10 21:56:33 -04:00
rusefi 4e61505620 refactoring unit test 2019-05-10 21:29:17 -04:00
rusefi 358af4ff89 testing API improvement (?) 2019-01-21 22:34:17 -05:00
rusefi d15399bba4 refactoring around GET_RPM 2019-01-21 22:32:30 -05:00
rusefi 1b8217392c micro test refactoring 2019-01-21 19:15:17 -05:00
rusefi 3697fc6052 future fast spinning 60/2 test 2019-01-20 22:21:12 -05:00
rusefi a8b3c8f8d2 refactoring: better location for shared methods 2019-01-15 21:36:13 -05:00
rusefi 01095219ba docs 2019-01-14 11:36:46 -05:00
andreika-git 775775e4fd fix! (#673) 2019-01-14 11:33:58 -05:00
rusefi 34cfdfd718 reducing global variables in tests 2019-01-10 21:50:13 -05:00
rusefi a32e8a3530 reducing global variables in tests 2019-01-10 21:26:02 -05:00
rusefi 8a2494a646 reducing global variables in tests 2019-01-10 21:19:46 -05:00
rusefi f68cb90e6c gtest 2019-01-08 22:10:54 -05:00
rusefi cdb235cd82 refactoring 2018-07-28 19:51:41 -04:00
rusEfi cf1d5e2f3e refactoring 2018-07-28 19:35:50 -04:00
rusefi 010099aa0d refactoring 2018-07-28 15:31:01 -04:00
rusefi 5309d606cd refactoring 2018-03-04 23:08:32 -05:00
rusefi f7b3e16d8f refactoring unit tests 2018-03-04 16:38:01 -05:00
rusefi cc889cf315 docs 2018-03-04 16:34:23 -05:00
rusEfi c869c21ba8 auto-sync 2016-12-18 12:03:48 -05:00
rusEfi 7403a07cab auto-sync 2016-09-15 14:02:45 -04:00
rusEfi 822ff72a0c auto-sync 2016-08-27 19:02:43 -04:00
rusEfi 63537e2212 auto-sync 2016-08-26 20:03:06 -04:00
rusEfi d61835fa46 auto-sync 2016-08-26 18:02:39 -04:00
rusEfi d2a790bd0c auto-sync 2016-01-25 01:02:55 -05:00