aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/cli_call_test.cc
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-04-23 16:35:24 -0700
committerGravatar Yang Gao <yangg@google.com>2015-04-24 13:09:40 -0700
commitc4b6ffb1b6aa9fb3c5fbf15a5e7e2862cfc4624c (patch)
treed82ed627e961634d64ba5f1001c502c8e4b974e3 /test/cpp/util/cli_call_test.cc
parent3afd92ff511f52db3ecf892d9af65053323c89cb (diff)
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
Diffstat (limited to 'test/cpp/util/cli_call_test.cc')
-rw-r--r--test/cpp/util/cli_call_test.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/cpp/util/cli_call_test.cc b/test/cpp/util/cli_call_test.cc
index 32ef392cc4..457a5e77de 100644
--- a/test/cpp/util/cli_call_test.cc
+++ b/test/cpp/util/cli_call_test.cc
@@ -123,9 +123,6 @@ TEST_F(CliCallTest, SimpleRpc) {
int main(int argc, char** argv) {
grpc_test_init(argc, argv);
- grpc_init();
::testing::InitGoogleTest(&argc, argv);
- int result = RUN_ALL_TESTS();
- grpc_shutdown();
- return result;
+ return RUN_ALL_TESTS();
}