From cd2ed27f7f9a1a2a8e6209d0b14ec4bd78bec6d5 Mon Sep 17 00:00:00 2001 From: Al Sutton Date: Fri, 17 Jan 2020 11:32:49 +0000 Subject: [PATCH] Add first order deps to test build file We should have our first order dependencies specified in our build file to help aidegen ensure that any generated IDE files aren't missing crucial dependencies. In this case adding mockito and truth allows IntelliJ to show the verify(...) and assertThat(....) calls are valid and not leave them as red-underlined undefinied calls. Test: aidegen frameworks/base/services/robotests/backup/ Change-Id: Iea347c623dc0bbe5740d6129e710b4757c87d781 --- services/robotests/backup/Android.bp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/robotests/backup/Android.bp b/services/robotests/backup/Android.bp index 9d384e90d2536..ef0ca66610c9f 100644 --- a/services/robotests/backup/Android.bp +++ b/services/robotests/backup/Android.bp @@ -44,8 +44,10 @@ android_robolectric_test { // Include the testing libraries libs: [ + "mockito-robolectric-prebuilt", "platform-test-annotations", "testng", + "truth-prebuilt", ], instrumentation_for: "BackupFrameworksServicesLib",