1ae4cbbb82
These tests don't do much currently other than assert that we can configure the chip in the required modes and create all the iface objects. The |wifi_hidl_test_utils| contains all helper functions that will be shared across the different test fixtures. Bug: 33459306 Test: adb root && adb remount && adb push out/target/product/angler/data/nativetest/wifi_hidl_test/wifi_hidl_test /data/ && adb shell /data/wifi_hidl_test Change-Id: Iaea8e264ab1ef9113f375d7f56acab851aff21aa
50 lines
1.4 KiB
Text
50 lines
1.4 KiB
Text
//
|
|
// Copyright (C) 2016 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
|
|
cc_test {
|
|
name: "wifi_hidl_test",
|
|
gtest: true,
|
|
srcs: [
|
|
"main.cpp",
|
|
"wifi_ap_iface_hidl_test.cpp",
|
|
"wifi_chip_hidl_test.cpp",
|
|
"wifi_hidl_test.cpp",
|
|
"wifi_hidl_test_utils.cpp",
|
|
"wifi_nan_iface_hidl_test.cpp",
|
|
"wifi_p2p_iface_hidl_test.cpp",
|
|
"wifi_rtt_controller_hidl_test.cpp",
|
|
"wifi_sta_iface_hidl_test.cpp"],
|
|
shared_libs: [
|
|
"libbase",
|
|
"liblog",
|
|
"libcutils",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"libnativehelper",
|
|
"libutils",
|
|
"android.hardware.wifi@1.0",
|
|
],
|
|
static_libs: ["libgtest"],
|
|
cflags: [
|
|
"--coverage",
|
|
"-O0",
|
|
"-g",
|
|
],
|
|
ldflags: [
|
|
"--coverage"
|
|
]
|
|
}
|