Move folly/Hash.h to folly/hash/
[folly.git] / folly / test / MemoryIdlerTest.cpp
index ed4a35faffaf10b0d2dea574c3a5ae6c5c3a426e..bd9a9ecf6a71c5dc1400a6e7de0e3f92e81fc7c5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 #include <folly/detail/MemoryIdler.h>
 
 #include <folly/Baton.h>
+#include <folly/portability/GMock.h>
+#include <folly/portability/GTest.h>
 
 #include <memory>
 #include <thread>
-#include <assert.h>
-#include <semaphore.h>
-
-#include <gmock/gmock.h>
-#include <gtest/gtest.h>
 
 using namespace folly;
 using namespace folly::detail;
@@ -96,7 +93,7 @@ namespace folly { namespace detail {
 /// method signatures differ from the real Futex because we have elided
 /// unused default params and collapsed templated methods into the
 /// used type
-template<>
+template <>
 struct Futex<MockAtom> {
   MOCK_METHOD2(futexWait, bool(uint32_t, uint32_t));
   MOCK_METHOD3(futexWaitUntil,