poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1700043 - /poi/trunk/src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java
Date Sat, 29 Aug 2015 14:47:17 GMT
Author: kiwiwings
Date: Sat Aug 29 14:47:16 2015
New Revision: 1700043

URL: http://svn.apache.org/r1700043
Log:
junit4 fix

Modified:
    poi/trunk/src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java

Modified: poi/trunk/src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java?rev=1700043&r1=1700042&r2=1700043&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java Sat Aug 29 14:47:16
2015
@@ -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 {
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message