From f6341e8422dfb80fdd0d6495c7256a66d980274d Mon Sep 17 00:00:00 2001 From: Avik Sengupta Date: Tue, 3 May 2005 13:23:34 +0000 Subject: [PATCH] unfixed testcases, so you know what to fix :) git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353666 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 2 + .../org/apache/poi/hssf/data/28772.xls | Bin 0 -> 27648 bytes .../org/apache/poi/hssf/data/33082.xls | Bin 0 -> 28160 bytes .../poi/hssf/usermodel/TestUnfixedBugs.java | 71 ++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 src/testcases/org/apache/poi/hssf/data/28772.xls create mode 100644 src/testcases/org/apache/poi/hssf/data/33082.xls create mode 100644 src/testcases/org/apache/poi/hssf/usermodel/TestUnfixedBugs.java diff --git a/build.xml b/build.xml index 41469093b..c6222de0c 100644 --- a/build.xml +++ b/build.xml @@ -334,6 +334,7 @@ + @@ -359,6 +360,7 @@ + diff --git a/src/testcases/org/apache/poi/hssf/data/28772.xls b/src/testcases/org/apache/poi/hssf/data/28772.xls new file mode 100644 index 0000000000000000000000000000000000000000..a5190de6454cb64ed49eef9e54e1803a196aac09 GIT binary patch literal 27648 zcmeI4TWlRi8OP@wAK&Wx^*DBHpZI?Fo{P^Vc4IrSY27xCWxIgXRF0cEZD{I*BrWg) z=Jo~xsRCXqp^ConQi_n^0UlbZ4M!DpT+5SF4H=c|`nC6K+(hM*NVyv%kL& zahcrW4X+PT3#_Y)^6#ojsAaV)?q&5kyvm!t+Esb+oue<@=(_ZanIHXW>ZOS3FNpgI zpHzcUta@ z+{h!mZoUOR$nk$B^6XFlo_r}%EAMH~`;h#n#y_${t;KoQt91OAt0mDqXVnwxakZm0 z;D+`;uC}!hx3szvKp2dMV~*GFE=l0PTs71*0)fUv4km^7d$*uekHuXJx*;Sod{_LfTm#;2wtS)U|-F_|- zlWrJ^#bxB8JL2k4n47CQtp2@=(#%3QCwHa#niN%%tGAR>c1hCTBhnV7))r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F78olLoZ3e?3l+f39gTeockc{M~BGE;kb5mcm{%jPyin{Hy#*3)8T+@bYJt*`<_3J z_7?ZA9(sGpHQGI0wBgpY_m1nsK6uWU83tw;m|#4kUpsltUxBPK{F0G+-1muKxVSzKqza<>vpVH$^SS^m5P#}JSjRO~#?-ii4Pmy^Z z%d=3PpYj}^=kxf&U+nqwoIY}@gnx~SCv-eH<=>m)-=0~3Yay;hxOhUxlSTzs0WO{> z7UAOmBefLnGF&CNN^vd6RfcN?F7~g0TZwBWt}0yBxcF<)8eHuEAue`j%+wg@!Lhjj zR%H|%X7$4jir*synNu{g@o$GBDX|_YcD9L*30oX#)9xnN{C*;E8&VJA+}tjakG&D` zlwJH5lT4rUG1UieYSuy~;>h4I4iWN#2baASEbJC}Vo4ZB3j^X8`{Ko0iuAb-as8QU k`o$a>S00!|{BBkN2OK#Ms(1r`T7K4lit?9p!g~7u14^AkZ2$lO literal 0 HcmV?d00001 diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestUnfixedBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestUnfixedBugs.java new file mode 100644 index 000000000..cd0e34f90 --- /dev/null +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestUnfixedBugs.java @@ -0,0 +1,71 @@ +/* ==================================================================== +Copyright 2002-2004 Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +==================================================================== */ +package org.apache.poi.hssf.usermodel; + +import java.io.FileInputStream; + +import junit.framework.TestCase; + +/** + * @author aviks + * + * This testcase contains tests for bugs that are yet to be fixed. + * Therefore, the standard ant test target does not run these tests. + * Run this testcase with the single-test target. + * The names of the tests usually correspond to the Bugzilla id's + * PLEASE MOVE tests from this class to TestBugs once the bugs are fixed, + * so that they are then run automatically. + */ +public class TestUnfixedBugs extends TestCase { + + + public TestUnfixedBugs(String arg0) { + super(arg0); + + } + + /* 15556 is fixed, but this doesnt work due to bug 34575 + * ArrayIndexOutOfBound in ObjRecord */ + public void test15556() throws java.io.IOException { + String filename = System.getProperty("HSSF.testdata.path"); + filename=filename+"/15556.xls"; + FileInputStream in = new FileInputStream(filename); + HSSFWorkbook wb = new HSSFWorkbook(in); + HSSFSheet sheet = wb.getSheetAt(0); + HSSFRow row = sheet.getRow(45); + assertTrue("Read row fine!" , true); + + } + + /* ArrayIndexOutOfBound in BOFRecord */ + public void test28772() throws java.io.IOException { + String filename = System.getProperty("HSSF.testdata.path"); + filename=filename+"/28772.xls"; + FileInputStream in = new FileInputStream(filename); + HSSFWorkbook wb = new HSSFWorkbook(in); + assertTrue("Read book fine!" , true); + } + + /* possible the same as 34575, AIOOB in ObjRecord*/ + public void test33082() throws java.io.IOException { + String filename = System.getProperty("HSSF.testdata.path"); + filename=filename+"/33082.xls"; + FileInputStream in = new FileInputStream(filename); + HSSFWorkbook wb = new HSSFWorkbook(in); + assertTrue("Read book fine!" , true); + } + +}