// Path: core/src/main/java/me/gregorias/dfuntest/CommandException.java
// @SuppressWarnings("unused")
// public class CommandException extends Exception {
//   private static final long serialVersionUID = 1L;
// 
//   public CommandException() {
//     super();
//   }
// 
//   public CommandException(String message, Throwable cause,
//       boolean enableSuppression, boolean writableStackTrace) {
//     super(message, cause, enableSuppression, writableStackTrace);
//   }
// 
//   public CommandException(String message, Throwable cause) {
//     super(message, cause);
//   }
// 
//   public CommandException(String message) {
//     super(message);
//   }
// 
//   public CommandException(Throwable cause) {
//     super(cause);
//   }
// }
// 
// Path: core/src/main/java/me/gregorias/dfuntest/TestResult.java
// public class TestResult {
//   private final Type mType;
//   private final String mDescription;
// 
//   public enum Type {
//     SUCCESS, FAILURE
//   }
// 
//   public TestResult(Type type, String description) {
//     mType = type;
//     mDescription = description;
//   }
// 
//   public String getDescription() {
//     return mDescription;
//   }
// 
//   public Type getType() {
//     return mType;
//   }
// }


import me.gregorias.dfuntest.CommandException;
import me.gregorias.dfuntest.TestResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.util.Collection;
package me.gregorias.dfuntest.example;



/**
 * Basic test script checking whether application can be started up and shut down.
 */
public class ExampleSanityTestScript extends AbstractExampleTestScript {
  private static final Logger LOGGER = LoggerFactory.getLogger(ExampleSanityTestScript.class);
  @Override
  public TestResult run(Collection<ExampleApp> apps) {
    LOGGER.info("run()");
    try {
      startUpApps(apps);
    } catch (CommandException | IOException e) {
      return new TestResult(TestResult.Type.FAILURE, "An app could not be started.");
    }

    try {
      // Sleep to give applications time to start up.
      Thread.sleep(1000);
// Path: core/src/main/java/me/gregorias/dfuntest/CommandException.java
// @SuppressWarnings("unused")
// public class CommandException extends Exception {
//   private static final long serialVersionUID = 1L;
// 
//   public CommandException() {
//     super();
//   }
// 
//   public CommandException(String message, Throwable cause,
//       boolean enableSuppression, boolean writableStackTrace) {
//     super(message, cause, enableSuppression, writableStackTrace);
//   }
// 
//   public CommandException(String message, Throwable cause) {
//     super(message, cause);
//   }
// 
//   public CommandException(String message) {
//     super(message);
//   }
// 
//   public CommandException(Throwable cause) {
//     super(cause);
//   }
// }
// 
// Path: core/src/main/java/me/gregorias/dfuntest/TestResult.java
// public class TestResult {
//   private final Type mType;
//   private final String mDescription;
// 
//   public enum Type {
//     SUCCESS, FAILURE
//   }
// 
//   public TestResult(Type type, String description) {
//     mType = type;
//     mDescription = description;
//   }
// 
//   public String getDescription() {
//     return mDescription;
//   }
// 
//   public Type getType() {
//     return mType;
//   }
// }


// Path: example/src/main/java/me/gregorias/dfuntest/example/ExampleSanityTestScript.java
import me.gregorias.dfuntest.CommandException;
import me.gregorias.dfuntest.TestResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.util.Collection;

package me.gregorias.dfuntest.example;



/**
 * Basic test script checking whether application can be started up and shut down.
 */
public class ExampleSanityTestScript extends AbstractExampleTestScript {
  private static final Logger LOGGER = LoggerFactory.getLogger(ExampleSanityTestScript.class);
  @Override
  public TestResult run(Collection<ExampleApp> apps) {
    LOGGER.info("run()");
    try {
      startUpApps(apps);
    } catch (CommandException | IOException e) {
      return new TestResult(TestResult.Type.FAILURE, "An app could not be started.");
    }

    try {
      // Sleep to give applications time to start up.
      Thread.sleep(1000);
    } catch (InterruptedException e) {