cucumber.runtime.groovy.ID Maven / Gradle / Ivy
package cucumber.runtime.groovy;
import groovy.lang.Closure;
import java.util.regex.Pattern;
public class ID {
public static void Dan(Pattern regexp, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, 0, body);
}
public static void Dan(Pattern regexp, int timeoutMillis, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, timeoutMillis, body);
}
public static void Dengan(Pattern regexp, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, 0, body);
}
public static void Dengan(Pattern regexp, int timeoutMillis, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, timeoutMillis, body);
}
public static void Ketika(Pattern regexp, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, 0, body);
}
public static void Ketika(Pattern regexp, int timeoutMillis, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, timeoutMillis, body);
}
public static void Maka(Pattern regexp, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, 0, body);
}
public static void Maka(Pattern regexp, int timeoutMillis, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, timeoutMillis, body);
}
public static void Tapi(Pattern regexp, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, 0, body);
}
public static void Tapi(Pattern regexp, int timeoutMillis, Closure body) throws Throwable {
GroovyBackend.instance.addStepDefinition(regexp, timeoutMillis, body);
}
}