|
|
@ -133,7 +133,6 @@ public class ShellCommandExecutorTest { |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public InputStream getInputStream() { |
|
|
|
public InputStream getInputStream() { |
|
|
|
return new InputStream() { |
|
|
|
return new InputStream() { |
|
|
@ -143,22 +142,18 @@ public class ShellCommandExecutorTest { |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public InputStream getErrorStream() { |
|
|
|
public InputStream getErrorStream() { |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public int waitFor() throws InterruptedException { |
|
|
|
public int waitFor() throws InterruptedException { |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public int exitValue() { |
|
|
|
public int exitValue() { |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void destroy() { |
|
|
|
public void destroy() { |
|
|
|
logger.info("unit test"); |
|
|
|
logger.info("unit test"); |
|
|
|