History log of /external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
74676fdd3c8a9e599eddd13bea56898674d9916a 12-Jun-2014 Kevin Jin <kjin@google.com> add Validator interface and DefaultAccessibilityValidator

refactor for cleaner implementation

Change-Id: I6ba13c5a46e444806f492bc7de365405fecae0d5
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
17342a5115d7575d44a99fed9c7032e3ab316dcc 19-Apr-2014 Kevin Jin <kjin@google.com> remove deps on Guava

This is to simplify the build and deployment set-up
for DroidDriver clients.

Change-Id: I02238d8721d4d3a505a851138c40cb086d2ff11f
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
da42ba49053dd39b7a19531cb72525d14f285c9b 25-Mar-2014 Kevin Jin <kjin@google.com> Synchronize access to TestRunner.activities and views

Change-Id: I18ff2332147e8fc53dcef6c54cfee39da9b6d207
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
eacc6c8c1f05ad4c6d9ca4c612204240b9dc1d4e 07-Mar-2014 Kevin Jin <kjin@google.com> add a time-limited version of runOnMainSync

Change-Id: I40b23d4f6cdbf05fb34d7252f1b98eef9d442a43
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
a6749c6913f014416419850a9fb5235a745fdeb8 24-Feb-2014 Kevin Jin <kjin@google.com> fix the hanging when the app is constantly busy (no idle)

The main thread may not enter the idle state when animation is playing, for example, the ProgressBar. Do not call waitForIdleSync in UiAutomationDriver.

Change-Id: If3c355c8aa302a076895fd62a6428874b24f5d39
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
39b609194aea07e7f1d8ead084d48d1171198f02 05-Feb-2014 Kevin Jin <kjin@google.com> delete DroidDriver samples to remove dep on actionbarsherlock

add sync on UI thread idle in UiAutomationDriver
refine AccessibilityEventScrollStepStrategy api

Change-Id: I176eb1a40f0a914121c60b887784760ebe354ae4
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
c39b04e0e5d3962153cd860d1430857fe625da90 07-Nov-2013 Kevin Jin <kjin@google.com> consolidate XPath code into ByXPath
dumpUiElementTree now includes invisible UiElements

Change-Id: Ib7e1346e4e16dac0a05bb911aec4389483daaf8a
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
07401c162d1957a497ab08937f1188cc602f29c6 05-Nov-2013 Kevin Jin <kjin@google.com> Adjust the screenshot origin if the root view is not at (0,0).
Move comments on immutable UiElement attributes to the ctors.

Change-Id: I3936c11342511c0d843a5096e954d8f754f8e931
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
dfc316e1bfb37148c50947c46f5aaed5cb2e708a 30-Oct-2013 Kevin Jin <kjin@google.com> Take snapshot of the underlying View or AccessibilityNodeInfo tree.
This improves reliability.
Add JavaDoc on order of getChildren.

Change-Id: Iec4a4b693ef29eea1e067d538bab0078699e3d50
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
07faa170442ca86bb21e6076ff3309615be3b9a8 11-Oct-2013 Kevin Jin <kjin@google.com> catch unchecked exceptions in takeScreenshot (mainly OOME)

Change-Id: I7da816c6d4cf570b037ac0dcfb215858640ab1ab
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
f50519233078e65a056cff49d7b4989d57c3e750 09-Aug-2013 Kevin Jin <kjin@google.com> merge Screenshotter to UiDevice
rename Abstract* to Base*
move InputInjector to actions subpackage

Change-Id: I3e119b4052bc032f2d09d630da51b38670239da9
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
70e34108e0fc19277e642aef3b36b65b8e254899 08-Aug-2013 Kevin Jin <kjin@google.com> add UiDevice for global actions
add UiAutomationDriver#clearAccessibilityNodeInfoCache
to work around an Accessibility bug

Change-Id: I42db1d61944240520cc34f1ccb4537f572adecf9
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
21a0001e2426644dd68e6140b5873ebaeafcc3dc 06-Aug-2013 Kevin Jin <kjin@google.com> clear internal data while refreshing root
wait for AccessibilityEvent after injecting events
via UiAutomation

Change-Id: I3d56e07cf2e7912a21de12d1a7bacd4f33e1bc5a
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
c91cb19438c6ef8ecd794664bf1f879725866bb9 09-Jul-2013 Kevin Jin <kjin@google.com> fix InstrumentationDriver for multiple root views

Change-Id: I50c4c1b10025296b70d8fc5bebcf4bfc12d41417
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
5838b1a067427865c3ec8cc33a5dfa64ba05407f 28-Jun-2013 Kevin Jin <kjin@google.com> wait for RunningActivity in InstrumentationDriver

Change-Id: Ic4cb68fc46cec433a7989187ed64f73e2c5aa6e8
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
6b3044b3bb260efec4b9c4cfe0fd8920841a6e7d 22-Jun-2013 Kevin Jin <kjin@google.com> fix ViewElement.getClassName: runOnMainSync

Change-Id: Ie13e6f41fc9a8783ed7ee77809b06951f7c0f8e7
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
e2660726a43b1a68729d736f6ffa0332ab152498 20-Jun-2013 Kevin Jin <kjin@google.com> add takeScreenshot to InstrumentationDriver

Change-Id: I347532ed9f4e4aa59ac045a83ee7b4f25735c251
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
115eb39036a7a4e500dc94b57975a5693861f654 18-Jun-2013 Tony Wickham <twickham@google.com> Added getRunningActivity; Precautions in InstrumentationDriver.getRootElement

There is now a ActivityUtils class with a getRunningActivity() method, which
depends on the overridden callActivityOnResume() and callActivityOnPause()
methods in TestRunner to maintain a currentActivity.

InstrumentationDriver.getRootElement now throws an exception if the test
activity isn't started and uses runningActivity.getWindow().getDecorView()
as the root element (used for finding elements).

Change-Id: Ib43ed5b2b8f17bc2dc20f21c24d76afe54fa34cd
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
0d7b67b43f83536708a6ae0330e739744049a48e 15-May-2013 Kevin Jin <kjin@google.com> expose getChild and getParent
remove Logs.wrap

Change-Id: I4d6d58b58fdb70fee168d1a357767683fae11490
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
7b2b76255593f0ecfbe2d7f996712fefb391dfed 18-Mar-2013 Kevin Jin <kjin@google.com> support xpath
Build a virtual DOM tree that maps UiAutomationElement or
InstrumentationElement tree, respectively. Then use XPath
on the DOM tree.
TODO: filter insignificant nodes to make use of uiautomatorviewer
TODO: add all attrs

Change-Id: I2f9e289b77350f1e920a492ce438ebfd67882058
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
52107c27b6b0f2b0fdfec995784c73746bb95c4e 15-Mar-2013 Kevin Jin <kjin@google.com> introduce *Context to manage instances and dependency

Change-Id: Ice759c2791a41df1b80dd06b6a339833cb4a7979
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java
cddda72410c992a12db61cef26713b498e31fea4 14-Mar-2013 Thanh Le <thanhle@google.com> Add an instrumentation driver.

Move common code out of UiautomationDriver to AbstractDriver.

Change-Id: Icf749b76d82a4bc10ea00f4668e251adcc652ba6
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/InstrumentationDriver.java