All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.junitrunner.cucumber.FormatterDelegate Maven / Gradle / Ivy

The newest version!
package com.github.junitrunner.cucumber;

import gherkin.formatter.Formatter;
import gherkin.formatter.model.Background;
import gherkin.formatter.model.Examples;
import gherkin.formatter.model.Feature;
import gherkin.formatter.model.Scenario;
import gherkin.formatter.model.ScenarioOutline;
import gherkin.formatter.model.Step;

import java.util.List;

public class FormatterDelegate implements Formatter {

    private Formatter delegate;

    public FormatterDelegate(Formatter delegate) {
        this.delegate = delegate;
    }

    public void uri(String uri) {
        delegate.uri(uri);
    }

    public void feature(Feature feature) {
        delegate.feature(feature);
    }

    public void background(Background background) {
        delegate.background(background);
    }

    public void scenario(Scenario scenario) {
        delegate.scenario(scenario);
    }

    public void scenarioOutline(ScenarioOutline scenarioOutline) {
        delegate.scenarioOutline(scenarioOutline);
    }

    public void examples(Examples examples) {
        delegate.examples(examples);
    }

    public void step(Step step) {
        delegate.step(step);
    }

    public void eof() {
        delegate.eof();
    }

    public void syntaxError(String state, String event, List legalEvents, String uri, Integer line) {
        delegate.syntaxError(state, event, legalEvents, uri, line);
    }

    public void done() {
        delegate.done();
    }

    public void close() {
        delegate.close();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy