summaryrefslogtreecommitdiffstats
path: root/tests/Compatibility
Commit message (Collapse)AuthorAgeFilesLines
* lock device orientation during app compatibility testGuang Zhu2015-05-281-0/+3
| | | | | | | | | Devices on test benches are usually held sideways, which leads to app rotation during launch. While it's useful to identify such issue from an app perspective, the app compatibility test should be isolated from such noise for the purpose of the testing for basic level of compatibility. Change-Id: I403f96e5d8512ca6a17b05a83d69f4b02f760a32
* don't report missing launch intent as failureGuang Zhu2015-05-261-13/+24
| | | | | | | | | | Some apks includes widgets and does not have a launchable activity. The inclusion of such apk for launching is an issue with test configuration, not test failure. Also logging intent used for app package for debugging purpose. Change-Id: Ibca05757a401ea036e9910d8580d7cafd356567c
* update app compatibility post launch detectionGuang Zhu2015-05-252-38/+9
| | | | | | | | decide if the app is still running after launch by checking running tasks and look for a task with base activity belonging to the package launched. Change-Id: Ibb3894e765ccbca62f803decc3c1c1f36dc2d454
* allow top sleeping state in app process verificationGuang Zhu2015-05-081-1/+2
| | | | | | | This happens when an app is launched but has a dialog shown on top of it. Typical reason is a licensing prompt of sorts. Change-Id: Id73f45f54767b869873c62f13aeeb470c1a5cd81
* improve app crash detection in compatibility testGuang Zhu2015-05-071-16/+42
| | | | | | | | | In addition to ensuring that process exists, we also need to check that it's the right state. Because crashed foreground activity can still get started as background service. Bug: 20899208 Change-Id: I101e556ce757af1afb66686827c5851dd6fda620
* Add permission for AppCompatibilityTest.wsmlby2015-04-092-2/+2
| | | | | Bug: 20134812 Change-Id: Iaf9a9963a16af1e2bb157159648db70666a33c48
* Throw error when no intent can be foundwsmlby2014-10-011-6/+2
| | | | | bug: 17396762 Change-Id: I10502d5d1e2332d9e6820ee645234c125e937b7a
* Add leanback support to AppCompatiblityTestwsmlby2014-09-183-5/+11
| | | | Change-Id: Ia9da14b8551c4ec5834a047f0792a5a213a3ac04
* Fix AppCompatibility test for different process name of one package.wsmlby2014-09-091-0/+6
| | | | Change-Id: Ic30e5ee81fe6ea82e88d2c5541dc9fa9eba71043
* Improve error detection in app compitibility testMaxim Siniavine2014-08-071-40/+40
| | | | Change-Id: I3ee02e41b835715d1b6aaf8048fbb16a6bd00b8a
* Make sure the app is still app after launching.Tsu Chiang Chuang2013-05-011-14/+61
| | | | | | Bug:8755950 Change-Id: Ie30d84cb94787d8b2e7bdc65e329a311581f4a3f
* Skip apps without launch intent.Maxim Siniavine2013-04-101-0/+4
| | | | | | | If an app from the apk cannot be launched then skip it in compatibility test, rather than generate a null pointer exception. Change-Id: I252031f249bfe25282b10394889ab8c5506cabcf
* App Compatibility test. Launches a given app and detects crashes or ANRs.Tsu Chiang Chuang2012-05-014-0/+260
Change-Id: I504868ca2b7785849960be287b8d92ca3055b9ff