aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/client
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-01-12 17:07:23 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-01-12 17:07:23 -0800
commitde990f915526dacea6896f86fb325274da565e78 (patch)
treeddf5ee8750885e556e542556a90b4a858f70d56a /test/cpp/client
parent9b62482e15b9360163ff0d6a8d03cc6e18e97485 (diff)
Initialize gtest correctly
Diffstat (limited to 'test/cpp/client')
-rw-r--r--test/cpp/client/channel_arguments_test.cc2
-rw-r--r--test/cpp/client/credentials_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/client/channel_arguments_test.cc b/test/cpp/client/channel_arguments_test.cc
index 9dc0ab3d61..3cd6add167 100644
--- a/test/cpp/client/channel_arguments_test.cc
+++ b/test/cpp/client/channel_arguments_test.cc
@@ -119,6 +119,6 @@ TEST_F(ChannelArgumentsTest, SetString) {
} // namespace grpc
int main(int argc, char** argv) {
-
+ ::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
diff --git a/test/cpp/client/credentials_test.cc b/test/cpp/client/credentials_test.cc
index 1bc95f9ff8..ea088b87bd 100644
--- a/test/cpp/client/credentials_test.cc
+++ b/test/cpp/client/credentials_test.cc
@@ -65,7 +65,7 @@ TEST_F(CredentialsTest, InvalidServiceAccountCreds) {
} // namespace grpc
int main(int argc, char **argv) {
-
+ ::testing::InitGoogleTest(&argc, argv);
grpc_init();
int ret = RUN_ALL_TESTS();
grpc_shutdown();