summaryrefslogtreecommitdiffstats
path: root/ceee/ie/broker/broker_rpc_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ceee/ie/broker/broker_rpc_unittest.cc')
-rw-r--r--ceee/ie/broker/broker_rpc_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ceee/ie/broker/broker_rpc_unittest.cc b/ceee/ie/broker/broker_rpc_unittest.cc
index dd75832..ba24a56 100644
--- a/ceee/ie/broker/broker_rpc_unittest.cc
+++ b/ceee/ie/broker/broker_rpc_unittest.cc
@@ -48,7 +48,7 @@ class BrokerRpcTest : public testing::Test {
TEST_F(BrokerRpcTest, ConnectNoServer) {
BrokerRpcClient client;
ASSERT_FALSE(client.is_connected());
- ASSERT_FALSE(SUCCEEDED(client.Connect()));
+ ASSERT_FALSE(SUCCEEDED(client.Connect(false)));
ASSERT_FALSE(client.is_connected());
}
@@ -58,7 +58,7 @@ TEST_F(BrokerRpcTest, Connect) {
ASSERT_TRUE(server.Start());
ASSERT_TRUE(server.is_started());
BrokerRpcClient client;
- ASSERT_TRUE(SUCCEEDED(client.Connect()));
+ ASSERT_TRUE(SUCCEEDED(client.Connect(false)));
ASSERT_TRUE(client.is_connected());
}
@@ -67,14 +67,14 @@ TEST_F(BrokerRpcTest, FireEvent) {
ASSERT_TRUE(server.Start());
BrokerRpcClient client;
- ASSERT_TRUE(SUCCEEDED(client.Connect()));
+ ASSERT_TRUE(SUCCEEDED(client.Connect(false)));
const char* event_name = "event_name";
const char* event_args = "event_args";
EXPECT_CALL(broker_rpc_mock_, BrokerRpcServer_FireEvent(_, StrEq(event_name),
StrEq(event_args)))
- .Times(1);
+ .Times(1);
ASSERT_TRUE(SUCCEEDED(client.FireEvent(event_name, event_args)));
}