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

io.cucumber.core.runner.UndefinedPickleStepDefinitionMatch Maven / Gradle / Ivy

The newest version!
package io.cucumber.core.runner;

import io.cucumber.core.backend.TestCaseState;
import io.cucumber.core.gherkin.Step;

import java.net.URI;
import java.util.Collections;

final class UndefinedPickleStepDefinitionMatch extends PickleStepDefinitionMatch {

    UndefinedPickleStepDefinitionMatch(URI uri, Step step) {
        super(Collections.emptyList(), new NoStepDefinition(), uri, step);
    }

    @Override
    public void runStep(TestCaseState state) {
        throw new UndefinedStepDefinitionException();
    }

    @Override
    public void dryRunStep(TestCaseState state) {
        throw new UndefinedStepDefinitionException();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy