summaryrefslogtreecommitdiff
path: root/java/test/Ice/dispatcher/AllTests.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/dispatcher/AllTests.java')
-rw-r--r--java/test/Ice/dispatcher/AllTests.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/test/Ice/dispatcher/AllTests.java b/java/test/Ice/dispatcher/AllTests.java
index 58caf252c2f..e69c511ab1f 100644
--- a/java/test/Ice/dispatcher/AllTests.java
+++ b/java/test/Ice/dispatcher/AllTests.java
@@ -63,7 +63,7 @@ public class AllTests
}
public static void
- allTests(Ice.Communicator communicator, PrintWriter out)
+ allTests(Ice.Communicator communicator, PrintWriter out, final Dispatcher dispatcher)
{
String sref = "test:default -p 12010";
Ice.ObjectPrx obj = communicator.stringToProxy(sref);
@@ -87,7 +87,7 @@ public class AllTests
public void
response()
{
- test(Dispatcher.isDispatcherThread());
+ test(dispatcher.isDispatcherThread());
called();
}
@@ -114,7 +114,7 @@ public class AllTests
exception(Ice.LocalException ex)
{
test(ex instanceof Ice.NoEndpointException);
- test(Dispatcher.isDispatcherThread());
+ test(dispatcher.isDispatcherThread());
called();
}
};
@@ -127,7 +127,7 @@ public class AllTests
public void
response()
{
- test(Dispatcher.isDispatcherThread());
+ test(dispatcher.isDispatcherThread());
}
public void
@@ -139,7 +139,7 @@ public class AllTests
public void
sent(boolean sentSynchronously)
{
- test(sentSynchronously || Dispatcher.isDispatcherThread());
+ test(sentSynchronously || dispatcher.isDispatcherThread());
}
};