Jetif v1.8.0

jetif.ext
Interface SummaryRender


public interface SummaryRender

The summary render is used to render the test summary.

Author:
Vicky Wang

Method Summary
 void render(List summaries, Writer writer)
          Render the suite summaries and output document to specified writer.
 void setEncoding(String encoding)
          Receive the encoding specified by the user.
 

Method Detail

setEncoding

public void setEncoding(String encoding)
Receive the encoding specified by the user.
Note: This encoding is used to output encoding/charset in the output document only, for example: output the encoding attribute in XML header. The implementation may ignore this if it is not needed. The writer provided by framework already have correct encoding.

Parameters:
encoding - the encoding

render

public void render(List summaries,
                   Writer writer)
Render the suite summaries and output document to specified writer.
The implemenation should NOT close the specified writer, because the caller may pass a output stream which should not be closed, for example, the "standard" output. The caller should take the responsibility to close the writer if needed.

Parameters:
summaries - the list of suite summaries to be rendered.
writer - the writer to output document.

Jetif v1.8.0

Copyright © 2004,2005 Vicky Wang - All Rights Reserved.