question: public String toHTML ( ) { StringBuffer buff = new StringBuffer ( ) ; boolean passed = passed ( ) ; String titleTag = ( passed ) ? "tblMainPassedSuite" : "tblMainFailedSuite" ; String countTag = ( passed ) ? "tblMainPassed" : "tblMainFailed" ; String urlName = name + "/index.html" ; Object [ ] args = { urlName , name } ; String hrefName = MessageFormat . format ( HTMLConstants . HREF , args ) ; Object [ ] params = { titleTag , hrefName } ; buff . append ( "<tr>" ) ; buff . append ( MessageFormat . format ( HTMLConstants . TBL_ENTRY , params ) ) ; params [ 0 ] = countTag ; params [ 1 ] = Integer . toString ( getNumberOfPasses ( ) ) ; buff . append ( MessageFormat . format ( HTMLConstants . TBL_ENTRY , params ) ) ; params [ 1 ] = Integer . toString ( getNumberOfFailed ( ) ) ; buff . append ( MessageFormat . format ( HTMLConstants . TBL_ENTRY , params ) ) ; params [ 1 ] = Integer . toString ( getNumberOfSkipped ( ) ) ; buff . append ( MessageFormat . format ( HTMLConstants . TBL_ENTRY , params ) ) ; buff . append ( "</tr>" ) ; return buff . toString ( ) ; }
target:  Returns HTML markup for this object.