Groovy Documentation

geb.report
[Groovy] Class ReporterSupport

java.lang.Object
  geb.report.ReporterSupport
All Implemented Interfaces:
Reporter

abstract class ReporterSupport

Common support for reporter implemenations.


Method Summary
void addListener(ReportingListener listener)

protected def escapeFileName(String name)

Replaces all non word chars with underscores to avoid using reserved characters in file paths

protected def getFile(File dir, String name, String extension)

Gets a file reference for the object with the given name and extension within the dir.

protected void notifyListeners(ReportState reportState, List reportFiles)

static String toTestReportLabel(int testCounter, int reportCounter, String methodName, String label)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

addListener

void addListener(ReportingListener listener)


escapeFileName

protected def escapeFileName(String name)
Replaces all non word chars with underscores to avoid using reserved characters in file paths


getFile

protected def getFile(File dir, String name, String extension)
Gets a file reference for the object with the given name and extension within the dir.


notifyListeners

protected void notifyListeners(ReportState reportState, List reportFiles)


toTestReportLabel

static String toTestReportLabel(int testCounter, int reportCounter, String methodName, String label)


 

Groovy API Documentation for Geb 0.9.3 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org