Merge "Change vts target base test class name"
This commit is contained in:
commit
4f4fdaf664
27 changed files with 42 additions and 42 deletions
|
@ -28,7 +28,7 @@ cc_test {
|
|||
"libutils",
|
||||
"android.hardware.bluetooth@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetBaseTest"],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <hardware/bluetooth.h>
|
||||
#include <utils/Log.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
#include <queue>
|
||||
|
@ -117,11 +117,11 @@ class ThroughputLogger {
|
|||
};
|
||||
|
||||
// The main test class for Bluetooth HIDL HAL.
|
||||
class BluetoothHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class BluetoothHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override {
|
||||
// currently test passthrough mode only
|
||||
bluetooth = ::testing::VtsHalHidlTargetBaseTest::getService<IBluetoothHci>();
|
||||
bluetooth = ::testing::VtsHalHidlTargetTestBase::getService<IBluetoothHci>();
|
||||
ASSERT_NE(bluetooth, nullptr);
|
||||
ALOGI("%s: getService() for bluetooth is %s", __func__,
|
||||
bluetooth->isRemote() ? "remote" : "local");
|
||||
|
|
|
@ -27,7 +27,7 @@ cc_test {
|
|||
"libutils",
|
||||
"android.hardware.ir@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetBaseTest"],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <android/hardware/ir/1.0/IConsumerIr.h>
|
||||
#include <android/hardware/ir/1.0/types.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
#include <algorithm>
|
||||
|
||||
using ::android::hardware::ir::V1_0::IConsumerIr;
|
||||
|
@ -31,10 +31,10 @@ using ::android::hardware::Return;
|
|||
using ::android::sp;
|
||||
|
||||
// The main test class for IR HIDL HAL.
|
||||
class ConsumerIrHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class ConsumerIrHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override {
|
||||
ir = ::testing::VtsHalHidlTargetBaseTest::getService<IConsumerIr>();
|
||||
ir = ::testing::VtsHalHidlTargetTestBase::getService<IConsumerIr>();
|
||||
ASSERT_NE(ir, nullptr);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ cc_test {
|
|||
"libutils",
|
||||
"android.hardware.nfc@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetBaseTest"],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <android/hardware/nfc/1.0/types.h>
|
||||
#include <hardware/nfc.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
#include <chrono>
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
|
@ -56,10 +56,10 @@ using ::android::sp;
|
|||
#define TIMEOUT_PERIOD 5
|
||||
|
||||
// The main test class for NFC HIDL HAL.
|
||||
class NfcHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class NfcHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override {
|
||||
nfc_ = ::testing::VtsHalHidlTargetBaseTest::getService<INfc>();
|
||||
nfc_ = ::testing::VtsHalHidlTargetTestBase::getService<INfc>();
|
||||
ASSERT_NE(nfc_, nullptr);
|
||||
|
||||
nfc_cb_ = new NfcClientCallback(*this);
|
||||
|
|
|
@ -33,7 +33,7 @@ cc_test {
|
|||
"libutils",
|
||||
"android.hardware.radio@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetBaseTest"],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include<radio_hidl_hal_utils.h>
|
||||
|
||||
void RadioHidlTest::SetUp() {
|
||||
radio = ::testing::VtsHalHidlTargetBaseTest::getService<IRadio>(hidl_string("rild"));
|
||||
radio = ::testing::VtsHalHidlTargetTestBase::getService<IRadio>(hidl_string("rild"));
|
||||
ASSERT_NE(radio, nullptr);
|
||||
|
||||
radioRsp = new RadioResponse(*this);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
#include <chrono>
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
|
@ -435,7 +435,7 @@ public:
|
|||
};
|
||||
|
||||
// The main test class for Radio HIDL.
|
||||
class RadioHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class RadioHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
private:
|
||||
std::mutex mtx;
|
||||
std::condition_variable cv;
|
||||
|
|
|
@ -38,7 +38,7 @@ cc_test {
|
|||
"libutils",
|
||||
"android.hardware.wifi@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetBaseTest"],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "wifi_hidl_test_utils.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include <android/hardware/wifi/1.0/IWifiApIface.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "wifi_hidl_test_utils.h"
|
||||
|
||||
|
@ -28,7 +28,7 @@ using ::android::sp;
|
|||
/**
|
||||
* Fixture to use for all AP Iface HIDL interface tests.
|
||||
*/
|
||||
class WifiApIfaceHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class WifiApIfaceHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override {}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include <android/hardware/wifi/1.0/IWifiChip.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "wifi_hidl_call_util.h"
|
||||
#include "wifi_hidl_test_utils.h"
|
||||
|
@ -63,7 +63,7 @@ bool hasAnyRingBufferCapabilities(uint32_t caps) {
|
|||
/**
|
||||
* Fixture to use for all Wifi chip HIDL interface tests.
|
||||
*/
|
||||
class WifiChipHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class WifiChipHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override {
|
||||
wifi_chip_ = getWifiChip();
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
namespace {
|
||||
namespace detail {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include <android/hardware/wifi/1.0/IWifi.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "wifi_hidl_test_utils.h"
|
||||
|
||||
|
@ -28,7 +28,7 @@ using ::android::sp;
|
|||
/**
|
||||
* Fixture to use for all root Wifi HIDL interface tests.
|
||||
*/
|
||||
class WifiHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class WifiHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override {}
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "wifi_hidl_call_util.h"
|
||||
#include "wifi_hidl_test_utils.h"
|
||||
|
@ -91,7 +91,7 @@ void stopFramework() {
|
|||
void startFramework() { ASSERT_EQ(std::system("start"), 0); }
|
||||
|
||||
sp<IWifi> getWifi() {
|
||||
sp<IWifi> wifi = ::testing::VtsHalHidlTargetBaseTest::getService<IWifi>();
|
||||
sp<IWifi> wifi = ::testing::VtsHalHidlTargetTestBase::getService<IWifi>();
|
||||
return wifi;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <android/hardware/wifi/1.0/IWifiNanIface.h>
|
||||
#include <android/hardware/wifi/1.0/IWifiNanIfaceEventCallback.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
#include <chrono>
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
|
@ -38,7 +38,7 @@ using ::android::sp;
|
|||
/**
|
||||
* Fixture to use for all NAN Iface HIDL interface tests.
|
||||
*/
|
||||
class WifiNanIfaceHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class WifiNanIfaceHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override {
|
||||
iwifiNanIface = getWifiNanIface();
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include <android/hardware/wifi/1.0/IWifiP2pIface.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "wifi_hidl_test_utils.h"
|
||||
|
||||
|
@ -28,7 +28,7 @@ using ::android::sp;
|
|||
/**
|
||||
* Fixture to use for all P2P Iface HIDL interface tests.
|
||||
*/
|
||||
class WifiP2pIfaceHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class WifiP2pIfaceHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override {}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include <android/hardware/wifi/1.0/IWifiRttController.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "wifi_hidl_test_utils.h"
|
||||
|
||||
|
@ -28,7 +28,7 @@ using ::android::sp;
|
|||
/**
|
||||
* Fixture to use for all RTT controller HIDL interface tests.
|
||||
*/
|
||||
class WifiRttControllerHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class WifiRttControllerHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override {}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include <android/hardware/wifi/1.0/IWifiStaIface.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "wifi_hidl_call_util.h"
|
||||
#include "wifi_hidl_test_utils.h"
|
||||
|
@ -31,7 +31,7 @@ using ::android::hardware::wifi::V1_0::WifiStatusCode;
|
|||
/**
|
||||
* Fixture to use for all STA Iface HIDL interface tests.
|
||||
*/
|
||||
class WifiStaIfaceHidlTest : public ::testing::VtsHalHidlTargetBaseTest {
|
||||
class WifiStaIfaceHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override {
|
||||
wifi_sta_iface_ = getWifiStaIface();
|
||||
|
|
|
@ -37,6 +37,6 @@ LOCAL_SHARED_LIBRARIES := \
|
|||
libwifi-system
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libgmock \
|
||||
VtsHalHidlTargetBaseTest
|
||||
VtsHalHidlTargetTestBase
|
||||
include $(BUILD_NATIVE_TEST)
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "supplicant_hidl_test_utils.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "supplicant_hidl_test_utils.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
#include <android-base/logging.h>
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include <hidl/HidlTransportSupport.h>
|
||||
#include <android/hidl/manager/1.0/IServiceManager.h>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "supplicant_hidl_test_utils.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "supplicant_hidl_test_utils.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
#include <VtsHalHidlTargetBaseTest.h>
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include "supplicant_hidl_test_utils.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue