Пример #1
0
 public String removeArguments(final String text) {
   String _xblockexpression = null;
   {
     String name = Strings.firstLine(text);
     String _removeArgumentValues = ArgumentsHelper.removeArgumentValues(name);
     String _trim = _removeArgumentValues.trim();
     _xblockexpression = (_trim);
   }
   return _xblockexpression;
 }
Пример #2
0
 public String describe(final Step step) {
   String _nameOf = this.nameOf(step);
   StringBuilder _stringBuilder = new StringBuilder(_nameOf);
   StringBuilder name = _stringBuilder;
   boolean _isPending = step.isPending();
   if (_isPending) {
     Strings.markAsPending(name);
   }
   String _string = name.toString();
   String _firstLine = Strings.firstLine(_string);
   return Strings.makeJunitConform(_firstLine);
 }
Пример #3
0
 public String getMethodName(final Step step) {
   String _nameOf = this.nameOf(step);
   String _firstLine = Strings.firstLine(_nameOf);
   String originalName = _firstLine.trim();
   return Strings.toMethodName(originalName);
 }