]> source.dussan.org Git - poi.git/commitdiff
fix junit4
authorAndreas Beeker <kiwiwings@apache.org>
Sat, 21 May 2016 04:06:49 +0000 (04:06 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sat, 21 May 2016 04:06:49 +0000 (04:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744821 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/ss/formula/AllSSFormulaTests.java

index 25077e270c14845d9ea17466edf0ad4299cbca50..59631017d2fef16d0e38e34314e5c832521a882a 100644 (file)
 package org.apache.poi.ss.formula;
 
 import org.apache.poi.ss.formula.eval.forked.TestForkedEvaluator;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
 
-import junit.framework.Test;
-import junit.framework.TestSuite;
 /**
  * Test suite for org.apache.poi.ss.formula
- *
- * @author Josh Micich
  */
-public final class AllSSFormulaTests {
-       public static Test suite() {
-               TestSuite result = new TestSuite(AllSSFormulaTests.class.getName());
-               result.addTestSuite(TestCellCacheEntry.class);
-               result.addTestSuite(TestEvaluationCache.class);
-               // result.addTestSuite(TestWorkbookEvaluator.class); // upgraded to junit4
-               result.addTestSuite(TestForkedEvaluator.class);
-               return result;
-       }
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+    TestCellCacheEntry.class,
+    TestEvaluationCache.class,
+    TestWorkbookEvaluator.class,
+    TestForkedEvaluator.class
+})
+public class AllSSFormulaTests {
 }