summaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-03-05 09:28:12 +0100
committerJon Bratseth <bratseth@oath.com>2018-03-05 09:28:12 +0100
commitd79750502d379bf4025373e2de77353a2cab61f3 (patch)
treeeba731d22e66a3a6d590c0b73b16c8478f6145ef /container-search
parent3844b4dbcc5e03489e82924ac2e1707897f9e43e (diff)
No wildcard static imports
Diffstat (limited to 'container-search')
-rw-r--r--container-search/src/test/java/com/yahoo/fs4/test/PacketDecoderTestCase.java6
-rw-r--r--container-search/src/test/java/com/yahoo/fs4/test/PacketTestCase.java10
-rw-r--r--container-search/src/test/java/com/yahoo/prelude/cache/test/CacheTestCase.java6
3 files changed, 17 insertions, 5 deletions
diff --git a/container-search/src/test/java/com/yahoo/fs4/test/PacketDecoderTestCase.java b/container-search/src/test/java/com/yahoo/fs4/test/PacketDecoderTestCase.java
index d2bdf2327ff..2a6ab6a7644 100644
--- a/container-search/src/test/java/com/yahoo/fs4/test/PacketDecoderTestCase.java
+++ b/container-search/src/test/java/com/yahoo/fs4/test/PacketDecoderTestCase.java
@@ -11,8 +11,10 @@ import org.junit.Test;
import java.nio.ByteBuffer;
-import static org.junit.Assert.*;
-
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
/**
* Tests the PacketDecoder
diff --git a/container-search/src/test/java/com/yahoo/fs4/test/PacketTestCase.java b/container-search/src/test/java/com/yahoo/fs4/test/PacketTestCase.java
index bc086517264..14e759cb4d3 100644
--- a/container-search/src/test/java/com/yahoo/fs4/test/PacketTestCase.java
+++ b/container-search/src/test/java/com/yahoo/fs4/test/PacketTestCase.java
@@ -4,11 +4,17 @@ package com.yahoo.fs4.test;
import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;
-import com.yahoo.fs4.*;
+import com.yahoo.fs4.BasicPacket;
+import com.yahoo.fs4.BufferTooSmallException;
+import com.yahoo.fs4.Packet;
+import com.yahoo.fs4.QueryPacket;
import com.yahoo.search.Query;
import org.junit.Test;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
/**
* Tests the Packet class. Specifically made this unit test suite
diff --git a/container-search/src/test/java/com/yahoo/prelude/cache/test/CacheTestCase.java b/container-search/src/test/java/com/yahoo/prelude/cache/test/CacheTestCase.java
index 30e87a17704..5d7048f05ea 100644
--- a/container-search/src/test/java/com/yahoo/prelude/cache/test/CacheTestCase.java
+++ b/container-search/src/test/java/com/yahoo/prelude/cache/test/CacheTestCase.java
@@ -9,7 +9,11 @@ import com.yahoo.prelude.cache.Cache;
import com.yahoo.prelude.cache.QueryCacheKey;
import org.junit.Test;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertNull;
+import static org.junit.Assert.assertTrue;
@SuppressWarnings({"rawtypes", "unchecked"})
public class CacheTestCase {