public void | testSendStatus()Simple stress test for {@link Instrumentation#sendStatus(int, android.os.Bundle)}, to
ensure it can handle many rapid calls without failing.
for (int i = 0; i < 10000; i++) {
Bundle bundle = new Bundle();
bundle.putInt("iterations", i);
getInstrumentation().sendStatus(-1, bundle);
}
|