• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef ANDROID_PDX_MOCK_CLIENT_CHANNEL_FACTORY_H_
2 #define ANDROID_PDX_MOCK_CLIENT_CHANNEL_FACTORY_H_
3 
4 #include <gmock/gmock.h>
5 #include <pdx/client_channel_factory.h>
6 
7 namespace android {
8 namespace pdx {
9 
10 class MockClientChannelFactory : public ClientChannelFactory {
11  public:
12   MOCK_CONST_METHOD1(
13       Connect, Status<std::unique_ptr<ClientChannel>>(int64_t timeout_ms));
14 };
15 
16 }  // namespace pdx
17 }  // namespace android
18 
19 #endif  // ANDROID_PDX_MOCK_CLIENT_CHANNEL_FACTORY_H_
20