org.jenkinsci.plugins.cucumber.jsontestsupport
Class CucumberUtils

java.lang.Object
  extended by org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberUtils

public class CucumberUtils
extends Object


Constructor Summary
CucumberUtils()
           
 
Method Summary
static String getId(gherkin.formatter.model.TagStatement stmt)
          Get the ID from the TagStatement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CucumberUtils

public CucumberUtils()
Method Detail

getId

public static String getId(gherkin.formatter.model.TagStatement stmt)
Get the ID from the TagStatement. For some reason the authors of cucumber jvm thought the ID should be private with no getter... TODO - create a patch for cucumber-jvm so we do not need this hack.

Parameters:
stmt - the TagStatement with the ID>
Returns:
the ID of the TagStatement - possibly null


Copyright © 2013. All Rights Reserved.