#include <folly/SocketAddress.h>
#include <folly/io/async/AsyncSSLSocket.h>
#include <folly/io/async/EventBase.h>
+#include <folly/portability/GMock.h>
#include <folly/portability/Sockets.h>
#include <folly/portability/Unistd.h>
#include <set>
#include <thread>
-#include <gmock/gmock.h>
-
using std::string;
using std::vector;
using std::min;
#include <folly/io/async/AsyncSSLSocket.h>
#include <folly/io/async/AsyncSocket.h>
#include <folly/io/async/EventBase.h>
+#include <folly/portability/GMock.h>
#include <gtest/gtest.h>
-#include <gmock/gmock.h>
#include <string>
#include <vector>
#include <folly/io/IOBuf.h>
#include <folly/io/async/test/AsyncSocketTest.h>
#include <folly/io/async/test/Util.h>
+#include <folly/portability/GMock.h>
#include <folly/portability/Sockets.h>
#include <folly/portability/Unistd.h>
#include <folly/test/SocketAddressTestHelper.h>
#include <boost/scoped_array.hpp>
#include <fcntl.h>
-#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <sys/types.h>
#include <iostream>
#include <folly/ScopeGuard.h>
#include <folly/io/async/EventBase.h>
#include <folly/io/async/EventHandler.h>
+#include <folly/portability/GMock.h>
#include <folly/portability/Sockets.h>
-#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <sys/eventfd.h>
* limitations under the License.
*/
#pragma once
-#include <gmock/gmock.h>
#include <folly/io/async/AsyncSSLSocket.h>
+#include <folly/portability/GMock.h>
namespace folly { namespace test {
*/
#pragma once
-#include <gmock/gmock.h>
-
#include <folly/io/async/AsyncServerSocket.h>
#include <folly/io/async/EventBase.h>
+#include <folly/portability/GMock.h>
namespace folly {
*/
#pragma once
-#include <gmock/gmock.h>
-
#include <folly/io/async/AsyncSocket.h>
#include <folly/io/async/EventBase.h>
+#include <folly/portability/GMock.h>
namespace folly {
*/
#pragma once
-#include <gmock/gmock.h>
-
#include <folly/Memory.h>
#include <folly/io/async/AsyncTransport.h>
+#include <folly/portability/GMock.h>
namespace folly { namespace test {
*/
#pragma once
-#include <gmock/gmock.h>
-
#include <folly/io/async/AsyncUDPSocket.h>
+#include <folly/portability/GMock.h>
namespace folly { namespace test {
#pragma once
#include <folly/io/async/TimeoutManager.h>
+#include <folly/portability/GMock.h>
+
#include <chrono>
-#include <gmock/gmock.h>
namespace folly {
namespace test {
* limitations under the License.
*/
#include <gtest/gtest.h>
-#include <gmock/gmock.h>
#include <folly/io/async/AsyncTransport.h>
#include <folly/io/async/WriteChainAsyncTransportWrapper.h>
+#include <folly/portability/GMock.h>
using namespace testing;
using testing::_;
#include <folly/detail/MemoryIdler.h>
#include <folly/Baton.h>
+#include <folly/portability/GMock.h>
#include <folly/portability/Windows.h>
#include <memory>
#include <assert.h>
#include <semaphore.h>
-#include <gmock/gmock.h>
#include <gtest/gtest.h>
using namespace folly;
#include <folly/Subprocess.h>
#include <folly/experimental/io/FsUtil.h>
#include <folly/io/async/EventBase.h>
+#include <folly/portability/GMock.h>
#include <folly/test/SingletonTestStructs.h>
#include <glog/logging.h>
-#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <boost/thread/barrier.hpp>