Add comments on which formula related things should go in which of the two test suites
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@603538 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c4fa9cf5f0
commit
99b5c68d34
@ -23,8 +23,13 @@ package org.apache.poi.hssf.record.formula.eval;
|
|||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Amol S. Deshmukh < amolweb at ya hoo dot com >
|
* This is a test of all the Eval functions we have implemented.
|
||||||
|
* Add newly implemented Eval functions in here to have them
|
||||||
|
* tested.
|
||||||
|
* For newly implemented functions,
|
||||||
|
* @see org.apache.poi.hssf.record.formula.functions.TestEverything
|
||||||
*
|
*
|
||||||
|
* @author Amol S. Deshmukh < amolweb at ya hoo dot com >
|
||||||
*/
|
*/
|
||||||
public class TestEverything extends TestSuite {
|
public class TestEverything extends TestSuite {
|
||||||
|
|
||||||
@ -45,12 +50,9 @@ public class TestEverything extends TestSuite {
|
|||||||
suite.addTest(new GenericFormulaTestCase("D71")); // UnaryMinusEval
|
suite.addTest(new GenericFormulaTestCase("D71")); // UnaryMinusEval
|
||||||
suite.addTest(new GenericFormulaTestCase("D75")); // UnaryPlusEval
|
suite.addTest(new GenericFormulaTestCase("D75")); // UnaryPlusEval
|
||||||
|
|
||||||
suite.addTest(new GenericFormulaTestCase("D249")); // Concatenate
|
// Add newly implemented Eval functions here
|
||||||
suite.addTest(new GenericFormulaTestCase("D741")); // Int
|
// (Formula functions go in
|
||||||
suite.addTest(new GenericFormulaTestCase("D1393")); // Trim
|
// @see org.apache.poi.hssf.record.formula.functions.TestEverything )
|
||||||
suite.addTest(new GenericFormulaTestCase("D1421")); // Upper
|
|
||||||
|
|
||||||
// Add newly implemented formula functions here
|
|
||||||
|
|
||||||
return suite;
|
return suite;
|
||||||
}
|
}
|
||||||
|
@ -25,11 +25,16 @@ import org.apache.poi.hssf.record.formula.eval.GenericFormulaTestCase;
|
|||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Amol S. Deshmukh < amolweb at ya hoo dot com >
|
* This is a test of all the normal formula functions we have implemented.
|
||||||
|
* It should pick up newly implemented functions which are correctly added
|
||||||
|
* to the test formula excel file, but tweak the rows below if you
|
||||||
|
* add any past the end of what's currently checked.
|
||||||
|
* For newly implemented eval functions,
|
||||||
|
* @see org.apache.poi.hssf.record.formula.eval.TestEverything
|
||||||
*
|
*
|
||||||
|
* @author Amol S. Deshmukh < amolweb at ya hoo dot com >
|
||||||
*/
|
*/
|
||||||
public class TestEverything extends TestSuite {
|
public class TestEverything extends TestSuite {
|
||||||
|
|
||||||
public static TestSuite suite() throws Exception {
|
public static TestSuite suite() throws Exception {
|
||||||
TestSuite suite = new TestSuite("Tests for individual function classes");
|
TestSuite suite = new TestSuite("Tests for individual function classes");
|
||||||
String s;
|
String s;
|
||||||
|
Loading…
Reference in New Issue
Block a user