Package: geb.report

## [Groovy] Class ReporterSupport

- geb.report.ReporterSupport

- All Implemented Interfaces and Traits:
    Reporter

      abstract class ReporterSupport
      extends Object
      implements Reporter

  Common support for reporter implemenations.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ReporterSupport ()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `void` | `addListener(ReportingListener listener)`
    `` | `protected Object` | `escapeFileName(String name)` Replaces all non word chars with underscores to avoid using reserved characters in file paths
    `` | `protected Object` | `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<File> reportFiles)`
    `` | `static String` | `toTestReportLabel(int testCounter, int reportCounter, String methodName, String label)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### ReporterSupport()

  - ### Method Detail

    - #### void addListener(ReportingListener listener)

    - #### protected Object escapeFileName(String name)

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

    - #### protected Object 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<File> reportFiles)

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