@@ -0,0 +1,1765 @@
+/*%0A * Copyright (c) 2014 Magnet Systems, Inc.%0A * All rights reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you%0A * may not use this file except in compliance with the License. You%0A * may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or%0A * implied. See the License for the specific language governing%0A * permissions and limitations under the License.%0A */%0Apackage com.magnet.tools.tests;%0A%0Aimport java.io.File;%0A%0Aimport cucumber.api.java.en.Given;%0Aimport cucumber.api.java.en.When;%0Aimport sun.security.util.PendingException;%0A%0A/**%0A * Steps to invoke simple rest2mobile java client%0A */%0Apublic class SimpleJavaClientSteps %7B%0A  @When(%22%5EI run the simple java client with options:$%22)%0A  public void runJavaClient(String options) throws Throwable %7B%0A%0A    String%5B%5D args = ScenarioUtils.expandVariables(options.trim()).split(%22%5C%5Cs+%22);%0A    //com.magnet.tools.cli.simple.Main.main(args);%0A    throw new PendingException(%22TO BE IMPLEMENTED%22);%0A  %7D%0A%0A  @Given(%22%5EI setup a new java client test under %5C%22(%5B%5E%5C%22%5D*)%5C%22$%22)%0A  public static void setupJavaClientTest(String dir) throws Throwable %7B%0A    // Given I cleanup my environment%0A    String directory = ScenarioUtils.expandVariables(dir);%0A%0A    ScenarioUtils.log(%22====%3E Setting a new test directory: %22 + directory);%0A%0A    ScenarioUtils.cleanup();%0A    //And I delete %22xxx%22%0A    ScenarioUtils.delete_file(directory);%0A%0A    new File(directory).mkdirs();%0A    ScenarioUtils.setEnvironmentVariable(ScenarioUtils.TEST_DIR_VARIABLE, new File(directory).getCanonicalPath());%0A%0A  %7D%0A%0A%7D%0A

Remove dependency on cli-simple.