/*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2015-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
#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 {
namespace test {
class MockAsyncServerSocket : public AsyncServerSocket {
-public:
+ public:
typedef std::unique_ptr<MockAsyncServerSocket, Destructor> UniquePtr;
// We explicitly do not mock destroy(), since the base class implementation
- // in TDelayedDestruction is what actually deletes the object.
+ // in DelayedDestruction is what actually deletes the object.
//MOCK_METHOD0(destroy,
// void());
MOCK_METHOD1(bind,