Groovy Documentation

geb.report
[Groovy] Class ReporterSupport

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

abstract class ReporterSupport
extends Object

Common support for reporter implemenations.


Method Summary
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.

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

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.


toTestReportLabel

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


 

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