David Holdeman
e8e2cf2cfd
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
eea3f2cf36
fix tests
2020-07-28 14:27:34 -07:00
Matthew Kennedy
a3c0942e1a
eth adjustments
2020-07-28 14:18:50 -07:00
Matthew Kennedy
c00621756d
fixes
2020-07-28 11:56:39 -07:00
Matthew Kennedy
7a479fa44f
put mock in enginetesthelper
2020-07-26 20:39:42 -07:00
Matthew Kennedy
5c4e22fd16
auto export all logicdata
2020-07-20 13:12:21 -07:00
rusefi
117e98b753
unit test framework improvements for smoother event execution
2020-07-20 12:45:26 -04:00
rusefi
c4885dcc0e
unit test framework improvements for smoother event execution
2020-07-20 11:16:51 -04:00
rusefi
e2c8e97aa0
logicdata into unit tests
2020-07-20 00:36:10 -04:00
rusefi
e2c62b8ab3
better unit test logging
2020-07-19 15:47:21 -04:00
Matthew Kennedy
c95ed26d89
Remove old thermistor implementation ( #1458 )
...
* remove test clt/iat
* remove warning since this code is nearly dead
* remove old therm impl
* tests & live doc
* not quite right
2020-05-28 17:51:33 -04:00
Matthew Kennedy
a2313a853c
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
rusefi
bb6cd1326c
Clean-up analog channels in "unit" tests #1456
2020-05-20 03:54:40 -04:00
rusefi
f47f5089ba
Clean-up analog channels in "unit" tests #1456
2020-05-20 03:49:56 -04:00
Matthew Kennedy
c5bba14da5
remove test clt/iat ( #1457 )
...
* remove test clt/iat
* remove warning since this code is nearly dead
2020-05-20 03:16:01 -04:00
Matthew Kennedy
2535d123b8
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
83592f0dff
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
95ef31da67
Goodbye, old TPS ( #1266 )
...
* clear out tps
* boost control
* aux valves
* launch, aux valves
* unused field
2020-04-05 19:33:33 -04:00
Matthew Kennedy
43d38a6691
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
9a21262cf8
TPS consumers: idle and ignition and obd2 and lcd ( #1254 )
...
* advance_map
* tests
* unneeded
* idle
* use driver intent instead
* and obd and lcd
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-03 19:59:08 -04:00
Matthew Kennedy
b7033bbde9
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
67a3796086
better method names
2020-01-10 23:17:58 -05:00
Matthew Kennedy
cb1039fe23
Inject timestamps in to hwHandleShaftSignal ( #1090 )
...
* injection
* injectors
2020-01-09 21:19:11 +03:00
rusefi
4605c64a07
that's not a worth a file
2019-12-24 00:03:53 -05:00
rusefi
bf5767ccd8
dead code
2019-12-23 23:42:50 -05:00
rusefi
ae615376ea
refactoring
2019-12-23 23:32:43 -05:00
rusefi
c629b21ab4
adding simplicity
2019-12-23 23:25:08 -05:00
rusefi
67e1f06d36
simplicity?
2019-12-23 22:50:04 -05:00
rusefi
de480fe05e
adding simplicity
2019-12-23 22:30:58 -05:00
rusefi
f47a1a16d1
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
bcec694eb1
just a trivial massive rename: TriggerState > TriggerWaveform
2019-12-08 01:09:39 -05:00
rusefi
5a299fcd9c
refactoring - updating name according to new reality
2019-12-03 14:39:11 -05:00
rusefi
ccd056d331
EngineTestHelper progress
2019-12-03 00:20:47 -05:00
rusefi
079598a87e
reducing complexity
2019-12-02 23:29:06 -05:00
rusefi
d8a10139c2
misc clean-up
2019-12-02 10:18:13 -05:00
rusefi
5ac023d987
misc clean-up
2019-12-02 10:03:50 -05:00
rusefi
18bb121cbe
aux valves unit test
2019-11-23 22:55:21 -05:00
rusefi
af3118fd42
making progres on angle-based scheduling
2019-11-23 20:36:40 -05:00
rusefi
f15986b9aa
refactoring
2019-11-23 18:38:16 -05:00
Matthew Kennedy
0a7535fb1f
Use templated array references ( #1027 )
...
* update defs
* consumers, use default params
* setArrayValues in tests
* floats
* test fixing
2019-11-22 23:27:24 -05:00
andreika-git
ef23be6893
Kinetis & TLE8888 compatibility & fixes... ( #991 )
...
* TLE8888: More compatibility & postTunerStudioState
* activeConfiguration & EFI_ACTIVE_CONFIGURATION_IN_FLASH fix
* Kinetis: jump_to_bootloader() impl.
* Kinetis: UART baudrate safety check
* Kinetis: OMG!..
2019-10-31 16:06:34 -04:00
rusefi
875fb3d1bc
something is over-complicated here? looks like two classes should become one?
2019-10-08 02:56:19 -04:00
rusefi
415de92543
something is over-complicated here? looks like two classes should become one?
2019-10-08 02:35:21 -04:00
rusefi
15ae9b1580
fancy C++ s/NULL/nullptr/
2019-10-08 01:26:35 -04:00
rusefi
95d3368b0f
refactoring: all events are now validated in relation to current timestamp
2019-10-07 23:02:47 -04:00
rusefi
63375dc24c
refactoring
2019-10-07 21:54:03 -04:00
rusefi
b68ed9f8cb
docs & refactoring
2019-10-07 21:23:38 -04:00
rusefi
0d35b1ebba
reducing hell in unit tests
2019-09-25 08:40:33 -04:00
rusefi
f65fc4fec1
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 17:39:13 -04:00
rusefi
dfeac28299
current toolchain does not work great with current rusEfi code, two methods with same name are hard for full text search :(
2019-08-08 22:33:52 -04:00