390391392393394395396397398
*/ public void testToFormulaStringZeroArgFunction() { HSSFWorkbook book = new HSSFWorkbook(); Ptg[] ptgs = { new FuncPtg(10), }; assertEquals("NA()", FormulaParser.toFormulaString(book, ptgs)); }
590591592593594595596597598
*/ public void testToFormulaStringZeroArgFunction() { HSSFWorkbook book = new HSSFWorkbook(); Ptg[] ptgs = { new FuncPtg(10, 0), }; assertEquals("NA()", FormulaParser.toFormulaString(book, ptgs)); }
603604605606607608609610611
AbstractFunctionPtg retval; if(isVarArgs) { retval = new FuncVarPtg(name, (byte)numArgs); } else { retval = new FuncPtg(funcIx); } return new ParseNode(retval, args); }
411412413414415416417418419
*/ public void testToFormulaStringZeroArgFunction() { HSSFWorkbook book = new HSSFWorkbook(); Ptg[] ptgs = { new FuncPtg(10), }; assertEquals("NA()", HSSFFormulaParser.toFormulaString(book, ptgs)); }
816817818819820821822823
} throw e; } assertEquals(2, ptgs.length); assertEquals(FuncPtg.class, ptgs[1].getClass()); FuncPtg funcPtg = (FuncPtg) ptgs[1]; assertEquals("ERROR.TYPE", funcPtg.getName()); }
417418419420421422423424425
822823824825826827828829
566567568569570571572573574
391392393394395396397398399
786787788789790791792793