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

cucumber.runtime.java.JavaSnippet Maven / Gradle / Ivy

There is a newer version: 7.18.1
Show newest version
package cucumber.runtime.java;

class JavaSnippet extends AbstractJavaSnippet {

    @Override
    protected String getArgType(Class argType) {
        return argType.getSimpleName();
    }

    @Override
    public String template() {
        return "@{0}(\"{1}\")\n" +
                "public void {2}({3}) throws Exception '{'\n" +
                "    // {4}\n" +
                "{5}    throw new PendingException();\n" +
                "'}'\n";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy