diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-11 14:54:20 +0200 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-11 14:54:20 +0200 |
commit | 26bc8a5b5b9d1ddc5b2b3992dc818da10f582b8a (patch) | |
tree | 2a7a9544aba9832da8e5d7d12746ff31c90b2ac2 /src/test/java | |
parent | a4414f27a1076dbf53224c22765c4dc64c5b7bd8 (diff) |
Rename NewRpcChannel => RpcChannel.
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java b/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java index 1f1bc46..bf30f59 100644 --- a/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java +++ b/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java @@ -35,12 +35,12 @@ public class ProtobufFunctionalTest { CountDownLatch returnC = new CountDownLatch(1); SimpleProtobufServer server = SimpleProtobufServer.create(0, 50, 1); int serverport = server.getPort(); - NewRpcChannel channel; + RpcChannel channel; TestService directService = new TestService(); Test.Service service; @Before public void setUp() throws Exception { - channel = NewRpcChannel.create("localhost", serverport); + channel = RpcChannel.create("localhost", serverport); service = Test.Service.newStub(channel); server.start(); server.registerService(directService); @@ -79,7 +79,7 @@ public class ProtobufFunctionalTest { } @org.junit.Test public void testNewRpcChannel() throws Exception { - NewRpcChannel channel = NewRpcChannel.create("localhost", serverport); + RpcChannel channel = RpcChannel.create("localhost", serverport); Test.Service service = Test.Service.newStub(channel); Test.Type1 request = Test.Type1.newBuilder().build(); int count = 10000; @@ -100,7 +100,7 @@ public class ProtobufFunctionalTest { } @org.junit.Test public void testDoneSignal() throws Exception { - NewRpcChannel channel = NewRpcChannel.create("localhost", serverport); + RpcChannel channel = RpcChannel.create("localhost", serverport); Test.Service service = Test.Service.newStub(channel); Test.Type1 request = Test.Type1.newBuilder().build(); |