public class Monkey extends Object implements AndroidDeviceOutputReciever
| Constructor and Description |
|---|
Monkey(File output,
String waitForString,
boolean contains) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActive() |
boolean |
isCancelled() |
void |
processNewLines(String[] lines) |
static void |
wait(AndroidDevice device,
Monkey monkey,
String command) |
public Monkey(File output, String waitForString, boolean contains) throws IOException
output - where to write output from receiverwaitForString - for which string to waitcontains - set to true if we are waiting for the presence of the waitForString in the output, set to
false when we are waiting until waitForString will be not present in the outputIOExceptionpublic void processNewLines(String[] lines)
processNewLines in interface AndroidDeviceOutputRecieverpublic boolean isCancelled()
isCancelled in interface AndroidDeviceOutputRecieverpublic boolean isActive()
public static void wait(AndroidDevice device, Monkey monkey, String command)
Copyright © 2014 JBoss by Red Hat. All rights reserved.