proxygen
TestUtils.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015-present, Facebook, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree. An additional grant
7  * of patent rights can be found in the PATENTS file in the same directory.
8  *
9  */
10 #pragma once
11 
21 
22 namespace proxygen {
23 
25 extern const folly::SocketAddress localAddr;
26 extern const folly::SocketAddress peerAddr;
27 
30 
33 
36 
39  static const int version = 1;
40 };
41 
45 };
46 
50 };
51 
54  static const int version = 2;
55 };
56 
59  static const int version = 0;
60 };
61 
62 }
folly::HHWheelTimer::UniquePtr makeInternalTimeoutSet(EventBase *evb)
Definition: TestUtils.cpp:22
const SocketAddress peerAddr
Definition: TestUtils.cpp:20
static const int version
Definition: TestUtils.h:39
const wangle::TransportInfo mockTransportInfo
Definition: TestUtils.cpp:18
folly::HHWheelTimer::UniquePtr makeTimeoutSet(EventBase *evb)
Definition: TestUtils.cpp:31
std::unique_ptr< HHWheelTimer, Destructor > UniquePtr
Definition: HHWheelTimer.h:57
const SocketAddress localAddr
Definition: TestUtils.cpp:19
testing::NiceMock< MockAsyncTransport > * newMockTransport(EventBase *evb)
Definition: TestUtils.cpp:40