OSDN Git Service

WifiCond: Setup polling on HW binder FD
[android-x86/system-connectivity-wificond.git] / tests / main.cpp
index 755fcfb..ee37129 100644 (file)
  * limitations under the License.
  */
 
+#include <gmock/gmock.h>
 #include <gtest/gtest.h>
 
 #include <android-base/logging.h>
 
 int main(int argc, char** argv) {
   ::testing::InitGoogleTest(&argc, argv);
+  ::testing::InitGoogleMock(&argc, argv);
   // Force ourselves to always log to stderr
   android::base::InitLogging(argv, android::base::StderrLogger);
   return RUN_ALL_TESTS();