public String getSummaryRow ( final File directory ) { StringBuilder builder = new StringBuilder ( ) ; Counts counts = getSummary ( ) ; builder . append ( "<tr bgcolor=\"" ) ; builder . append ( color ( counts ) ) ; builder . append ( "\"><th style=\"text-align: left\">" ) ; builder . append ( directory . getName ( ) ) ; builder . append ( "</th><th style=\"text-align: left\">" ) ; builder . append ( counts . toString ( ) ) ; builder . append ( "</th></tr>" ) ; return builder . toString ( ) ; }
Returns a summary row for a whole test run .