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

com.qmetry.qaf.automation.cucumber.bdd2.model.BDD2DocStringArgument Maven / Gradle / Ivy

Go to download

Functional test automation framework for web, mobile-web, mobile native and web-service

There is a newer version: 4.0.0-RC3
Show newest version
/**
 * 
 */
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();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy