From: Andreas Beeker Date: Sat, 29 Aug 2015 14:47:16 +0000 (+0000) Subject: junit4 fix X-Git-Tag: REL_3_13_FINAL~68 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=df65f6eb9edcb1c96eb2ae1f57c590ff1ed89761;p=poi.git junit4 fix git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700043 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java b/src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java index 7ecf90d7b5..5e64f75da5 100644 --- a/src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java +++ b/src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java @@ -17,22 +17,21 @@ package org.apache.poi.ss.util; -import junit.framework.Test; -import junit.framework.TestSuite; +import org.junit.runner.RunWith; +import org.junit.runners.Suite; /** * Test suite for org.apache.poi.ss.util * * @author Josh Micich */ -public final class AllSSUtilTests { - public static Test suite() { - TestSuite result = new TestSuite(AllSSUtilTests.class.getName()); - result.addTestSuite(TestCellRangeAddress.class); - result.addTestSuite(TestCellReference.class); - result.addTestSuite(TestExpandedDouble.class); - result.addTestSuite(TestNumberComparer.class); - result.addTestSuite(TestNumberToTextConverter.class); - result.addTestSuite(TestRegion.class); - return result; - } +@RunWith(Suite.class) +@Suite.SuiteClasses({ + TestCellRangeAddress.class, + TestCellReference.class, + TestExpandedDouble.class, + TestNumberComparer.class, + TestNumberToTextConverter.class, + TestRegion.class +}) +public class AllSSUtilTests { }