12 Commits

Author SHA1 Message Date
easoncylee
f994d1229b Move FrameworksServicesTests to group presubmit-large
The test config takes longer than 15mins to run. Move it to a dedicated
group for running slow presubmit Test Mapping test.

Some more context is in the referenced bug, e.g, b/174495337
The group will work exactly the same as presubmit for now.

Bug: 174654670
Bug: 174495337
Test: none
Change-Id: Ifefd791b8dc24d5fda12affac0c99787da3d5086
2021-04-19 13:32:12 +00:00
James Mattis
407fd06a54 Merge "Add auto-postsubmit test tag for frameworks/base" am: ec14bafb25 am: 987d246395 am: c8cf0becf0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1626462

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0586b18d6e02e54e9eb0742c847b9523cf34a64b
2021-03-11 18:51:10 +00:00
James Mattis
43c468165a Add auto-postsubmit test tag for frameworks/base
Adding a seperate test tag for postsubmit so as to identify which tests
to run for automotive builds.

Bug: 179917339
Test: atest --test-mapping
frameworks/base/TEST_MAPPING:auto-postsubmit

Change-Id: I560bc7bc259093d9ee5c1bfae531539b5155052a
2021-03-10 11:00:37 -08:00
Lais Andrade
fc7fd1e06d Add missing permission tests for VibratorManagerService
Add a regression test to cover the SecurityException that caused the
linked bug. The test fails without the fix cl merged.

Also add all missing permission tests for the VibratorManagerService
API, and adds this test to presubmit.

Bug: 180324695
Test: VibratorManagerServicePermissionTest
Change-Id: I71238fcb4d5204aa7861ed4855579750f391102a
2021-02-22 01:08:39 +00:00
Oli Lan
42da924e2a Add FrameworksInProcessTests to presubmit.
This adds tests that run in-process in system server to presubmit.

These are tests that use the new mechanism described at
go/internal-api-testing to instrument the system server.

This CL also changes the in-process tests to use DeviceCleaner
to reboot the device after the tests, rather than using "am restart"
as the previous approach caused subsequent tests to fail.

Bug: 162933947
Test: atest
Change-Id: I1487202b1432a7986b3a0a03b9cfb318d5ec53ae
2021-02-08 13:24:25 +00:00
easoncylee
4ea8010e25 Merge "Convert apct/framework/presubmit-cloud-tf to Test Mapping Suite." am: 888c3b0347 am: f5c7e1b90a
am: 8da67c7571

Change-Id: I46c9b304a1445f0f6b51e64e7e6b01a6aa3653c8
2019-12-09 18:12:58 -08:00
easoncylee
1620d24cb9 Convert apct/framework/presubmit-cloud-tf to Test Mapping Suite.
This CL is to convert CF presubmit tests to run in Test Mapping suite.
It has been verified that the test coverage is the same as the original
ATP config.

Bug: 145165552
Bug: 145575229

Test: TreeHugger
      atest FrameworksServicesTests
      atest FrameworksCoreTests

Change-Id: I76e3b0d3a85d447d7b1e3138f6b341c8f00475dd
2019-12-09 20:51:57 +08:00
easoncylee
bdbbb3a05f Merge "Convert apct/framework/ext_services_test-cloud-tf and apct/framework/testables_test-cloud-tf to Test Mapping Suite." am: 0b51af2540 am: 3f6177c54a
am: 1222d756d1

Change-Id: I8fea39a113bf11d3ad10ba4e249808a832ed9b1f
2019-12-08 22:55:14 -08:00
Pavel Grafov
56b8653b74 Managed profile creation/deletion stress test.
This test duplicates UserLifecycleStressTest to a degree, but it is
implemented as a host side test and is not subject to device test
timeout.

Bug: 141115315
Test: atest ManagedProfileLifecycleStressTest
Change-Id: I680a2f6965a49ba81b48591e4dcabc87091ac860
2019-12-04 18:55:36 +00:00
easoncylee
955d210fbb Convert apct/framework/ui_services_test-cloud-tf to Test Mapping Suite.
This CL is to convert CF presubmit tests to run in Test Mapping suite.
It has been verified that the test coverage is the same as the original
ATP config.

Bug: 145165552
Bug: 145485387

Test: TreeHugger
      atest FrameworksUiServicesTests

Change-Id: Ie16ed765247278b79284b445296fbb0e81d41bf5
Merged-In: Ie16ed765247278b79284b445296fbb0e81d41bf5
2019-12-04 12:45:24 +08:00
easoncylee
90857edbbe Convert apct/framework/ext_services_test-cloud-tf and
apct/framework/testables_test-cloud-tf to Test Mapping Suite.

This CL is to convert CF presubmit tests to run in Test Mapping suite.
It has been verified that the test coverage is the same as the original
ATP config.

Bug: 145165552
Bug: 145488933
Bug: 145488321

Test: TreeHugger
      atest ExtServicesUnitTests
      atest TestablesTests

Change-Id: I95a96e6572cd508e3043dbbd0c665fac9fa79f18
2019-12-04 11:46:16 +08:00
easoncylee
d063e1116c Convert apct/framework/ui_services_test-cloud-tf to Test Mapping Suite.
This CL is to convert CF presubmit tests to run in Test Mapping suite.
It has been verified that the test coverage is the same as the original
ATP config.

Bug: 145165552
Bug: 145485387

Test: TreeHugger
      atest FrameworksUiServicesTests

Change-Id: Ie16ed765247278b79284b445296fbb0e81d41bf5
2019-12-03 00:47:48 +00:00