test/channel_transport/udp_transport_unittest.cc
TEST_F(UDPTransportTest, ConstructorDoesNotCreateSocket) {
  int32_t id = 0;
  UdpTransportImpl::SocketFactoryInterface* null_maker = NULL;
  UdpSocketManager* null_manager = NULL;
  UdpTransport* transport = new UdpTransportImpl(id,
                                                 null_maker,
                                                 null_manager);
  delete transport;
}
// This test verifies that the mock_socket is not called from the constructor.
This test verifies that the mock_socket is not called from the constructor.
This test verifies that the mock_socket is not called from the constructor .
TEST_F(UDPTransportTest, ConstructorDoesNotCreateSocket) {
  int32_t id = 0;
  UdpTransportImpl::SocketFactoryInterface* null_maker = NULL;
  UdpSocketManager* null_manager = NULL;
  UdpTransport* transport = new UdpTransportImpl(id,
                                                 null_maker,
                                                 null_manager);
  delete transport;
}
TEST_F ( UDPTransportTest , ConstructorDoesNotCreateSocket ) { int32_t id = 0 ; UdpTransportImpl :: SocketFactoryInterface * null_maker = NULL ; UdpSocketManager * null_manager = NULL ; UdpTransport * transport = new UdpTransportImpl ( id , null_maker , null_manager ) ; delete transport ; }
This test verifies that the mock_socket is not called from the constructor.
This test verifies that the mock_socket is not called from the constructor .