summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/host_cmd
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/drivers/host_cmd')
-rw-r--r--zephyr/test/drivers/host_cmd/src/adc.c4
-rw-r--r--zephyr/test/drivers/host_cmd/src/battery_display_soc.c2
-rw-r--r--zephyr/test/drivers/host_cmd/src/host_command.c10
-rw-r--r--zephyr/test/drivers/host_cmd/src/motion_sense.c4
4 files changed, 10 insertions, 10 deletions
diff --git a/zephyr/test/drivers/host_cmd/src/adc.c b/zephyr/test/drivers/host_cmd/src/adc.c
index a6e9beb62c..0931f667d3 100644
--- a/zephyr/test/drivers/host_cmd/src/adc.c
+++ b/zephyr/test/drivers/host_cmd/src/adc.c
@@ -14,7 +14,7 @@
FAKE_VALUE_FUNC(int, adc_read_channel, enum adc_channel);
-ZTEST(hc_adc, normal_path)
+ZTEST(hc_adc, test_normal_path)
{
struct ec_params_adc_read params = {
.adc_channel = ADC_TEMP_SENSOR_CHARGER,
@@ -31,7 +31,7 @@ ZTEST(hc_adc, normal_path)
zassert_equal(123, response.adc_value);
}
-ZTEST(hc_adc, bad_ch_number)
+ZTEST(hc_adc, test_bad_ch_number)
{
struct ec_params_adc_read params = {
.adc_channel = ADC_CH_COUNT + 1, /* Invalid */
diff --git a/zephyr/test/drivers/host_cmd/src/battery_display_soc.c b/zephyr/test/drivers/host_cmd/src/battery_display_soc.c
index 34a3881b5d..b158051195 100644
--- a/zephyr/test/drivers/host_cmd/src/battery_display_soc.c
+++ b/zephyr/test/drivers/host_cmd/src/battery_display_soc.c
@@ -10,7 +10,7 @@
#include <zephyr/ztest.h>
-ZTEST_USER(battery_display_soc, happy_path)
+ZTEST_USER(battery_display_soc, test_happy_path)
{
const uint32_t full_charge_as_tenths =
CONFIG_BATT_HOST_FULL_FACTOR * 10;
diff --git a/zephyr/test/drivers/host_cmd/src/host_command.c b/zephyr/test/drivers/host_cmd/src/host_command.c
index e1168648d9..7118fbaab1 100644
--- a/zephyr/test/drivers/host_cmd/src/host_command.c
+++ b/zephyr/test/drivers/host_cmd/src/host_command.c
@@ -9,7 +9,7 @@
#include <zephyr/ztest.h>
-ZTEST(host_cmd_host_commands, get_command_versions__v1)
+ZTEST(host_cmd_host_commands, test_get_command_versions__v1)
{
struct ec_response_get_cmd_versions response;
struct ec_params_get_cmd_versions_v1 params = {
@@ -23,7 +23,7 @@ ZTEST(host_cmd_host_commands, get_command_versions__v1)
zassert_equal(EC_VER_MASK(0) | EC_VER_MASK(1), response.version_mask);
}
-ZTEST(host_cmd_host_commands, get_command_versions__invalid_cmd)
+ZTEST(host_cmd_host_commands, test_get_command_versions__invalid_cmd)
{
struct ec_response_get_cmd_versions response;
struct ec_params_get_cmd_versions_v1 params = {
@@ -37,7 +37,7 @@ ZTEST(host_cmd_host_commands, get_command_versions__invalid_cmd)
zassert_equal(EC_RES_INVALID_PARAM, rv, "Got %d", rv);
}
-ZTEST(host_cmd_host_commands, get_comms_status)
+ZTEST(host_cmd_host_commands, test_get_comms_status)
{
struct ec_response_get_comms_status response;
int rv;
@@ -52,7 +52,7 @@ ZTEST(host_cmd_host_commands, get_comms_status)
zassert_false(response.flags);
}
-ZTEST(host_cmd_host_commands, resend_response)
+ZTEST(host_cmd_host_commands, test_resend_response)
{
struct host_cmd_handler_args args =
(struct host_cmd_handler_args)BUILD_HOST_COMMAND_SIMPLE(
@@ -70,7 +70,7 @@ ZTEST(host_cmd_host_commands, resend_response)
*/
}
-ZTEST(host_cmd_host_commands, get_proto_version)
+ZTEST(host_cmd_host_commands, test_get_proto_version)
{
struct ec_response_proto_version response;
int rv;
diff --git a/zephyr/test/drivers/host_cmd/src/motion_sense.c b/zephyr/test/drivers/host_cmd/src/motion_sense.c
index 919baf7219..c231f6f55e 100644
--- a/zephyr/test/drivers/host_cmd/src/motion_sense.c
+++ b/zephyr/test/drivers/host_cmd/src/motion_sense.c
@@ -872,7 +872,7 @@ ZTEST(host_cmd_motion_sense, test_spoof_invalid_mode)
NULL);
}
-ZTEST(host_cmd_motion_sense, set_kb_wake_lid_angle)
+ZTEST(host_cmd_motion_sense, test_set_kb_wake_lid_angle)
{
struct ec_response_motion_sense response;
int16_t expected_lid_angle = 45;
@@ -885,7 +885,7 @@ ZTEST(host_cmd_motion_sense, set_kb_wake_lid_angle)
zassert_equal(expected_lid_angle, response.kb_wake_angle.ret);
}
-ZTEST(host_cmd_motion_sense, get_lid_angle)
+ZTEST(host_cmd_motion_sense, test_get_lid_angle)
{
struct ec_response_motion_sense response;
int rv;