summaryrefslogtreecommitdiff
path: root/zephyr/test/ap_power/src/host_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/ap_power/src/host_command.c')
-rw-r--r--zephyr/test/ap_power/src/host_command.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/zephyr/test/ap_power/src/host_command.c b/zephyr/test/ap_power/src/host_command.c
deleted file mode 100644
index f0b3b0d732..0000000000
--- a/zephyr/test/ap_power/src/host_command.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* Copyright 2022 The ChromiumOS Authors
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "ec_commands.h"
-#include "host_command.h"
-#include "test_state.h"
-
-#include <zephyr/ztest.h>
-
-ZTEST(host_cmd, test_hibernate_get)
-{
- struct ec_response_hibernation_delay response;
- struct ec_params_hibernation_delay params = {
- .seconds = 0,
- };
-
- struct host_cmd_handler_args args = BUILD_HOST_COMMAND(
- EC_CMD_HIBERNATION_DELAY, 0, response, params);
-
- zassert_ok(host_command_process(&args));
- params.seconds = 123;
- zassert_ok(host_command_process(&args));
- zassert_equal(123, response.hibernate_delay, NULL);
-}
-
-ZTEST_SUITE(host_cmd, ap_power_predicate_post_main, NULL, NULL, NULL, NULL);