aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix go.mod with golang-protobuf upgrade"HEADandroid-s-beta-5masterandroid-s-beta-5Treehugger Robot2021-08-311-4/+12
|\
| * Fix go.mod with golang-protobuf upgradeDan Willemsen2021-07-291-4/+12
| | | | | | | | | | Test: go test . Change-Id: I85223425b499f9696d447f86dce2cc13cf627724
* | Add incremental block filter and timeout options to AppLaunchTest.Nathan Zoltan Poag2021-08-302-3/+52
| | | | | | | | | | | | | | | | | | This CL should be cherry-picked into AOSP. Bug: 162147271 Test: atest csuite-harness-tests Change-Id: I0fc1bee0da16c68610266acb70628a1daf3edacd Merged-In: I0fc1bee0da16c68610266acb70628a1daf3edacd
* | Replace the package name providers with module info providersYuexi Ma2021-08-2318-859/+1219
|/ | | | | | | | Create a new interface for the module generator to allow more customization in the providers. Test: atest csuite-harness-tests Test: make csuite; csuite-tradefed run csuite-app-launch --enable-module-dynamic-download --dynamic-download-args <args> --package <package> Change-Id: I2950129b7092bd0d07b9b1eb67d2bb37e609ead3
* Use config.BuildOS instead of android.BuildOsColin Cross2021-07-201-6/+6
| | | | | | | | | android.BuildOs is being replaced with config.BuildOS so that it can vary based on the product configuration. Bug: 190084016 Test: m checkbuild Change-Id: Ia1de8034ed3db152befe2f2b61650c8375e6f6ca
* Add an option to enable splash screen on launch testsandroid-s-beta-4android-s-beta-3android-s-beta-4Yuexi Ma2021-06-232-1/+18
| | | | | | | | When apps are launched from an instrumentation test, splash screen won't show as it inherits some of the window properties from the instrumentation app. We can re-enable the splash screen by creating a new bundle and set the splash screen property. Test: atest csuite-harness-tests Bug: 191278526 Change-Id: I6d2728c0f1d3839ad0b42aa70c5b3575ddd4ea8b
* Add an option to record screen during launch testsYuexi Ma2021-06-232-3/+124
| | | | | Test: atest csuite-harness-tests Change-Id: Ia982e0a3c134f30e32443675b266f5137b59668b
* Collect GMS core version information in launch testsYuexi Ma2021-06-232-0/+46
| | | | | | | Add an option to collect the GMS core version name and version code in launch tests. Test: atest csuite-harness-tests Change-Id: I8226e4c9cb64ff869101203f6fa5607c62ba8925
* Collect app version information in launch testsYuexi Ma2021-06-232-4/+102
| | | | | | | Add an option to collect app version name and version code in launch tests. Test: atest csuite-harness-tests Change-Id: I009732c29aeabba53d02ef708db183f2b0f84b8c
* Temporally disable a few unit test casesYuexi Ma2021-06-081-2/+5
| | | | | | Change-Id: Ie0f2cf7bcbc04fc08aad177b13809fac96e0a1fc Test: atest csuite-harness-tests Fix: 187380263
* Temporally disable a unit testYuexi Ma2021-06-011-1/+2
| | | | | | Test: atest csuite-harness-tests Fix: 187506768 Change-Id: Ie1189f95c003d64e6e46bfb0a667e589d0ef209c
* Add an option to take screenshot after app launchandroid-s-beta-2android-s-beta-1Yuexi Ma2021-04-302-1/+46
| | | | | | Test: atest csuite-harness-tests Bug: 184659711 Change-Id: I8a80dddee70208f794eea861d7a94e2985e6798b
* Add incremental installation option to AppLaunchTest.Nathan Zoltan Poag2021-04-172-0/+33
| | | | | | | | | (This is a cherry-pick of ag/14045737 with minor formatting fixes by java-format) Bug: 162147271 Test: atest csuite-harness-tests Change-Id: Iada54ee8dfb26f345c4deb1bab2d558a2a10a65d Merged-In: Iada54ee8dfb26f345c4deb1bab2d558a2a10a65d
* Add a launch test target that does not install appsYuexi Ma2021-04-088-0/+47
| | | | | | | | Add a test target that performs launch tests on apps already installed on the devices. This will be used to test system apps that come with the device image. Bug: 184659129 Test: csuite-tradefed run csuite-app-launch-no-install Change-Id: I9bd10b46e1db92b9735071ddfb653d2f8670d60e
* Merge "Remove a deprecated option"Treehugger Robot2021-04-082-69/+2
|\
| * Remove a deprecated optionYuexi Ma2021-03-172-69/+2
| | | | | | | | | | Test: atest :presubmit Change-Id: I440ee9ead2f487bbfdbf49a4650c7a0c42d98359
* | Mark csuite_crash_detection_test as not unit testsJulien Desprez2021-04-011-0/+3
| | | | | | | | | | | | | | | | This test runs through test mapping and requires a device Change-Id: Ifcdd91182522d0c9358c564c133eec955a3e79c6 Test: presubmit Bug: 183730987
* | Merge "Migrate csuite-tradefed-tests to test mapping"Julien Desprez2021-03-233-29/+3
|\ \
| * | Migrate csuite-tradefed-tests to test mappingJulien Desprez2021-03-223-29/+3
| | | | | | | | | | | | | | | | | | | | | | | | unit tests do not need an explicit definition Change-Id: I27a3c000bcc360b77d5f012a7a9afb4f72ff1c6c Test: presubmit Bug: 180736967
* | | Merge "migrate csuite-harness-tests out of test mapping"Julien Desprez2021-03-233-33/+5
|\ \ \
| * | | migrate csuite-harness-tests out of test mappingJulien Desprez2021-03-233-33/+5
| |/ / | | | | | | | | | | | | | | | Change-Id: I93c27f1c91ef39dfc04d01405577bb5640bc0cef Test: presubmit Bug: 180736967
* | | Merge "[LSC] Add LOCAL_LICENSE_KINDS to test/app_compat/csuite"Treehugger Robot2021-03-233-0/+12
|\ \ \
| * | | [LSC] Add LOCAL_LICENSE_KINDS to test/app_compat/csuiteBob Badour2021-03-223-0/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added SPDX-license-identifier-Apache-2.0 to: tests/csuite-app-launch/Android.bp tests/csuite-system-app-launch/Android.bp tests/csuite-test-package-launch/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Iebc5b4f338a62762ab04df375ef8b079ffc569a5
* | | Merge "Add support for custom test plans"Treehugger Robot2021-03-232-44/+108
|\ \ \ | |/ / |/| |
| * | Add support for custom test plansYuexi Ma2021-03-172-44/+108
| |/ | | | | | | | | | | | | Enable users to specify their own Tradefed test plan in C-Suite modules. This enables them to customize any one-time actions that are performed for all tests. Test: go test . Change-Id: I2beb53f3a9ac2abd3907c446eafbc5a1893be2e0
* | Migrate generate_module_test out of test mappingJulien Desprez2021-03-192-9/+3
| | | | | | | | | | | | | | | | Unit tests do not require an explicit TEST_MAPPING config Change-Id: I79def4f27f801c978f8ff1c71a173d5086cc723e Test: presubmit Bug: 183209529
* | Merge "Set default value of AAPT version to AAPT2"Yuexi Ma2021-03-191-1/+1
|\ \
| * | Set default value of AAPT version to AAPT2Yuexi Ma2021-03-181-1/+1
| |/ | | | | | | | | | | | | AAPT has been deprecated and all our tests are currently using AAPT2. Test: atest :presubmit Change-Id: I43f2cbf74f6933f0ddeed14cc32f7635e02a2cc5
* | Replace test plan xml configs with csuite_test soong targetsYuexi Ma2021-03-199-66/+54
| | | | | | | | | | Test: make csuite Change-Id: If43cc5a2549a6d37e72df1ae6e95c1691d45021f
* | [LSC] Add LOCAL_LICENSE_KINDS to test/app_compat/csuiteBob Badour2021-03-171-0/+4
|/ | | | | | | | | | | | | | Added SPDX-license-identifier-Apache-2.0 to: tools/csuite_test/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Icdce0e8383f1dd871d582b5c439723d5268b1fdd
* Merge "Add a csuite_test Soong rule"Yuexi Ma2021-03-175-0/+385
|\
| * Add a csuite_test Soong ruleYuexi Ma2021-03-125-0/+385
| | | | | | | | | | | | | | | | Create a csuite_test Soong build rule to enable users to create csuite tests with their own custom module template and without having to modify C-Suite's core. Test: go test . Bug: 175317761 Change-Id: I2f665203adfc9adab0881ea37e4e3a6d56860974
* | Attempts to recover the package manager during test setup am: 81d8abd58aYuexi Ma2021-03-022-9/+56
|\| | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/test/app_compat/csuite/+/1584547 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I5db4ef036e9706ae03a3d4aa92b1b8eee3bbfadd
| * Attempts to recover the package manager during test setupYuexi Ma2021-03-012-9/+56
| | | | | | | | | | | | | | | | Because the app uninstaller requires the package manager to be available, it should check attempts to recover the package manager before uninstalling apps. Test: atest :presubmit Bug: 179101382 Change-Id: Ia83bd05ab77bb00ab14157b40eb87296e6e90f02
* | Change the system app uninstaller preparer into a util class am: e11386db17Yuexi Ma2021-03-025-129/+94
|\| | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/test/app_compat/csuite/+/1584433 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id2dc79d15facba5fe8f0e214254836c3a90dda98
| * Change the system app uninstaller preparer into a util classYuexi Ma2021-03-015-129/+94
| | | | | | | | | | | | | | | | Change the system app uninstaller preparer into a util class and call it from the app setup preparer. Test: atest :presubmit Bug: 179101382 Change-Id: I945fd5d41bedf22599fc53fdc2679738e1c35215
* | Check whether a system app is installed before trying to uninstall it am: ↵Yuexi Ma2021-03-021-1/+6
|\| | | | | | | | | | | | | | | | | | | a2b2ba7289 Original change: https://android-review.googlesource.com/c/platform/test/app_compat/csuite/+/1584432 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I3ed347736d1c55fc180aa1a68439e8ede0fa1fcc
| * Check whether a system app is installed before trying to uninstall itYuexi Ma2021-02-171-1/+6
| | | | | | | | | | | | | | Previously the uninstaller attempts to uninstall a given app as a first step. While the uninstaller is designed to handle uninstalling non-existent apps, the log might cause confusion as the adb command would throw an error. It also triggers unnecessary error handling in the device's package manager. This CL adds a check and avoid attempting to uninstall a package that doesn't exist. Test: atest :presubmit Change-Id: Ie10c140d7ec4ef059b1d8a2c699600b4675d3698
* | Ensure the framework is turned back on in uninstaller am: 274cc63042Yuexi Ma2021-03-021-7/+21
|\| | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/test/app_compat/csuite/+/1584223 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I79f736be19b1a6cb6d264ecc226f39e661242058
| * Ensure the framework is turned back on in uninstallerYuexi Ma2021-02-171-7/+21
| | | | | | | | | | | | | | Previously if the operations throws error after stopping the framework, it won't turn back on. This CL uses a try-finally block to ensure framework is turned back on. Test: atest :presubmit Change-Id: I5f5bf9d771b06e9e9b37bff231510a6379975809
* | Mark ab/7061308 as merged in stage.Xin Li2021-02-200-0/+0
|\ \ | | | | | | | | | | | | | | | Bug: 180401296 Merged-In: I4c9c65b32e818bba67590fc93caa118ac9093cfe Change-Id: Iec5e171b6781197480dbbf309f595c849ff212a2
| * \ Sync with internal development trunk. am: d90bd90ca4Xin Li2020-12-2865-1871/+5230
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/test/app_compat/csuite/+/13271946 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4c9c65b32e818bba67590fc93caa118ac9093cfe
* | \ \ Add a OWNERS file am: 8cdf2e32c5Yuexi Ma2021-02-171-0/+5
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/test/app_compat/csuite/+/1590951 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4ea06762aa419c6763f00ab262cee92d6670014d
| * | | Add a OWNERS fileandroid-s-preview-1Yuexi Ma2021-02-161-0/+5
| | | | | | | | | | | | | | | | | | | | Test: n/a Change-Id: I151b35c587f7731730fe9a652550c433de39cf8c
* | | | [LSC] Add LOCAL_LICENSE_KINDS to test/app_compat/csuite am: 6f0eda2a70Bob Badour2021-02-059-0/+36
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/test/app_compat/csuite/+/1576299 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifed7db9173012d084d836102b2afa559a0781178
| * | | [LSC] Add LOCAL_LICENSE_KINDS to test/app_compat/csuiteBob Badour2021-02-059-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added SPDX-license-identifier-Apache-2.0 to: Android.bp harness/Android.bp instrumentation/launch/Android.bp integration_tests/Android.bp integration_tests/csuite_crash_on_launch_test_app/Android.bp integration_tests/csuite_no_crash_test_app/Android.bp pylib/Android.bp tools/csuite-tradefed/Android.bp tools/script/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ifcd3d489a8bb607dd80c2aade9f50ac8599794c9
* | | | Add a file based package name provider am: a2309f72b8Yuexi Ma2021-02-034-0/+178
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/test/app_compat/csuite/+/1571037 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I281729b7eb510b279f19dfacb63518cc860127fa
| * | | Add a file based package name providerYuexi Ma2021-02-024-0/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the list of package names is too large, the test command might be too long for some system to handle. This CL adds a file based package name provider so that the test can accept files that contains long package name lists. Test: atest :presubmit Bug: 178392533 Change-Id: I0946e8de1c9226edb2560fd3190941b9a8edc8ed Merged-In: I0946e8de1c9226edb2560fd3190941b9a8edc8ed (cherry picked from commit 0aa77a2f149a74adb9961864a4cf20dfe1814dba)
* | | | Add a package name provider interface am: 68c5a9249fYuexi Ma2021-02-037-37/+223
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/test/app_compat/csuite/+/1571036 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I7a6429036fae1c688dccb7ef8ccb181c874bb5fa
| * | | Add a package name provider interfaceYuexi Ma2021-02-027-37/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use an interface to provide package names to the module generator to make adding support for new sources easier. Test: atest :presubmit Bug: 178392533 Change-Id: I5e32d0d240994b532f492b915f7b591da7a43edd Merged-In: I5e32d0d240994b532f492b915f7b591da7a43edd (cherry picked from commit 912ad5c665e60a23b172ddc78820dc92058c38a5)