]> source.dussan.org Git - poi.git/commitdiff
removed mistakenly submitted test
authorYegor Kozlov <yegor@apache.org>
Thu, 24 Dec 2009 18:38:27 +0000 (18:38 +0000)
committerYegor Kozlov <yegor@apache.org>
Thu, 24 Dec 2009 18:38:27 +0000 (18:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893802 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheet.java

index 5d7dff3ee2ccfec7dc9a6e1817ec27957f989a44..a5fd853b7119a0d4c119bf73dbb61813bf67ce30 100644 (file)
@@ -915,20 +915,6 @@ public class TestXSSFSheet extends BaseTestSheet {
         assertEquals(0, wsh.getSheetData().getRowArray(0).sizeOfCArray());
     }
 
-    public void testSetArrayFormula_File() throws Exception {
-        XSSFWorkbook workbook = new XSSFWorkbook("D:\\java\\apache\\apache-poi\\bugzilla\\array-formulas\\template.xlsx");
-        XSSFSheet sheet1 = workbook.getSheetAt(0);
-        sheet1.setArrayFormula("SUM(C1:C2*D1:D2)", CellRangeAddress.valueOf("B1"));
-        sheet1.setArrayFormula("MAX(C1:C2-D1:D2)", CellRangeAddress.valueOf("B2"));
-
-        XSSFSheet sheet2 = workbook.getSheetAt(1);
-        sheet2.setArrayFormula("A1:A3*B1:B3", CellRangeAddress.valueOf("C1:C3"));
-
-        java.io.FileOutputStream out = new java.io.FileOutputStream("D:\\java\\apache\\apache-poi\\bugzilla\\array-formulas\\poi-template.xlsx");
-        workbook.write(out);
-        out.close();
-    }
-
     public void testSetArrayFormula() throws Exception {
         XSSFCell[] cells;