You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2016/05/21 04:06:49 UTC
svn commit: r1744821 -
/poi/trunk/src/testcases/org/apache/poi/ss/formula/AllSSFormulaTests.java
Author: kiwiwings
Date: Sat May 21 04:06:49 2016
New Revision: 1744821
URL: http://svn.apache.org/viewvc?rev=1744821&view=rev
Log:
fix junit4
Modified:
poi/trunk/src/testcases/org/apache/poi/ss/formula/AllSSFormulaTests.java
Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/AllSSFormulaTests.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/AllSSFormulaTests.java?rev=1744821&r1=1744820&r2=1744821&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/ss/formula/AllSSFormulaTests.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/ss/formula/AllSSFormulaTests.java Sat May 21 04:06:49 2016
@@ -18,21 +18,18 @@
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 {
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org