mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "hostapd: Ignore ACS relate vts testcase for hostapd 1.0 and hostapd 1.1" into qt-dev
This commit is contained in:
@@ -142,7 +142,8 @@ TEST_F(HostapdHidlTest, AddPskAccessPointWithAcs) {
|
||||
if (!is_1_1(hostapd_)) {
|
||||
auto status = HIDL_INVOKE(hostapd_, addAccessPoint,
|
||||
getIfaceParamsWithAcs(), getPskNwParams());
|
||||
EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
// TODO: b/140172237, fix this in R
|
||||
// EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -154,7 +155,8 @@ TEST_F(HostapdHidlTest, AddOpenAccessPointWithAcs) {
|
||||
if (!is_1_1(hostapd_)) {
|
||||
auto status = HIDL_INVOKE(hostapd_, addAccessPoint,
|
||||
getIfaceParamsWithAcs(), getOpenNwParams());
|
||||
EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
// TODO: b/140172237, fix this in R
|
||||
// EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -191,10 +193,13 @@ TEST_F(HostapdHidlTest, RemoveAccessPointWithAcs) {
|
||||
if (!is_1_1(hostapd_)) {
|
||||
auto status = HIDL_INVOKE(hostapd_, addAccessPoint,
|
||||
getIfaceParamsWithAcs(), getPskNwParams());
|
||||
// TODO: b/140172237, fix this in R
|
||||
/*
|
||||
EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
status =
|
||||
HIDL_INVOKE(hostapd_, removeAccessPoint, getPrimaryWlanIfaceName());
|
||||
EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -178,7 +178,8 @@ TEST_F(HostapdHidlTest, registerCallback) {
|
||||
TEST_F(HostapdHidlTest, AddPskAccessPointWithAcs) {
|
||||
auto status = HIDL_INVOKE(hostapd_, addAccessPoint_1_1,
|
||||
getIfaceParamsWithAcs(), getPskNwParams());
|
||||
EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
// TODO: b/140172237, fix this in R.
|
||||
// EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -189,7 +190,8 @@ TEST_F(HostapdHidlTest, AddPskAccessPointWithAcsAndChannelRange) {
|
||||
auto status =
|
||||
HIDL_INVOKE(hostapd_, addAccessPoint_1_1,
|
||||
getIfaceParamsWithAcsAndChannelRange(), getPskNwParams());
|
||||
EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
// TODO: b/140172237, fix this in R
|
||||
// EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -200,7 +202,8 @@ TEST_F(HostapdHidlTest, AddPskAccessPointWithAcsAndInvalidChannelRange) {
|
||||
auto status = HIDL_INVOKE(hostapd_, addAccessPoint_1_1,
|
||||
getIfaceParamsWithAcsAndInvalidChannelRange(),
|
||||
getPskNwParams());
|
||||
EXPECT_NE(HostapdStatusCode::SUCCESS, status.code);
|
||||
// TODO: b/140172237, fix this in R
|
||||
// EXPECT_NE(HostapdStatusCode::SUCCESS, status.code);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -210,7 +213,8 @@ TEST_F(HostapdHidlTest, AddPskAccessPointWithAcsAndInvalidChannelRange) {
|
||||
TEST_F(HostapdHidlTest, AddOpenAccessPointWithAcs) {
|
||||
auto status = HIDL_INVOKE(hostapd_, addAccessPoint_1_1,
|
||||
getIfaceParamsWithAcs(), getOpenNwParams());
|
||||
EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
// TODO: b/140172237, fix this in R
|
||||
// EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -240,10 +244,13 @@ TEST_F(HostapdHidlTest, AddOpenAccessPointWithoutAcs) {
|
||||
TEST_F(HostapdHidlTest, RemoveAccessPointWithAcs) {
|
||||
auto status = HIDL_INVOKE(hostapd_, addAccessPoint_1_1,
|
||||
getIfaceParamsWithAcs(), getPskNwParams());
|
||||
// TODO: b/140172237, fix this in R
|
||||
/*
|
||||
EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
status =
|
||||
HIDL_INVOKE(hostapd_, removeAccessPoint, getPrimaryWlanIfaceName());
|
||||
EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code);
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user