Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3dde0c62 authored by David Su's avatar David Su
Browse files

Remove FrameworksWifiApiTests jacoco exclude_filter

jacoco exclude_filter generation does not work in
Android.bp. Remove it for now and add it back
later.

Bug: 147521214
Test: atest FrameworksWifiApiTests
Change-Id: If725f0242d4064097b84d2394e94743e9a02feb3
parent 842f76b9
Loading
Loading
Loading
Loading
+3 −21
Original line number Diff line number Diff line
@@ -15,25 +15,6 @@
// Make test APK
// ============================================================

// This list is generated from the java source files in this module
// The list is a comma separated list of class names with * matching zero or more characters.
// Example:
//   Input files: src/com/android/server/wifi/Test.java src/com/android/server/wifi/AnotherTest.java
//   Generated exclude list: com.android.server.wifi.Test*,com.android.server.wifi.AnotherTest*

// Filter all src files to just java files
local_java_files = ["__builtin_func:filter %.java <'LOCAL_SRC_FILES' unset>"]
// Transform java file names into full class names.
// This only works if the class name matches the file name and the directory structure
// matches the package.
local_classes = ["__builtin_func:subst / . __builtin_func:patsubst src/%.java % <'local_java_files' unset>"]
// Convert class name list to jacoco exclude list
// This appends a * to all classes and replace the space separators with commas.
// These patterns will match all classes in this module and their inner classes.
jacoco_exclude = ["__builtin_func:subst <'space' unset> <'comma' unset> __builtin_func:patsubst % %* <'local_classes' unset>"]

jacoco_include = ["android.net.wifi.*"]

android_test {
    name: "FrameworksWifiApiTests",

@@ -42,8 +23,9 @@ android_test {
    srcs: ["**/*.java"],

    jacoco: {
        include_filter: jacoco_include,
        exclude_filter: jacoco_exclude,
        include_filter: ["android.net.wifi.*"],
        // TODO(b/147521214) need to exclude test classes
        exclude_filter: [],
    },

    static_libs: [