diff options
author | Ningyuan Wang <nywang@google.com> | 2017-06-26 09:24:49 -0700 |
---|---|---|
committer | Ningyuan Wang <nywang@google.com> | 2017-06-26 15:22:14 -0700 |
commit | 672213184e2bbe11972d243cfa41fa0ebbae47a8 (patch) | |
tree | bd3aa74106a9c981e1131f8d8ae4499766dbf55b /libwifi_system | |
parent | cf26794139d7166550bdfb9f7d0d06be2a14ac6e (diff) | |
download | android_frameworks_opt_net_wifi-672213184e2bbe11972d243cfa41fa0ebbae47a8.tar.gz android_frameworks_opt_net_wifi-672213184e2bbe11972d243cfa41fa0ebbae47a8.tar.bz2 android_frameworks_opt_net_wifi-672213184e2bbe11972d243cfa41fa0ebbae47a8.zip |
Add missing gmock.h includes for mock class headers
Mock class headers should include gmock.h, otherwise it
imposes a requirement that anyone who uses the mock class header
should include gmock.h before that.
Bug: 62961379
Test: compile, unittests
Change-Id: I788badd961de04dc6a0c584e08264c94692250b5
Diffstat (limited to 'libwifi_system')
3 files changed, 3 insertions, 0 deletions
diff --git a/libwifi_system/testlib/include/wifi_system_test/mock_hal_tool.h b/libwifi_system/testlib/include/wifi_system_test/mock_hal_tool.h index 312428f00..eb93e260b 100644 --- a/libwifi_system/testlib/include/wifi_system_test/mock_hal_tool.h +++ b/libwifi_system/testlib/include/wifi_system_test/mock_hal_tool.h @@ -17,6 +17,7 @@ #ifndef ANDROID_WIFI_SYSTEM_TEST_MOCK_HAL_TOOL_H #define ANDROID_WIFI_SYSTEM_TEST_MOCK_HAL_TOOL_H +#include <gmock/gmock.h> #include <wifi_system/hal_tool.h> namespace android { diff --git a/libwifi_system/testlib/include/wifi_system_test/mock_hostapd_manager.h b/libwifi_system/testlib/include/wifi_system_test/mock_hostapd_manager.h index 6dbeafeb1..94ed41b42 100644 --- a/libwifi_system/testlib/include/wifi_system_test/mock_hostapd_manager.h +++ b/libwifi_system/testlib/include/wifi_system_test/mock_hostapd_manager.h @@ -17,6 +17,7 @@ #ifndef ANDROID_WIFI_SYSTEM_TEST_MOCK_HOSTAPD_MANAGER_H #define ANDROID_WIFI_SYSTEM_TEST_MOCK_HOSTAPD_MANAGER_H +#include <gmock/gmock.h> #include <wifi_system/hostapd_manager.h> namespace android { diff --git a/libwifi_system/testlib/include/wifi_system_test/mock_supplicant_manager.h b/libwifi_system/testlib/include/wifi_system_test/mock_supplicant_manager.h index 01d604f47..d55012e24 100644 --- a/libwifi_system/testlib/include/wifi_system_test/mock_supplicant_manager.h +++ b/libwifi_system/testlib/include/wifi_system_test/mock_supplicant_manager.h @@ -17,6 +17,7 @@ #ifndef ANDROID_WIFI_SYSTEM_TEST_MOCK_SUPPLICANT_MANAGER_H #define ANDROID_WIFI_SYSTEM_TEST_MOCK_SUPPLICANT_MANAGER_H +#include <gmock/gmock.h> #include <wifi_system/supplicant_manager.h> namespace android { |