/** * We might not have the test class provided (e.g. at the end of a test). */ public static ExecutedStepDescription of(final Class<? extends Object> stepsClass, final String name) { return new ExecutedStepDescription(stepsClass, name); }
/** * We might not have the test class provided (e.g. at the end of a test). */ public static ExecutedStepDescription of(final Class<? extends Object> stepsClass, final String name) { return new ExecutedStepDescription(stepsClass, name); }
public ExecutedStepDescription clone() { return new ExecutedStepDescription(stepsClass, name, argumentsList, displayedFields, isAGroup); }
/** * We might not have the test class provided (e.g. at the end of a test). */ public static ExecutedStepDescription of(final Class<? extends Object> stepsClass, final String name) { return new ExecutedStepDescription(stepsClass, name, NO_ARGUMENTS, NO_FIELDS, false); }
public ExecutedStepDescription clone() { return new ExecutedStepDescription(stepsClass, name, isAGroup); }
public ExecutedStepDescription clone() { return new ExecutedStepDescription(stepsClass, name, isAGroup); }
public ExecutedStepDescription withName(String newName) { return new ExecutedStepDescription(this.stepsClass, newName, isAGroup); } /**
public ExecutedStepDescription withName(String newName) { return new ExecutedStepDescription(this.stepsClass, newName, isAGroup); } /**
public static ExecutedStepDescription withTitle(final String name) { return new ExecutedStepDescription(name); }
public ExecutedStepDescription withName(String newName) { return new ExecutedStepDescription(this.stepsClass, newName, isAGroup); }
public static ExecutedStepDescription withTitle(final String name) { return new ExecutedStepDescription(name); }
public ExecutedStepDescription withDisplayedFields(Map<String, Object> displayedFields) { return new ExecutedStepDescription(this.stepsClass, this.name, this.argumentsList, displayedFields, isAGroup); }
public static ExecutedStepDescription withTitle(final String name) { return new ExecutedStepDescription(name); }
public static ExecutedStepDescription of(final Class<? extends Object> stepsClass, final String name, final Object[] arguments) { return new ExecutedStepDescription(stepsClass, name, convertArguments(arguments), NO_FIELDS, false); }