• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <gtest/gtest.h>
2 #include <pdx/mock_client_channel.h>
3 #include <pdx/mock_client_channel_factory.h>
4 #include <pdx/mock_message_reader.h>
5 #include <pdx/mock_message_writer.h>
6 #include <pdx/mock_service_endpoint.h>
7 
TEST(MockTypes,Instantiation)8 TEST(MockTypes, Instantiation) {
9   // Make sure all our interfaces are mocked out properly and mock instances
10   // can be created.
11   android::pdx::MockClientChannel client_channel;
12   android::pdx::MockClientChannelFactory client_channel_factory;
13   android::pdx::MockInputResourceMapper input_resource_mapper;
14   android::pdx::MockMessageReader message_reader;
15   android::pdx::MockOutputResourceMapper output_resource_mapper;
16   android::pdx::MockMessageWriter message_writer;
17   android::pdx::MockEndpoint endpoint;
18 }
19