diff options
author | Bill Richardson <wfrichar@chromium.org> | 2014-04-08 17:42:37 -0700 |
---|---|---|
committer | Bill Richardson <wfrichar@chromium.org> | 2014-04-11 15:37:53 +0000 |
commit | 9814e54204185398ff62bdf7a1a18ceb972021bc (patch) | |
tree | f27fc811ad15cde47ae521acd3275004bc133808 /test/test_config.h | |
parent | 5019551e1d63bdd95e8b358a409e923c16e604fd (diff) | |
download | chrome-ec-9814e54204185398ff62bdf7a1a18ceb972021bc.tar.gz |
Increase test coverage of charge_state_v2.c
This improves some of the smart battery mocks, and adds some more tests for
the new change state machine.
BUG=chrome-os-partner:20881
BRANCH=ToT
TEST=make coverage
Line coverage of this file jumps from 53% to 93%.
Change-Id: I4a9b8818cefaffd3022cebe08a36d592b0611295
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/193690
Diffstat (limited to 'test/test_config.h')
-rw-r--r-- | test/test_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h index 1ac42ae9d9..adcda73578 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -68,6 +68,7 @@ int board_discharge_on_ac(int enabled); #define CONFIG_BATTERY_SMART #define CONFIG_CHARGER #define CONFIG_CHARGER_V2 +#define CONFIG_CHARGER_PROFILE_OVERRIDE #define CONFIG_CHARGER_INPUT_CURRENT 4032 #define CONFIG_CHARGER_DISCHARGE_ON_AC int board_discharge_on_ac(int enabled); |