f406deb12db531785300f04e219fef28ef60b126 |
|
29-Nov-2012 |
Maxim Siniavine <siniavine@google.com> |
Added tracing of UiAutomator calls. Bug: 7565311 Change-Id: I4e426c68ce929c1dd0c8ee47b053045fa58e63aa
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
1893caed0ad4e73b0676f206282d490c2d345316 |
|
19-Nov-2012 |
Thanh Le <thanhle@google.com> |
Fixes lint errors in ui automator. There are no functional change, but please double check the javadoc, and feel free to make suggestions while i'm in there. Change-Id: Ia3c126736242624c4d7ab8d83e66f2a68b8eb1d5
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
79693ede92636fe6f3a6ec4dc049a438fd9504ff |
|
14-Nov-2012 |
Guang Zhu <guangzhu@google.com> |
fix API Level annotations, add pre-req for api change detection * a couple of functions are in fact not available for API Level 16 * add a current.txt as a pre-req for API change checking, for starters, it'll be identical to 17.txt Bug: 7538348 Bug: 7540265 Change-Id: Ib8a5c1854dd372fdf34ec3ecc334536e099e4038
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
dbba713661688a285e701a006ce2d199296ac328 |
|
10-Nov-2012 |
Guang Zhu <guangzhu@google.com> |
more Java doc tweaks * annotate each public API with proper @since tag * re-hide getDisplaySizeDp since we missed the launch window * remove reference to getDisplaySizeDp in Java doc elsewhere Change-Id: I25b5e461418e3cff72df685debecbc1d9620a1d5
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
ebc5898540750b5758a21d5f98a2c24f2cf8b75b |
|
09-Nov-2012 |
Guang Zhu <guangzhu@google.com> |
small tweaks to Java doc Change-Id: I383802633ff3c44788db6f7635a062fb2869b11b
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
0bb49719aab950cc522c2c56f7adce750c656012 |
|
08-Nov-2012 |
Adam Momtaz <amomtaz@google.com> |
Release API prep Change-Id: I45937be8dd7e4cb0b1e6673dd08a7205f969765d
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
65430f29b4305e4dd8ea42650d40896f34486518 |
|
09-Oct-2012 |
Adam Momtaz <amomtaz@google.com> |
UiDevice pressMenu should sync Press menu was not waiting for idle and did not block until menu opened. Change-Id: I6dc4b8acbc5dd595f1d952aea9c824ddbe28cd10
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
6088c8f9e34e34a4958b1601ed7c1bb34c95da21 |
|
06-Oct-2012 |
Adam Momtaz <amomtaz@google.com> |
Automator Sync for click and sendkey operations 1 - Nearly all clicks will cause a TYPE_WINDOW_CONTENT_CHANGED event and making all clicks block until this event, will garantee that we don't get fooled by an idle state when the device is slow to begin responding to a user's actions. This will block on the click() for up to 5500ms or until the first TYPE_WINDOW_CONTENT_CHANGE event is detected effectively slowing the test down when the device is slow and waiting for a busy state before returning. 2 - Nearly all key presses will cause TYPE_WINDOW_CONTENT_CHANGED event but not all. In this fix, only press HOME and BACK have been sync'd to this TYPE_WINDOW_CONTENT_CHANGED event. The timeout used for the keypresses is low compared to the click() above since clicking on HOME while at the home page or BACK when there isn't anything to go back to, generates no events at all and may appear slow. Note: We use 500ms to look for a busy state then once detected we wait for all events to subside to assume an idle state. On a slow device this 500ms may be too slow. The fix above effetively blocks until events appear and can wait for much longer than 500ms. Change-Id: I4d324d83ca19f214b90c97e43b81dc8916997509
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
46d9444c7a39dc1c9fc60a5dcf4e79749d9b3859 |
|
27-Sep-2012 |
Adam Momtaz <amomtaz@google.com> |
Round 2 of java doc clean up Change-Id: I7b022be6b82479a909253eac9d71f52652a81562
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
9fe7f8d9e5f83bd13bc2b06c672d3cd93f619be0 |
|
24-Sep-2012 |
Guang Zhu <guangzhu@google.com> |
Add screenshot function Provide a screenshot function in UiDevice: * screen shot is adjusted per device orientation * function has 2 versions: 1. 100% scale and 90 quality 2. user choose scale and quality settings Change-Id: I659f032e5629295758d05f6b5a1dd5581887a793
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
59b4c820f01d48a41d944239290028411528db25 |
|
11-Sep-2012 |
Guang Zhu <guangzhu@google.com> |
record rotation of display in XML dump, fix use of obsolete API Add an attribute "rotatition" to the top level XML node. It reflects the device rotation clock wise in n * 90 degrees. Also moved aways from deprecated API call to getWidth/getHeight Change-Id: Ie98a2762a9e64e807d6853541677c77d097ec0e0
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
d80b91ded7ae7e80da1c8466c554e8b03bdfb6b6 |
|
29-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Use new display manager API. Change-Id: I563a7523974ecd936ea631f44db173fba54b7395
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
36e79d180dad861a0a3fc9c208ab743f8e637947 |
|
24-Aug-2012 |
Guang Zhu <guangzhu@google.com> |
am 17bc2a4f: am ddc1008f: UI Automator public API cleanup * commit '17bc2a4f796845b9b704234dcc48f4641d10eda9': UI Automator public API cleanup
|
ddc1008f06fd2a875037026490ce1f848a442572 |
|
23-Aug-2012 |
Guang Zhu <guangzhu@google.com> |
UI Automator public API cleanup @hide some public methods and classes that we do not intend to export in the SDK. Also adjust visibility on variables, methods used inside the library classes. Change-Id: I3492bb30a4b0040b298b7d96f255f137599ee8aa
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
e7ef253585665720f73b8b2cefc591ffb3314a68 |
|
20-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Use new display manager API. Change-Id: I00cb8cbd3445164c67a107d321d584fa4d29ffe4
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
835cffbc85a560a2454fd417073a127895335122 |
|
26-Jul-2012 |
Jeff Brown <jeffbrown@google.com> |
Stop using internal API. Change-Id: Idedef990a94f028e9b65230f1249b0f8408c924b
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
467cca7d25dbbf13c14cfd8c2ad38ab8eaf56bda |
|
24-Jul-2012 |
Adam Momtaz <amomtaz@google.com> |
Noticed some clicks are fired but going ignored during tests Unsure what this is but it looks as if the clicks (touch down then up) are fired too fast and maybe ignored in some cases causing tests to fail. Also documentation error for the swipe methods Change-Id: I2a9bcb32c66a0f771d66d3133522646bb7a25fda
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
d367349218c5e12feb6f0de732293da45f5e9af3 |
|
19-Jul-2012 |
Guang Zhu <guangzhu@google.com> |
add API to get screen size in dp, and a skeleton test As a replacement for UiDevice#isPhone, a better way to determine the layout in use is to look at screen size, as most apps are doing to adjust layout, more specifically, the width in dp The skeleton test is meant to be used as a prototype for spawning new UI tests. It has basic setup to be built in the source tree, and has one single test case. Change-Id: I1c4738eba4aca24fcb960dfd873c51107777789e
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
3d50587be8ff021369c90554d814839335b445b0 |
|
13-Jul-2012 |
Adam Momtaz <amomtaz@google.com> |
Clean up of code comments and fixed UiSelector clone - Removed UiDevice.isPhone() Change-Id: Id0157d5c425cd14fd738f4850a4623a36e5e4ab1
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
4ab790eccf6d5c27f542056b87d26d38f7caeeb3 |
|
28-Jun-2012 |
Adam Momtaz <amomtaz@google.com> |
Allow selectors to be created with new operator - Also renamed the By selector to Selector and updated all tests. - Fixed the Selector clone method - Renamed touch to click and updated comments Change-Id: If338525e2759c1211497300bac20a6ceea8f926f
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|
e54d649fb83a0a44516e5c25a9ac1992c8950e59 |
|
14-Jun-2012 |
Guang Zhu <guangzhu@google.com> |
uiautomator branding and source move This moves the source of core pieces of uiautomator framework: * module uiautomator.core: core classeses, including test runner * module uiautomator: command line runner Modules are building into system image, but they are marked optional for now. No material Java code changes are made, only package names, imports and makefiles are modified as needed. Change-Id: I09816368c02203fed2eeabd4f73b93111d1d4b29
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/UiDevice.java
|