com.googlecode.lightest.core
Interface IReporterInfoSource

All Known Implementing Classes:
TestEnvironmentInfoSource

public interface IReporterInfoSource

Provides tabular information to be included in the details generated by a ILightestReporter . A two-column dataset is assumed.


Method Summary
 void configure(LightestTestResult result)
          Configures the info source according to the result being reported on.
 Map getData()
          Returns the data as a map of String's to String's.
 List getHeaders()
          Returns a list of headers for the table.
 String getTitle()
          Returns the title of the information.
 String getTypeName()
          Returns the type name of this info source.
 

Method Detail

configure

void configure(LightestTestResult result)
Configures the info source according to the result being reported on.

Parameters:
result -

getTypeName

String getTypeName()
Returns the type name of this info source. This should be renderable as an XML tag - no whitespace or special characters are allowed.


getTitle

String getTitle()
Returns the title of the information.


getHeaders

List getHeaders()
Returns a list of headers for the table. This list should have at least two values; any additional values may be ignored.


getData

Map getData()
Returns the data as a map of String's to String's.



Copyright © 2009. All Rights Reserved.