aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/poifs/filesystem/TestPOIFSStream.java
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2020-08-18 13:50:31 +0000
committerAndreas Beeker <kiwiwings@apache.org>2020-08-18 13:50:31 +0000
commita73348fe8bac35ead3d72c76179d3bcacbd2a01a (patch)
tree1c6bc7560c7af81c2326b6d08cdda7335c4c0630 /src/testcases/org/apache/poi/poifs/filesystem/TestPOIFSStream.java
parentf51306457dddc8a0ba9503294d991facebbd642b (diff)
downloadpoi-a73348fe8bac35ead3d72c76179d3bcacbd2a01a.tar.gz
poi-a73348fe8bac35ead3d72c76179d3bcacbd2a01a.zip
Update library versions
Replace deprecated junit @Rules with assertThrows Adapt to XMLSec refactoring in version 2.2.0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/poifs/filesystem/TestPOIFSStream.java')
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestPOIFSStream.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestPOIFSStream.java b/src/testcases/org/apache/poi/poifs/filesystem/TestPOIFSStream.java
index c6a0a6a77b..af313172a7 100644
--- a/src/testcases/org/apache/poi/poifs/filesystem/TestPOIFSStream.java
+++ b/src/testcases/org/apache/poi/poifs/filesystem/TestPOIFSStream.java
@@ -17,13 +17,13 @@
package org.apache.poi.poifs.filesystem;
-import static org.hamcrest.core.IsCollectionContaining.hasItem;
+import static org.hamcrest.CoreMatchers.hasItem;
+import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.IsEqual.equalTo;
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.assertThat;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;