aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-02-02 10:16:30 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-02-02 10:16:30 -0800
commita7cac78516057512d62cdae8fc5fdf9e2f90a136 (patch)
treeb85d88c43ea4a6174d6ef7c947fb359da2c19888 /test/core/surface
parent4a92bc3c69687ee6c6d7d657e5d5c100cc596a27 (diff)
Prepare for the new batch call API.
Rename all core API functions that are on their way to deprecation with an _old tag across all wrappings.
Diffstat (limited to 'test/core/surface')
-rw-r--r--test/core/surface/lame_client_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/surface/lame_client_test.c b/test/core/surface/lame_client_test.c
index 9b9f0202d6..0a6edc1630 100644
--- a/test/core/surface/lame_client_test.c
+++ b/test/core/surface/lame_client_test.c
@@ -51,7 +51,7 @@ int main(int argc, char **argv) {
chan = grpc_lame_client_channel_create();
GPR_ASSERT(chan);
- call = grpc_channel_create_call(
+ call = grpc_channel_create_call_old(
chan, "/Foo", "anywhere",
gpr_time_add(gpr_now(), gpr_time_from_seconds(100)));
GPR_ASSERT(call);
@@ -59,10 +59,10 @@ int main(int argc, char **argv) {
cqv = cq_verifier_create(cq);
/* we should be able to add metadata */
- GPR_ASSERT(GRPC_CALL_OK == grpc_call_add_metadata(call, &md, 0));
+ GPR_ASSERT(GRPC_CALL_OK == grpc_call_add_metadata_old(call, &md, 0));
/* and invoke the call */
- GPR_ASSERT(GRPC_CALL_OK == grpc_call_invoke(call, cq, tag(2), tag(3), 0));
+ GPR_ASSERT(GRPC_CALL_OK == grpc_call_invoke_old(call, cq, tag(2), tag(3), 0));
/* the call should immediately fail */
cq_expect_client_metadata_read(cqv, tag(2), NULL);