aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java1
-rw-r--r--tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java b/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java
index b4c0079..c4c66eb 100644
--- a/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java
+++ b/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java
@@ -41,7 +41,6 @@ import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
-import java.lang.reflect.Method;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
diff --git a/tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java b/tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java
index b4ab4c8..38997e3 100644
--- a/tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java
+++ b/tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java
@@ -5,8 +5,8 @@
package net.sourceforge.jnlp.util.logging;
-import net.sourceforge.jnlp.util.logging.headers.PluginMessage;
import java.util.Date;
+import net.sourceforge.jnlp.util.logging.headers.PluginMessage;
import org.junit.Assert;
import org.junit.Test;
@@ -50,8 +50,8 @@ public class JavaConsoleTest {
Assert.assertEquals(OutputController.Level.WARNING_ALL,p2.header.level);
Assert.assertTrue(p2.header.date.toString().contains(new Date().toString().substring(0,16))); //means no Tue Nov 19 09:43:50 :)
Assert.assertTrue(p2.header.user.equals("jvanek"));
- Assert.assertTrue(p2.header.thread1 == null);
- Assert.assertTrue(p2.header.thread2 == null);
+ Assert.assertTrue(p2.header.thread1.equals("unknown"));
+ Assert.assertTrue(p2.header.thread2.equals("unknown"));
}