summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-08-23 19:37:57 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-08-23 19:37:57 +0000
commit94a6ab2770bca0911a7ee5283e8d179ba20f6c98 (patch)
tree81fd4b3f2480cd03f065d657a86ae107149e6c08 /tests
parent03947a268ec26eacef209e88d8498533eab089f0 (diff)
parentf05826a60e1cb07f6daad9bcfb5cd8bad3eaa9f1 (diff)
Merge "Fix coverage of FrameworksWifiTests"
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/Android.bp24
1 files changed, 23 insertions, 1 deletions
diff --git a/tests/wifitests/Android.bp b/tests/wifitests/Android.bp
index b0ff2cf90..3e36e9208 100644
--- a/tests/wifitests/Android.bp
+++ b/tests/wifitests/Android.bp
@@ -21,6 +21,28 @@ android_test {
srcs: ["**/*.java"],
+ // For coverage
+ jacoco: {
+ include_filter: [
+ "com.android.server.wifi.*",
+ "com.android.server.wifi.aware.*",
+ "com.android.server.wifi.hotspot2.*",
+ "com.android.server.wifi.hotspot2.anqp.*",
+ "com.android.server.wifi.hotspot2.anqp.eap.*",
+ "com.android.server.wifi.hotspot2.omadm.*",
+ "com.android.server.wifi.hotspot2.soap.*",
+ "com.android.server.wifi.hotspot2.soap.command.*",
+ "com.android.server.wifi.p2p.*",
+ "com.android.server.wifi.rtt.*",
+ "com.android.server.wifi.scanner.*",
+ "com.android.server.wifi.util.*",
+ "com.android.server.wifi.wificond.*",
+ ],
+ exclude_filter: [
+ "com.android.server.wifi.ClientModeImplTest",
+ ],
+ },
+
dxflags: ["--multi-dex"],
// wifi-service and services must be included here so that the latest changes
@@ -34,7 +56,7 @@ android_test {
"mockito-target-extended-minus-junit4",
"frameworks-base-testutils",
"services",
- "WifiStackBase",
+ "wifi-service",
"truth-prebuilt",
],