diff options
author | Jett Rink <jettrink@chromium.org> | 2020-02-05 10:16:10 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-05 20:29:07 +0000 |
commit | 678b6f1237a83b642de2356a20eee55da85ae38b (patch) | |
tree | e90dd990b4cd74e656eca577dceefb830a549b0e | |
parent | 1f3f4e74576669a1c791cbb1d45bbd3a410a085d (diff) | |
download | chrome-ec-678b6f1237a83b642de2356a20eee55da85ae38b.tar.gz |
test: move mock header files
Move header files for mocks into the include/mocks folder. These header
files aren't just private to the common/mock implementation as the test/
files also need access to these defines.
BRANCH=none
BUG=none
TEST=buildall
Change-Id: I25d03d194ab46b7665f54175979577aa90af814f
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2039038
Commit-Queue: Craig Hesling <hesling@chromium.org>
Reviewed-by: Craig Hesling <hesling@chromium.org>
-rw-r--r-- | common/mock/tcpc_mock.c | 2 | ||||
-rw-r--r-- | common/mock/usb_mux_mock.c | 2 | ||||
-rw-r--r-- | include/mock/tcpc_mock.h (renamed from common/mock/tcpc_mock.h) | 0 | ||||
-rw-r--r-- | include/mock/usb_mux_mock.h (renamed from common/mock/usb_mux_mock.h) | 0 |
4 files changed, 2 insertions, 2 deletions
diff --git a/common/mock/tcpc_mock.c b/common/mock/tcpc_mock.c index dabe5cda70..4a9b21b5cc 100644 --- a/common/mock/tcpc_mock.c +++ b/common/mock/tcpc_mock.c @@ -7,7 +7,7 @@ #include "common.h" #include "console.h" #include "usb_pd_tcpm.h" -#include "tcpc_mock.h" +#include "mock/tcpc_mock.h" #include "memory.h" /* Public API for controlling/inspecting this mock */ diff --git a/common/mock/usb_mux_mock.c b/common/mock/usb_mux_mock.c index 28f07c54f7..c64c5cad0b 100644 --- a/common/mock/usb_mux_mock.c +++ b/common/mock/usb_mux_mock.c @@ -7,7 +7,7 @@ #include "common.h" #include "console.h" #include "usb_mux.h" -#include "usb_mux_mock.h" +#include "mock/usb_mux_mock.h" #include "memory.h" /* Public API for controlling/inspecting this mock */ diff --git a/common/mock/tcpc_mock.h b/include/mock/tcpc_mock.h index 0cea10412a..0cea10412a 100644 --- a/common/mock/tcpc_mock.h +++ b/include/mock/tcpc_mock.h diff --git a/common/mock/usb_mux_mock.h b/include/mock/usb_mux_mock.h index 128286796b..128286796b 100644 --- a/common/mock/usb_mux_mock.h +++ b/include/mock/usb_mux_mock.h |