Searched refs:RPCTaskMockAdaptor (Results 1 – 7 of 7) sorted by relevance
67 const char RPCTaskMockAdaptor::kRpcId[] = "/rpc_task_rpc";68 const char RPCTaskMockAdaptor::kRpcConnId[] = "/rpc_task_rpc_conn";70 RPCTaskMockAdaptor::RPCTaskMockAdaptor() in RPCTaskMockAdaptor() function in shill::RPCTaskMockAdaptor74 RPCTaskMockAdaptor::~RPCTaskMockAdaptor() {} in ~RPCTaskMockAdaptor()76 const string& RPCTaskMockAdaptor::GetRpcIdentifier() { return rpc_id_; } in GetRpcIdentifier()77 const string& RPCTaskMockAdaptor::GetRpcConnectionIdentifier() { in GetRpcConnectionIdentifier()
69 EXPECT_EQ(env[kRPCTaskServiceVariable], RPCTaskMockAdaptor::kRpcConnId); in TEST_F()70 EXPECT_EQ(env[kRPCTaskPathVariable], RPCTaskMockAdaptor::kRpcId); in TEST_F()74 EXPECT_EQ(RPCTaskMockAdaptor::kRpcId, task_.GetRpcIdentifier()); in TEST_F()75 EXPECT_EQ(RPCTaskMockAdaptor::kRpcConnId, task_.GetRpcConnectionIdentifier()); in TEST_F()
132 class RPCTaskMockAdaptor : public RPCTaskAdaptorInterface {138 RPCTaskMockAdaptor();139 ~RPCTaskMockAdaptor() override;
47 return new RPCTaskMockAdaptor(); in CreateRPCTaskAdaptor()
53 return new NiceMock<RPCTaskMockAdaptor>(); in CreateRPCTaskAdaptor()
201 expected_env.emplace(kRPCTaskServiceVariable, RPCTaskMockAdaptor::kRpcConnId); in TEST_F()202 expected_env.emplace(kRPCTaskPathVariable, RPCTaskMockAdaptor::kRpcId); in TEST_F()
740 RPCTaskMockAdaptor::kRpcId }); in TEST_F()