diff options
author | Philip P. Moltmann <moltmann@google.com> | 2020-05-02 16:05:17 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2020-05-04 19:26:19 -0700 |
commit | 06f626aa88dd7e89f4d340cea680ec2b63a59d2c (patch) | |
tree | 32fcd852f3108e9079a81dcf006c2e3a82e13260 /TEST_MAPPING | |
parent | 16c4fcacf7045b885da2399e11f279ce76102c5a (diff) | |
download | PackageInstaller-06f626aa88dd7e89f4d340cea680ec2b63a59d2c.tar.gz |
Split permission controller unit tests
into:
- Tests that drive the real permission controller from inside the
process.
- Tests that mock out dependencies and hence don't run inside the real
app. This new test includes all the permission controller files
locally, but of course is not integrated with the system and hence
breaks when interacting with it.
Therefore this test app should only be used for tests that cannot be
written as blackbox or in-process tests.
Bonus:
- Delete unnecessary translations
- Move ui.handheld tests into the right package
Test: atest PermissionControllerMockingTests PermissionControllerInProcessTests
Bug: 155019930
Change-Id: Id2d4d4a9c638a5c6a4febdf8f7a94636f757bdad
Merged-In: Id2d4d4a9c638a5c6a4febdf8f7a94636f757bdad
Diffstat (limited to 'TEST_MAPPING')
-rw-r--r-- | TEST_MAPPING | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING index 2ff038062..0911e0d91 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -1,6 +1,9 @@ { "presubmit": [ { + "name": "PermissionControllerMockingTests" + }, + { "name": "CtsRoleTestCases", "options": [ { |