aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-java
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-12-21 17:30:28 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2021-12-21 17:30:28 +0100
commitdd1125e4c8ca7ae80257b26963365085cf7e69bc (patch)
treeb1f706690d7122d2a7dd4f3e3115627d75487efa /vespaclient-java
parent6882939365066c1cddde547ab176934bf66b83ee (diff)
GC use of deprecated junit assertThat and unify
Diffstat (limited to 'vespaclient-java')
-rw-r--r--vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java1
-rw-r--r--vespaclient-java/src/test/java/com/yahoo/vespaget/CommandLineOptionsTest.java1
-rw-r--r--vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java1
3 files changed, 3 insertions, 0 deletions
diff --git a/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java b/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java
index 642805f9927..950ecd799e8 100644
--- a/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java
+++ b/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java
@@ -32,6 +32,7 @@ import static org.junit.Assert.assertTrue;
public class VespaFeederTestCase {
+ @SuppressWarnings("deprecation")
@Rule
public ExpectedException exception = ExpectedException.none();
diff --git a/vespaclient-java/src/test/java/com/yahoo/vespaget/CommandLineOptionsTest.java b/vespaclient-java/src/test/java/com/yahoo/vespaget/CommandLineOptionsTest.java
index b7fd1f535f0..6af2344e36e 100644
--- a/vespaclient-java/src/test/java/com/yahoo/vespaget/CommandLineOptionsTest.java
+++ b/vespaclient-java/src/test/java/com/yahoo/vespaget/CommandLineOptionsTest.java
@@ -36,6 +36,7 @@ public class CommandLineOptionsTest {
}
};
+ @SuppressWarnings("deprecation")
@Rule
public final ExpectedException exception = ExpectedException.none();
diff --git a/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java b/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java
index b0207c7620b..098319f24dc 100644
--- a/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java
+++ b/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java
@@ -62,6 +62,7 @@ public class DocumentRetrieverTest {
private PrintStream oldOut;
private PrintStream oldErr;
+ @SuppressWarnings("deprecation")
@Rule
public final ExpectedException exception = ExpectedException.none();