Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::dialogflow_cx_mocks::MockTransitionRouteGroupsConnection Class Reference

A class to mock TransitionRouteGroupsConnection. More...

#include <google/cloud/dialogflow_cx/mocks/mock_transition_route_groups_connection.h>

Public Member Functions

 MOCK_METHOD (Options, options,(),(override))
 
 MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >, ListTransitionRouteGroups,(google::cloud::dialogflow::cx::v3::ListTransitionRouteGroupsRequest request),(override))
 
 MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >, GetTransitionRouteGroup,(google::cloud::dialogflow::cx::v3::GetTransitionRouteGroupRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >, CreateTransitionRouteGroup,(google::cloud::dialogflow::cx::v3::CreateTransitionRouteGroupRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >, UpdateTransitionRouteGroup,(google::cloud::dialogflow::cx::v3::UpdateTransitionRouteGroupRequest const &request),(override))
 
 MOCK_METHOD (Status, DeleteTransitionRouteGroup,(google::cloud::dialogflow::cx::v3::DeleteTransitionRouteGroupRequest const &request),(override))
 
virtual Options options ()
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > ListTransitionRouteGroups (google::cloud::dialogflow::cx::v3::ListTransitionRouteGroupsRequest request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > GetTransitionRouteGroup (google::cloud::dialogflow::cx::v3::GetTransitionRouteGroupRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > CreateTransitionRouteGroup (google::cloud::dialogflow::cx::v3::CreateTransitionRouteGroupRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > UpdateTransitionRouteGroup (google::cloud::dialogflow::cx::v3::UpdateTransitionRouteGroupRequest const &request)
 
virtual Status DeleteTransitionRouteGroup (google::cloud::dialogflow::cx::v3::DeleteTransitionRouteGroupRequest const &request)
 

Detailed Description

A class to mock TransitionRouteGroupsConnection.

Application developers may want to test their code with simulated responses, including errors, from an object of type TransitionRouteGroupsClient. To do so, construct an object of type TransitionRouteGroupsClient with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.

See also
This example for how to test your application with GoogleTest. While the example showcases types from the BigQuery library, the underlying principles apply for any pair of *Client and *Connection.

Member Function Documentation

◆ CreateTransitionRouteGroup()

virtual StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > google::cloud::dialogflow_cx::TransitionRouteGroupsConnection::CreateTransitionRouteGroup ( google::cloud::dialogflow::cx::v3::CreateTransitionRouteGroupRequest const &  request)
virtualinherited

◆ DeleteTransitionRouteGroup()

virtual Status google::cloud::dialogflow_cx::TransitionRouteGroupsConnection::DeleteTransitionRouteGroup ( google::cloud::dialogflow::cx::v3::DeleteTransitionRouteGroupRequest const &  request)
virtualinherited

◆ GetTransitionRouteGroup()

virtual StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > google::cloud::dialogflow_cx::TransitionRouteGroupsConnection::GetTransitionRouteGroup ( google::cloud::dialogflow::cx::v3::GetTransitionRouteGroupRequest const &  request)
virtualinherited

◆ ListTransitionRouteGroups()

virtual StreamRange< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > google::cloud::dialogflow_cx::TransitionRouteGroupsConnection::ListTransitionRouteGroups ( google::cloud::dialogflow::cx::v3::ListTransitionRouteGroupsRequest  request)
virtualinherited

◆ MOCK_METHOD() [1/6]

google::cloud::dialogflow_cx_mocks::MockTransitionRouteGroupsConnection::MOCK_METHOD ( Options  ,
options  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [2/6]

google::cloud::dialogflow_cx_mocks::MockTransitionRouteGroupsConnection::MOCK_METHOD ( Status  ,
DeleteTransitionRouteGroup  ,
(google::cloud::dialogflow::cx::v3::DeleteTransitionRouteGroupRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [3/6]

google::cloud::dialogflow_cx_mocks::MockTransitionRouteGroupsConnection::MOCK_METHOD ( StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >  ,
CreateTransitionRouteGroup  ,
(google::cloud::dialogflow::cx::v3::CreateTransitionRouteGroupRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [4/6]

google::cloud::dialogflow_cx_mocks::MockTransitionRouteGroupsConnection::MOCK_METHOD ( StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >  ,
GetTransitionRouteGroup  ,
(google::cloud::dialogflow::cx::v3::GetTransitionRouteGroupRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [5/6]

google::cloud::dialogflow_cx_mocks::MockTransitionRouteGroupsConnection::MOCK_METHOD ( StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >  ,
UpdateTransitionRouteGroup  ,
(google::cloud::dialogflow::cx::v3::UpdateTransitionRouteGroupRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [6/6]

google::cloud::dialogflow_cx_mocks::MockTransitionRouteGroupsConnection::MOCK_METHOD ( StreamRange< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >  ,
ListTransitionRouteGroups  ,
(google::cloud::dialogflow::cx::v3::ListTransitionRouteGroupsRequest request)  ,
(override)   
)

◆ options()

virtual Options google::cloud::dialogflow_cx::TransitionRouteGroupsConnection::options ( )
inlinevirtualinherited

◆ UpdateTransitionRouteGroup()

virtual StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > google::cloud::dialogflow_cx::TransitionRouteGroupsConnection::UpdateTransitionRouteGroup ( google::cloud::dialogflow::cx::v3::UpdateTransitionRouteGroupRequest const &  request)
virtualinherited