summaryrefslogtreecommitdiff
path: root/java/test/Ice/serialize/AllTests.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2009-03-24 12:31:31 -0230
committerMatthew Newhook <matthew@zeroc.com>2009-03-24 12:31:31 -0230
commit4cc5d77c383b6c91c3af9fe44df9687bb9b15580 (patch)
tree64ce3d6cf35b15497de50f298f7225a8c72f64b6 /java/test/Ice/serialize/AllTests.java
parentMerge commit 'origin/R3_3_branch' (diff)
downloadice-4cc5d77c383b6c91c3af9fe44df9687bb9b15580.tar.bz2
ice-4cc5d77c383b6c91c3af9fe44df9687bb9b15580.tar.xz
ice-4cc5d77c383b6c91c3af9fe44df9687bb9b15580.zip
Merged android-testsuite branch.
Diffstat (limited to 'java/test/Ice/serialize/AllTests.java')
-rw-r--r--java/test/Ice/serialize/AllTests.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/java/test/Ice/serialize/AllTests.java b/java/test/Ice/serialize/AllTests.java
index 2a540d546df..ea69059e355 100644
--- a/java/test/Ice/serialize/AllTests.java
+++ b/java/test/Ice/serialize/AllTests.java
@@ -7,7 +7,8 @@
//
// **********************************************************************
-import Test.*;
+package test.Ice.serialize;
+import test.Ice.serialize.Test.*;
import java.io.*;
public class AllTests
@@ -22,14 +23,14 @@ public class AllTests
}
public static InitialPrx
- allTests(Ice.Communicator communicator, boolean collocated)
+ allTests(Ice.Communicator communicator, boolean collocated, PrintWriter out)
{
String ref = "initial:default -p 12010 -t 10000";
Ice.ObjectPrx base = communicator.stringToProxy(ref);
InitialPrx initial = InitialPrxHelper.checkedCast(base);
- System.out.print("testing serialization... ");
- System.out.flush();
+ out.print("testing serialization... ");
+ out.flush();
//
// Call getStruct1 and force an error.
@@ -105,7 +106,7 @@ public class AllTests
test(false);
}
- System.out.println("ok");
+ out.println("ok");
return initial;
}