Package org.crsh.cli.impl.invocation

Examples of org.crsh.cli.impl.invocation.ArgumentMatch


      return this;
    }

    public Test assertArgument(int start, int end, String... expectedValues) {
      assertTrue(argumentMatches.size() > 0);
      ArgumentMatch match = argumentMatches.removeFirst();
      assertEquals(start, match.getStart());
      assertEquals(end, match.getEnd());
      ArrayList<String> values = new ArrayList<String>();
      for (LiteralValue value : match.getValues()) {
        values.add(value.getValue());
      }
      assertEquals(Arrays.asList(expectedValues), values);
      return this;
    }
View Full Code Here

TOP

Related Classes of org.crsh.cli.impl.invocation.ArgumentMatch

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.