diff options
author | Javen O'Neal <onealj@apache.org> | 2015-11-02 08:55:45 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2015-11-02 08:55:45 +0000 |
commit | b6b74d8f111f216986945acec50586107eebe535 (patch) | |
tree | fcc5858015c898959fec26a5604acf36e6553dca /src/testcases/org/apache/poi/hssf/usermodel | |
parent | a594b8a8ee9b15e6a6417298b1de73fb082d747f (diff) | |
download | poi-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/testcases/org/apache/poi/hssf/usermodel')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java index ad90fd8a77..885328ff33 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java @@ -17,12 +17,18 @@ package org.apache.poi.hssf.usermodel; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import org.junit.Test; + import java.io.IOException; import org.apache.poi.hssf.HSSFITestDataProvider; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.ss.usermodel.BaseTestHyperlink; + /** * Tests HSSFHyperlink. * @@ -36,6 +42,7 @@ public final class TestHSSFHyperlink extends BaseTestHyperlink { /** * Test that we can read hyperlinks. */ + @Test public void testRead() { HSSFWorkbook wb = HSSFTestDataSamples.openSampleWorkbook("HyperlinksOnManySheets.xls"); |