org.jenkinsci.plugins.cucumber.jsontestsupport
Class CucumberUtils

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

public class CucumberUtils
extends Object


Field Summary
static String FAILED_TEST_STRING
           
static String PASSED_TEST_STRING
           
static String SKIPPED_TEST_STRING
           
static String UNDEFINED_TEST_STRING
           
 
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
 

Field Detail

FAILED_TEST_STRING

public static final String FAILED_TEST_STRING
See Also:
Constant Field Values

PASSED_TEST_STRING

public static final String PASSED_TEST_STRING
See Also:
Constant Field Values

UNDEFINED_TEST_STRING

public static final String UNDEFINED_TEST_STRING
See Also:
Constant Field Values

SKIPPED_TEST_STRING

public static final String SKIPPED_TEST_STRING
See Also:
Constant Field Values
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-2014. All Rights Reserved.