diff options
-rw-r--r-- | src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java | 25 |
1 files changed, 12 insertions, 13 deletions
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 <tt>org.apache.poi.ss.util</tt> * * @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 { } |