aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/testcases/org/apache/poi/xssf
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2015-11-02 08:55:45 +0000
committerJaven O'Neal <onealj@apache.org>2015-11-02 08:55:45 +0000
commitb6b74d8f111f216986945acec50586107eebe535 (patch)
treefcc5858015c898959fec26a5604acf36e6553dca /src/ooxml/testcases/org/apache/poi/xssf
parenta594b8a8ee9b15e6a6417298b1de73fb082d747f (diff)
downloadpoi-b6b74d8f111f216986945acec50586107eebe535.tar.gz
poi-b6b74d8f111f216986945acec50586107eebe535.zip
upgrade spreadsheet Hyperlink unit tests from junit3 to junit4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi/xssf')
-rw-r--r--src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFHyperlink.java4
-rw-r--r--src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFHyperlink.java4
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFHyperlink.java b/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFHyperlink.java
index 9cad4c10cf..51aa9959ba 100644
--- a/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFHyperlink.java
+++ b/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFHyperlink.java
@@ -19,6 +19,8 @@
package org.apache.poi.xssf.streaming;
+import org.junit.After;
+
import org.apache.poi.ss.usermodel.BaseTestHyperlink;
import org.apache.poi.xssf.SXSSFITestDataProvider;
@@ -34,7 +36,7 @@ public class TestSXSSFHyperlink extends BaseTestHyperlink {
}
- @Override
+ @After
public void tearDown(){
SXSSFITestDataProvider.instance.cleanup();
}
diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFHyperlink.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFHyperlink.java
index 6f8c3f087c..a10b373de7 100644
--- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFHyperlink.java
+++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFHyperlink.java
@@ -19,6 +19,10 @@ package org.apache.poi.xssf.usermodel;
import java.io.IOException;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.fail;
+
import org.apache.poi.openxml4j.opc.PackageRelationship;
import org.apache.poi.openxml4j.opc.PackageRelationshipCollection;
import org.apache.poi.ss.usermodel.BaseTestHyperlink;