dec12c69b4e09679f691050d8fdcab0a5e474258 |
15-Jun-2013 |
Guang Zhu <guangzhu@google.com> |
change verbose mode default to true and change param accordingly vebose mode maps to uncompressed hierarchy on device. since we are using uncompressed hierarchy by default for device test, we should use verbose mode by default here. otherwise when user uses viewer tool, it will show compressed hierarchy by default, which causes test cases to be written against wrong assumptions since we are changing the heuristics here, we are also changing '--verbose' to '--compressed' accordingly Change-Id: I6fd55fd57a65d6eb0755ee34cbc1c34731788afb
ommands/uiautomator/DumpCommand.java
|
a90a115409fe406e465a2a8431108791d4181502 |
10-Apr-2013 |
Adam Momtaz <amomtaz@google.com> |
Allow for declaring a test as a monkey type test This enables users to write tests that act like monkey and at the same time allowing apps to react as if an android monkey test is running. bug: 8588857 Change-Id: I43ca663c2aac43658f5bb39eabe2d904d1e9009a
ommands/uiautomator/RunTestCommand.java
|
f0743b0acc99079bd2ef2f808d9cd71fe7bc50bd |
13-Feb-2013 |
Adam Momtaz <amomtaz@google.com> |
DO NOT MERGE - Allow for toggling of layout hierarchy compression When the compression feature is set, the accessibility layout hierarchy will only show important nodes and will remove unnecessary surrounding layouts making the hierarchy more human readable and efficient to search. The compressed hierarchy will be the default. Previous tests which depended on the more verbose hierarchy, will either need to update their selectors, or disable this feature from the UiDevice. However, the uiautomatorviewer will always show the hierarchy in its compressed form to encourage the user of the more compact and efficient selectors. Change-Id: I1d5d909ce7d4f60108dc491348fcf8da8549806c
ommands/uiautomator/DumpCommand.java
|
47d54d40309083809bf04ba07a5b7191fbca9351 |
01-Feb-2013 |
Guang Zhu <guangzhu@google.com> |
instrumentation based UI Automator static library * further refactoring to split dependencies on public APIs * instrumentation base UI Automator test case base class still called UiAutomatorTestCase, for ease of transition * not all test runner features are ported over yet Bug: 8112323 Change-Id: Ibb4fc2c2164b59fb00b0b46c77118db788b10537
ommands/uiautomator/DumpCommand.java
|
104ac2482e8b44fb5e5fb817b5724331e4ec7fbe |
02-Jan-2013 |
Svetoslav Ganov <svetoslavganov@google.com> |
Refactoring of UiAutomator to use the new UI test APIs. Change-Id: If3445b0b4fd3aad66a5cd661e81f3639bff90dba
ommands/uiautomator/DumpCommand.java
ommands/uiautomator/EventsCommand.java
|
c27feb6391e861dfc3cb0f6f75c882889cc01077 |
14-Dec-2012 |
Maxim Siniavine <siniavine@google.com> |
Merge "Added simplified output to UiAutomator tests." into jb-mr1.1-dev
|
371c2d5a2eada06103eda4a9463145603e17bd76 |
12-Dec-2012 |
Maxim Siniavine <siniavine@google.com> |
Added simplified output to UiAutomator tests. UiAutomator tests can produce output that is exactly the same as JUnit output. Bug: 7516989 Change-Id: I337acd177eccc75ac76836d7ec9192a1abd33bac
ommands/uiautomator/RunTestCommand.java
|
cd7cbc5bdbed6f222346ad62fe017c4c538389e6 |
07-Dec-2012 |
Maxim Siniavine <siniavine@google.com> |
Added support for dynamic test discovery. UiAutomator command line is now able to look inside jar files and automatically find classes which have tests to run. Bug: 7517858 Change-Id: I3218f0b18e23df2b135d970a6c0ee04115d2ef4f
ommands/uiautomator/RunTestCommand.java
|
a7c48a3c03b1daa15cb9bdbb95a5dded7bbbe1a8 |
28-Sep-2012 |
Guang Zhu <guangzhu@google.com> |
fix help messages for uiautomator * added detection for not having enough params for 'runtest' sub command * changed bracket styling in runtest usage to distinguish between required and optional parameters Bug: 7198214 Change-Id: I8fda681d2e21c5b870e2a1a0070220468eb34c10
ommands/uiautomator/RunTestCommand.java
|
e3ee63d53a69f5f0efe12a993f5599ce255d8d12 |
25-Sep-2012 |
Guang Zhu <guangzhu@google.com> |
explicitly log an errorr in case of null root node if root node return from test automation bridget is null, explicitly log an error message Change-Id: I805e1d907a408619e906fd21cedc3f83223f06f9
ommands/uiautomator/DumpCommand.java
|
a5c65de4744dca37b46de0acf8be11a9c24cc91b |
19-Jun-2012 |
Guang Zhu <guangzhu@google.com> |
consolidate uidump and uidebug command into uiautomator uidump becomes 'uiautomator dump', it creates an XML dump of current UI tree uidebug becomes 'uiautomator events', it prints out accessibility events received from accessibility service Change-Id: I57bbb8cbac6965cc230b4c5c1df32e4dc6ab9dde
ommands/uiautomator/DumpCommand.java
ommands/uiautomator/EventsCommand.java
ommands/uiautomator/Launcher.java
|
2491b47c6e86523a7b373cc4d5aeaa5fc7be609d |
19-Jun-2012 |
Guang Zhu <guangzhu@google.com> |
implement a sub command mechanism for uiautomator Currently uiautomator is a simple test runner. To consolidate multiple functions into it, the command is refactored with a sub command mechanism that allows more extensions. Existing UiAutomator class is changed into a sub command implementation RunTestCommand. A new Launcher class is added as a generic launcher for various subcommands and help info. The uiautomator shell script also have some changes to special-case the 'runtest' subcommand, mainly for things that cannot be achieved in Java code (setting signal trap and classpath) Change-Id: Ib3e3b4a5c101fedf396e8094d5734803affa03fa
ommands/uiautomator/Launcher.java
ommands/uiautomator/RunTestCommand.java
ommands/uiautomator/UiAutomator.java
|
ff763316cdb1986d8668ca3011cbb892b43aab93 |
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
ommands/uiautomator/UiAutomator.java
|