e8df6f4d53f150edca32bd8fcb7d576f837fe9e0 |
|
07-Jan-2014 |
quddusc <quddusc@google.com> |
docs: Fixed typo in InstrumentationTestRunner page. Bug: 11386360 Change-Id: I7626fe6fe1a22e223a8929ed3e5178c8df8966c9
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
3a34d17412a5a304e39be1966a16627677d2136f |
|
29-Jan-2013 |
Svetoslav <svetoslavganov@google.com> |
Fixing the build Change-Id: Ief7654775307c829a60e65217ae821aa6801303c
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
80943d8daa6ab31ab5c486d57aea406aa0730d58 |
|
02-Jan-2013 |
Svetoslav Ganov <svetoslavganov@google.com> |
Adding UI test automation APIs. This change adds APIs support for implementing UI tests. Such tests do not rely on internal application structure and can span across application boundaries. UI automation APIs are encapsulated in the UiAutomation object that is provided by an Instrumentation object. It is initialized by the system and can be used for both introspecting the screen and performing interactions simulating a user. UI test are normal instrumentation tests and are executed on the device. UiAutomation uses the accessibility APIs to introspect the screen and a special delegate object to perform privileged operations such as injecting input events. Since instrumentation tests are invoked by a shell command, the shell program launching the tests creates a delegate object and passes it as an argument to started instrumentation. This delegate allows the APK that runs the tests to access some privileged operations protected by a signature level permissions which are explicitly granted to the shell user. The UiAutomation object also supports running tests in the legacy way where the tests are run as a Java shell program. This enables existing UiAutomator tests to keep working while the new ones should be implemented using the new APIs. The UiAutomation object exposes lower level APIs which allow simulation of arbitrary user interactions and writing complete UI test cases. Clients, such as UiAutomator, are encouraged to implement higher- level APIs which minimize development effort and can be used as a helper library by the test developer. The benefit of this change is decoupling UiAutomator from the system since the former was calling hidden APIs which required that it is bundled in the system image. This prevented UiAutomator from being evolved separately from the system. Also UiAutomator was creating additional API surface in the system image. Another benefit of the new design is that now test cases have access to a context and can use public platform APIs in addition to the UiAutomator ones. Further, third-parties can develop their own higher level test APIs on top of the lower level ones exposes by UiAutomation. bug:8028258 Also this change adds the fully qualified resource name of the view's id in the emitted AccessibilityNodeInfo if a special flag is set while configuring the accessibility service. Also added is API for looking up node infos by this id. The id resource name is relatively more stable compared to the generaed id number which may change from one build to another. This API facilitate reuing the already defined ids for UI automation. bug:7678973 Change-Id: I589ad14790320dec8a33095953926c2a2dd0228b
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
41e173d4cb19a0eca95fe0d79dd05f501333b786 |
|
24-Oct-2012 |
Brett Chabot <brettchabot@google.com> |
Remove erroneous override of package-private method. Change-Id: I8d473c1eb32f2513d01b3f7f14f0001286a6a9ca
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
0df0ed5814a83c4cf0dd3d6d6e177f5ed9003863 |
|
05-Jan-2012 |
David Hu <hud@google.com> |
Merge "BandwidthTestRunner"
|
3aef8e1d1b2f0b87d470bcccf37ba4ebb6560c45 |
|
20-Dec-2011 |
Joe Fernandez <joefernandez@google.com> |
docs: Add developer guide cross-references, Project ACRE, round 4 Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
8cc9a8e132ebbf852e055ed17ab91f35b02fd974 |
|
14-Dec-2011 |
David Hu <hud@google.com> |
BandwidthTestRunner Added BandwidthTest annotation and BandwidthTestRunner to start and stop the network traffic profiler Change-Id: Id29ac21ab99ff36bd864121276db59b61eb6e154
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
cbc584d7ebe332f78bf8012d21265ccb482c7cfc |
|
17-Sep-2011 |
David Hu <hud@google.com> |
Return the bundle object Added the ability for the test runner to return the bundle object so the tests can get access to input arguments Change-Id: I73a704bb2279238bd91a376aacecbe5f607af649
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
f48e94005b6f7d648ebe659960bed32998779439 |
|
21-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Remove an obsolete import for performance tests. Change-Id: Ifc76ef821f71ea7469b4044b15071f5d2a7418fd
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
bd1c5da28dab9c3fb7e19bdadb22d7ad960fa3c3 |
|
21-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Remove unused performance tests. Change-Id: I5a252e314831716f99ce5fbb32d983c7473ee787
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
48983959a34f67024bd0411c8353c196e6a87717 |
|
17-Nov-2010 |
Brian Muramatsu <btmura@google.com> |
Fix NPE in InstrumentationTestRunner This fixes a problem where the test runner would die when a test case has tests that are not methods of the test class. Change-Id: I5adc464bb4a0c8d282428895e422a47dcb6bfe1f
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
3fc03e619fb01678549b80e7a89af2c8e3f19968 |
|
20-Oct-2010 |
Jack Wang <jackwang@google.com> |
Added RepetitiveTest annotation and test runner support Change-Id: I7bf0871ede6dd69512c6b6ea3484693ba5b78e89
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
31e7ce762ccbbb747fabb4581e42a0a2fe56e780 |
|
08-Jul-2010 |
Brett Chabot <brettchabot@android.com> |
Improve InstrumentationTestRunner exception handling. This commit fixes two somewhat related problems: - Attempting to run a method which does not exist caused a runtime exception which stopped the test run. Change this so the runner reports an individual test failure instead - A runtime exception during the test run would cause it to stop completely, with no information dumped to the logcat or stdout. Now exceptions are trapped and reported to stdout. Also added associated unit tests to test these two conditions. Related bug 2812262. Change-Id: I383f9b9bad99f14cb51071800fa9bdbf6a6a1119
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
89c0ef4aba57172bbc9288f2d22c943f220a3dd1 |
|
19-Mar-2010 |
Brett Chabot <brettchabot@android.com> |
Add -e package description to InstrumentationTestRunner javadoc. Bug 2528316 Change-Id: Ic707115e40a18521e0d57ee12f43df96be7033f2
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
0375fa12c7f94bfc9c840721dcc5215b6c7575d6 |
|
23-Feb-2010 |
Doug Zongker <dougz@android.com> |
fix error in javadoc The "@link LargeTest" is broken since it doesn't know where that class is. Change-Id: Ie15e40bac8a1965427e351926b2208775e79cb13
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
88e03a97366d08fc69d852cf2219f9d0b1916af4 |
|
19-Feb-2010 |
Brett Chabot <brettchabot@android.com> |
Add ability to run tests restricted to given annotation. And ability to exclude tests with given annotation. Also fix class cast compile warning in emma output method. Bug 2239240 Change-Id: I56273a51a8c58a690680bdb612615fab69e6e13f
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
08d13c3cbb0b250b84ca861edb462060556aead9 |
|
19-Feb-2010 |
Brett Chabot <brettchabot@android.com> |
Fix code coverage output message when running tests in non-raw mode. Bug 2082804
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
e70f61b1160e953e5e4d18d30a463fa9ba821779 |
|
19-Feb-2010 |
Brett Chabot <brettchabot@android.com> |
Retry test-runner tests move. This time change the frameworks makefile so it only includes test-runner/src in the public API.
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
c1ca8c51c616d1517b18bf24feaa9f8f1430c835 |
|
19-Feb-2010 |
Brett Chabot <brettchabot@android.com> |
Revert "Move framework test-runner unit tests to be closer to their source." This reverts commit 12093976a4842a795491cfd2b1d3b71e18503f2d.
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|
12093976a4842a795491cfd2b1d3b71e18503f2d |
|
19-Feb-2010 |
Brett Chabot <brettchabot@android.com> |
Move framework test-runner unit tests to be closer to their source. Move the test-runner source into a separate src folder to accommodate the test move.
/frameworks/base/test-runner/src/android/test/InstrumentationTestRunner.java
|