• Home
  • History
  • Annotate
  • only in /frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
History log of /frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dd6abfe5903838f6005d951609b24509daa93e0f 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
umpCommand.java
48c83ae3e5fc36138a412fc5854d543fffe80376 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
unTestCommand.java
4a82ca385244ade0d9a5654d7eb3b7797846a6db 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
umpCommand.java
23296fc6448cd265fbb45c1fd9041976ae0da274 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
umpCommand.java
89f6117cb1fbeab3770106cf54e05af1f597be81 02-Jan-2013 Svetoslav Ganov <svetoslavganov@google.com> Refactoring of UiAutomator to use the new UI test APIs.

Change-Id: If3445b0b4fd3aad66a5cd661e81f3639bff90dba
umpCommand.java
ventsCommand.java
73cb2d046419561d4c133e7b812d8f6323a07c1f 14-Dec-2012 Maxim Siniavine <siniavine@google.com> Merge "Added simplified output to UiAutomator tests." into jb-mr1.1-dev
d053117ad50d47a7f2b25be4303d945e4e9edd1e 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
unTestCommand.java
bc81b387c8d6c464f9b2a0f4f6f3224270466181 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
unTestCommand.java
517824a1704b10944f2fb07e5ea53e85e8b44aa7 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
unTestCommand.java
784337a4ccd52aeafa062f38a2605f547fca6472 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
umpCommand.java
2da677e322f0d46b8ea4f882d780f5ee4e97647a 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
umpCommand.java
ventsCommand.java
auncher.java
6ac3f28e72bc05dce35a3f8d2b6b095a3f4056da 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
auncher.java
unTestCommand.java
iAutomator.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
iAutomator.java