summaryrefslogtreecommitdiff
path: root/java/test/Ice/hold/AllTests.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/hold/AllTests.java')
-rw-r--r--java/test/Ice/hold/AllTests.java54
1 files changed, 27 insertions, 27 deletions
diff --git a/java/test/Ice/hold/AllTests.java b/java/test/Ice/hold/AllTests.java
index 7c3220296e7..38917d23efc 100644
--- a/java/test/Ice/hold/AllTests.java
+++ b/java/test/Ice/hold/AllTests.java
@@ -23,32 +23,32 @@ public class AllTests
public static void
allTests(Ice.Communicator communicator)
{
- System.out.print("testing stringToProxy... ");
- System.out.flush();
- String ref = "hold:default -p 12010 -t 10000";
- Ice.ObjectPrx base = communicator.stringToProxy(ref);
- test(base != null);
- System.out.println("ok");
-
- System.out.print("testing checked cast... ");
- System.out.flush();
- HoldPrx hold = HoldPrxHelper.checkedCast(base);
- test(hold != null);
- test(hold.equals(base));
- System.out.println("ok");
-
- System.out.print("changing state between active and hold rapidly... ");
- System.out.flush();
- for(int i = 0; i < 100; ++i)
- {
- hold.putOnHold(0);
- }
- System.out.println("ok");
-
- System.out.print("changing state to hold and shutting down server... ");
- System.out.flush();
- hold.shutdown();
- System.out.println("ok");
+ System.out.print("testing stringToProxy... ");
+ System.out.flush();
+ String ref = "hold:default -p 12010 -t 10000";
+ Ice.ObjectPrx base = communicator.stringToProxy(ref);
+ test(base != null);
+ System.out.println("ok");
+
+ System.out.print("testing checked cast... ");
+ System.out.flush();
+ HoldPrx hold = HoldPrxHelper.checkedCast(base);
+ test(hold != null);
+ test(hold.equals(base));
+ System.out.println("ok");
+
+ System.out.print("changing state between active and hold rapidly... ");
+ System.out.flush();
+ for(int i = 0; i < 100; ++i)
+ {
+ hold.putOnHold(0);
+ }
+ System.out.println("ok");
+
+ System.out.print("changing state to hold and shutting down server... ");
+ System.out.flush();
+ hold.shutdown();
+ System.out.println("ok");
}
}
- \ No newline at end of file
+ \ No newline at end of file