com.qmetry.qaf.automation.cucumber.bdd2.model.BDD2DocStringArgument Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qaf-cucumber Show documentation
Show all versions of qaf-cucumber Show documentation
Functional test automation framework for web, mobile-web, mobile native and web-service
/**
*
*/
package com.qmetry.qaf.automation.cucumber.bdd2.model;
import gherkin.pickles.PickleString;
import io.cucumber.core.gherkin.DocStringArgument;
/**
* @author chirag.jayswal
*
*/
public class BDD2DocStringArgument implements DocStringArgument {
private final PickleString docString;
BDD2DocStringArgument(PickleString docString) {
this.docString = docString;
}
@Override
public String getContent() {
return docString.getContent();
}
@Override
public String getContentType() {
return docString.getContentType();
}
@Override
public int getLine() {
return docString.getLocation().getLine();
}
}