OSDN Git Service

Fix AppCompactorTest and add a presubmit TEST_RULE
authorLinus Tufvesson <lus@google.com>
Tue, 26 Mar 2019 17:31:14 +0000 (17:31 +0000)
committerLinus Tufvesson <lus@google.com>
Wed, 27 Mar 2019 11:30:49 +0000 (11:30 +0000)
commitea885b5ee47e17e986e140c552f2bfb6d184f156
tree8b75408d07501b6c8814470eb9cbdd7f49909033
parentfdafee5024749591635438c6f0f70178a7efbb0e
Fix AppCompactorTest and add a presubmit TEST_RULE

Test will run as presubmit if AppCompactor.java is modified.

Modifying server/TEST_MAPPING to add "include-filter":
"com.android.server." to make sure it still runs as expected.

Bug: 128613287
Bug: 129341058

Test: atest --test-mapping [while in com/android/server/am/]
Test: atest FrameworksMockingServicesTests:AppCompactorTest
Change-Id: I6238f83c0f94d9a9ca593ddab5169667150a5583
services/core/java/com/android/server/TEST_MAPPING
services/core/java/com/android/server/am/TEST_MAPPING
services/tests/mockingservicestests/src/com/android/server/am/AppCompactorTest.java