de.smartics.testdoc.core.doc
Interface OutputManager

Package class diagram package OutputManager
All Known Implementing Classes:
AbstractOutputManager, FileOutputManager

public interface OutputManager

Manages writing test documentation to a store.

Author:
Robert Reiner

Method Summary
 void export(UnitTestDoc testDoc)
          Exports the given test documentation.
 void finish()
          Signals the manager that no more test documentation instances will be passed to it.
 void init()
          Signals the manager to initialize.
 

Method Detail

init

void init()
Signals the manager to initialize. Called before the first test documentation is passed to the manager. This method can be used to reinitialize the manager for reuse.


export

void export(UnitTestDoc testDoc)
            throws IOException
Exports the given test documentation.

Parameters:
testDoc - the documentation to export.
Throws:
IOException - if exporting the documentation fails.

finish

void finish()
            throws IOException
Signals the manager that no more test documentation instances will be passed to it. The manager may release resources or add additional information at the end of the output.

Throws:
IOException - if exporting the documentation fails.


Copyright © 2010-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.