HSSF and SS Common tests live here: https://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/
XSSF and SS Common tests live here: https://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/ We separated the tests because HSSF code is compiled and tested without providing ooxml-schema.jar or poi-ooxml-schema.jar on the class path. This way we can guarantee that poi.jar doesn't require ooxml as a dependency, to keep projects small where they're only using the binary formats. On Tue, Mar 27, 2018, 20:09 Blake Watson <[email protected]> wrote: > I was just scouring the whole project for XSSFWorkbook and not finding > nearly as much as I thought. > > How does one properly add to functionMetaData.txt? > > On Tue, Mar 27, 2018 at 6:38 PM, Greg Woolsey <[email protected]> > wrote: > > > Tests in that package are run in a context without the xssf code. Xssf > > specific tests need to go in a different location. I don't have it on my > > phone, but some searching should reveal them, the naming conventions are > > strong. > > > > On Tue, Mar 27, 2018, 17:45 Blake Watson <[email protected]> wrote: > > > > > The tests seem to be mostly HSSF based. Is that right? (I guess it > > > shouldn't matter?) > > > > > > On Mon, Mar 26, 2018 at 9:45 AM, Blake Watson <[email protected]> > > > wrote: > > > > > > > Yeah, I was gonna use the Git. > > > > > > > > On Sun, Mar 25, 2018 at 11:04 PM, Dominik Stadler < > > > [email protected]> > > > > wrote: > > > > > > > >> Hi, > > > >> > > > >> Tests are part of the published sources in separate directories > under > > > >> "src", for functions mostly under "src/testsources", e.g. > > > >> src/testcases/org/apache/poi/ss/formula/functions seems a good place > > for > > > >> unit-tests that cover specific functions. > > > >> > > > >> Maybe also good if you use either the SVN or Git repository > directly, > > > then > > > >> it is easier to contribute changes as patch or pull-request. > > > >> > > > >> See https://urldefense.proofpoint.com/v2/url?u=http-3A__poi.apac > > > >> he.org_subversion.html&d=DwIBaQ&c=dmLomitc30UP5j2qU8E1rg&r=p > > > >> 42pHJHEwFZOHtVFHKJUdL2fYbroN33stXXb3Psthjw&m=1DnAqaPgydsOffy > > > >> pXYLDcv8KsRHlBIdBDu0cTZj2ve0&s=X2uDFTHTp5eWfrHJql4lFvqbKN_g > > > >> LO7ywUomDopdFrs&e= and > > > >> https://urldefense.proofpoint.com/v2/url?u=http-3A__poi.apac > > > >> he.org_howtobuild.html&d=DwIBaQ&c=dmLomitc30UP5j2qU8E1rg&r=p > > > >> 42pHJHEwFZOHtVFHKJUdL2fYbroN33stXXb3Psthjw&m=1DnAqaPgydsOffy > > > >> pXYLDcv8KsRHlBIdBDu0cTZj2ve0&s=5Y3qC-4XYROiktL9qO-JjkVJMUqN > > > >> 87GDNNpu7RkO50Q&e= for working with the code, > > > >> > > > >> Thanks... Dominik. > > > >> > > > >> > > > >> > > > >> On Sat, Mar 24, 2018 at 1:56 AM, Blake Watson < > [email protected] > > > > > > >> wrote: > > > >> > > > >> > I was going to try adding functions to POI (IFNA seems like a > likely > > > >> first > > > >> > shot). I've imported the sources from the ZIP (NetBeans) and I can > > > build > > > >> > and run tests. But I don't see where the source code for the tests > > is. > > > >> (I > > > >> > assume I start with the tests...) > > > >> > > > > >> > Also open to any suggestions for...whatever. > > > >> > -- > > > >> > > > > >> > *Blake Watson* > > > >> > > > > >> > *PNMAC* > > > >> > Application Development Manager > > > >> > 5898 Condor Drive > > > >> > Moorpark, CA 93021 > > > >> > (805) 330.4911 x7742 > > > >> > [email protected] > > > >> > www.PennyMacUSA.com <http://www.pennymacusa.com/> > > > >> > > > > >> > > > > > > > > > > > > > > > > -- > > > > > > > > *Blake Watson* > > > > > > > > *PNMAC* > > > > Application Development Manager > > > > 5898 Condor Drive > > > > Moorpark, CA 93021 > > > > (805) 330.4911 x7742 > > > > [email protected] > > > > www.PennyMacUSA.com <http://www.pennymacusa.com/> > > > > > > > > > > > > > > > > -- > > > > > > *Blake Watson* > > > > > > *PNMAC* > > > Application Development Manager > > > 5898 Condor Drive > > > Moorpark, CA 93021 > > > (805) 330.4911 x7742 > > > [email protected] > > > www.PennyMacUSA.com <http://www.pennymacusa.com/> > > > > > > > > > -- > > *Blake Watson* > > *PNMAC* > Application Development Manager > 5898 Condor Drive > Moorpark, CA 93021 > (805) 330.4911 x7742 > [email protected] > www.PennyMacUSA.com <http://www.pennymacusa.com/> >
