aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netx/unit/sun
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-04-26 11:29:04 +0200
committerJiri Vanek <[email protected]>2013-04-26 11:29:04 +0200
commit3601afa5b8b1083c4e89b954d91fd4d2b3ba654f (patch)
tree74b0b5d34717abe498273f4717e1630d5751eb2c /tests/netx/unit/sun
parent6d5754626525233d2bda2e388632f8b4476484c9 (diff)
Fixed regressed unittest and "cause", Fixed compilation under jdk6, Silenced unittests
Diffstat (limited to 'tests/netx/unit/sun')
-rw-r--r--tests/netx/unit/sun/applet/PluginAppletViewerTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/netx/unit/sun/applet/PluginAppletViewerTest.java b/tests/netx/unit/sun/applet/PluginAppletViewerTest.java
index aa15b47..510e948 100644
--- a/tests/netx/unit/sun/applet/PluginAppletViewerTest.java
+++ b/tests/netx/unit/sun/applet/PluginAppletViewerTest.java
@@ -5,6 +5,7 @@ import static org.junit.Assert.assertEquals;
import java.util.concurrent.Callable;
import net.sourceforge.jnlp.AsyncCall;
+import net.sourceforge.jnlp.ServerAccess;
import org.junit.After;
import org.junit.Before;
@@ -173,8 +174,8 @@ public class PluginAppletViewerTest {
* reference number
*/
private static int parseAndCheckJSMessage(String message, int messageLength,
- String messageType, int contextObjectID) {
- System.out.println(message);
+ String messageType, int contextObjectID) {
+ ServerAccess.logOutputReprint(message);
String[] parts = message.split(" ");
assertEquals(messageLength, parts.length);