Method signature for push

This commit is contained in:
Samuel Carlsson 2013-07-26 15:34:10 +02:00
parent 0e02f9d7d8
commit 97dc3819cc

View File

@ -27,12 +27,18 @@ public class AndroidDevice {
for (String arg : args) for (String arg : args)
{ {
shellLine.append(" "); shellLine.append(" ");
// TODO: throw if arg contains double quote
// TODO: quote arg if it contains space
shellLine.append(arg); shellLine.append(arg);
} }
send("shell:" + shellLine.toString()); send("shell:" + shellLine.toString());
transport.verifyResponse(); transport.verifyResponse();
} }
public void push(String localPath, String remotePath) {
}
private void send(String command) throws IOException { private void send(String command) throws IOException {
transport.send(getPrefix() + command); transport.send(getPrefix() + command);
} }