summaryrefslogtreecommitdiff
path: root/java/test/Ice/ami/AllTests.java
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2014-09-18 09:51:22 -0230
committerDwayne Boone <dwayne@zeroc.com>2014-09-18 09:51:22 -0230
commit4723f7bbd3ea2ffb241df26e5736fa5c04589e7b (patch)
tree1fb506dbb4f76a5e6ce7e9eada7489e19a0560e4 /java/test/Ice/ami/AllTests.java
parentICE-4891 some minor improvements (diff)
downloadice-4723f7bbd3ea2ffb241df26e5736fa5c04589e7b.tar.bz2
ice-4723f7bbd3ea2ffb241df26e5736fa5c04589e7b.tar.xz
ice-4723f7bbd3ea2ffb241df26e5736fa5c04589e7b.zip
ICE-5661 add proxy->begin_ice_getConnection
Diffstat (limited to 'java/test/Ice/ami/AllTests.java')
-rw-r--r--java/test/Ice/ami/AllTests.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/java/test/Ice/ami/AllTests.java b/java/test/Ice/ami/AllTests.java
index 8e98a2e7667..ffe95450b2c 100644
--- a/java/test/Ice/ami/AllTests.java
+++ b/java/test/Ice/ami/AllTests.java
@@ -27,9 +27,9 @@ public class AllTests
throw new RuntimeException();
}
}
-
+
public static void
- allTests(Application app)
+ allTests(Application app, boolean collocated)
{
Ice.Communicator communicator = app.communicator();
PrintWriter out = app.getWriter();
@@ -47,22 +47,22 @@ public class AllTests
TestIntfControllerPrx testController = TestIntfControllerPrxHelper.uncheckedCast(obj);
out.println("testing with new AMI mapping... ");
- test.Ice.ami.AMI.run(app, communicator, p, testController);
-
+ test.Ice.ami.AMI.run(app, communicator, collocated, p, testController);
+
//
// Use reflection to load TwowaysLambdaAMI as that is only supported with Java >= 1.8
- //
+ //
try
{
Class<?> cls = IceInternal.Util.findClass("test.Ice.ami.lambda.AMI", null);
if(cls != null)
{
- java.lang.reflect.Method run = cls.getDeclaredMethod("run",
- new Class<?>[]{test.Util.Application.class, Ice.Communicator.class, TestIntfPrx.class,
+ java.lang.reflect.Method run = cls.getDeclaredMethod("run",
+ new Class<?>[]{test.Util.Application.class, Ice.Communicator.class, boolean.class, TestIntfPrx.class,
TestIntfControllerPrx.class});
out.println("testing with lambda AMI mapping... ");
out.flush();
- run.invoke(null, app, communicator, p, testController);
+ run.invoke(null, app, communicator, collocated, p, testController);
}
}
catch(java.lang.NoSuchMethodException ex)
@@ -77,7 +77,7 @@ public class AllTests
{
throw new RuntimeException(ex);
}
-
+
p.shutdown();
}
}