aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2015-08-29 14:47:16 +0000
committerAndreas Beeker <kiwiwings@apache.org>2015-08-29 14:47:16 +0000
commitdf65f6eb9edcb1c96eb2ae1f57c590ff1ed89761 (patch)
treeed3ffc769fee14eace820421f81afd4b34ea58e6
parentebdbe8b97ab92fd16bbd687b2b3662d252ef57d6 (diff)
downloadpoi-df65f6eb9edcb1c96eb2ae1f57c590ff1ed89761.tar.gz
poi-df65f6eb9edcb1c96eb2ae1f57c590ff1ed89761.zip
junit4 fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700043 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java25
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 {
}