cucumber.runtime.groovy.BG Maven / Gradle / Ivy
package cucumber.runtime.groovy;
import groovy.lang.Closure;
import java.util.regex.Pattern;
public class BG {
public static void Дадено(Pattern regexp, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, 0, body);
}
public static void Дадено(Pattern regexp, int timeoutMillis, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, timeoutMillis, body);
}
public static void И(Pattern regexp, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, 0, body);
}
public static void И(Pattern regexp, int timeoutMillis, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, timeoutMillis, body);
}
public static void Когато(Pattern regexp, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, 0, body);
}
public static void Когато(Pattern regexp, int timeoutMillis, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, timeoutMillis, body);
}
public static void Но(Pattern regexp, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, 0, body);
}
public static void Но(Pattern regexp, int timeoutMillis, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, timeoutMillis, body);
}
public static void То(Pattern regexp, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, 0, body);
}
public static void То(Pattern regexp, int timeoutMillis, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, timeoutMillis, body);
}
}