1//############################################################ 2// ManagedProvisioning Robolectric test target. # 3//############################################################ 4package { 5 default_applicable_licenses: ["Android-Apache-2.0"], 6} 7 8android_robolectric_test { 9 10 name: "ManagedProvisioningRoboTests", 11 12 srcs: ["src/**/*.java"], 13 14 java_resource_dirs: ["config"], 15 16 // Include the testing libraries 17 libs: [ 18 "robolectric_android-all-stub", 19 "Robolectric_all-target", 20 "mockito-robolectric-prebuilt", 21 "truth-prebuilt", 22 "androidx.test.core", 23 "androidx.test.rules", 24 "androidx.core_core", 25 "testng", // used only for assertThrows 26 ], 27 28 static_libs: ["managedprovisioning_protoslite"], 29 30 instrumentation_for: "ManagedProvisioning", 31} 32