From b6b74d8f111f216986945acec50586107eebe535 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Mon, 2 Nov 2015 08:55:45 +0000 Subject: 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 --- src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/testcases/org/apache/poi/hssf/usermodel') 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"); -- cgit v1.2.3