diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-10-23 16:28:09 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-10-23 16:28:09 -0230 |
commit | f6bb0396e7d8fd12ed50f72ab9fc99436d418576 (patch) | |
tree | ee6ef1cb32f2523839f210eb9ec3b924b97d5998 /java/test/Ice/udp/TestIntfI.java | |
parent | Add Object.equals, and minor fix to HashMap.equals (diff) | |
download | ice-f6bb0396e7d8fd12ed50f72ab9fc99436d418576.tar.bz2 ice-f6bb0396e7d8fd12ed50f72ab9fc99436d418576.tar.xz ice-f6bb0396e7d8fd12ed50f72ab9fc99436d418576.zip |
More gradle changes.
Moved android stuff to its own package.
Moved java tests to src/main/java/test subdirectory.
Diffstat (limited to 'java/test/Ice/udp/TestIntfI.java')
-rw-r--r-- | java/test/Ice/udp/TestIntfI.java | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/java/test/Ice/udp/TestIntfI.java b/java/test/Ice/udp/TestIntfI.java deleted file mode 100644 index d4aba78a2c3..00000000000 --- a/java/test/Ice/udp/TestIntfI.java +++ /dev/null @@ -1,74 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -package test.Ice.udp; - -import test.Ice.udp.Test.*; - -public final class TestIntfI extends _TestIntfDisp -{ - @Override - public void ping(PingReplyPrx reply, Ice.Current current) - { - try - { - reply.reply(); - } - catch(Ice.LocalException ex) - { - assert(false); - } - } - - @Override - public void sendByteSeq(byte[] seq, PingReplyPrx reply, Ice.Current current) - { - try - { - reply.reply(); - } - catch(Ice.LocalException ex) - { - assert(false); - } - } - - @Override - public void pingBiDir(Ice.Identity id, Ice.Current current) - { - try - { - // - // Ensure sending too much data doesn't cause the UDP connection - // to be closed. - // - try - { - byte[] seq = new byte[32 * 1024]; - TestIntfPrxHelper.uncheckedCast(current.con.createProxy(id)).sendByteSeq(seq, null); - } - catch(Ice.DatagramLimitException ex) - { - // Expected. - } - - PingReplyPrxHelper.uncheckedCast(current.con.createProxy(id)).reply(); - } - catch(Ice.LocalException ex) - { - assert(false); - } - } - - @Override - public void shutdown(Ice.Current current) - { - current.adapter.getCommunicator().shutdown(); - } -} |