delete UTCase AccessibleAbilityChannelStubUnitTest_Unittest_OnRemoteRequest_016

Signed-off-by: Mupceet <laiguizhong@huawei.com>
This commit is contained in:
Mupceet 2022-03-14 18:57:30 +08:00
parent 86e72429be
commit b30c10e081

View File

@ -533,38 +533,6 @@ HWTEST_F(AccessibleAbilityChannelStubUnitTest,
GTEST_LOG_(INFO) << "AccessibleAbilityChannelStubUnitTest_Unittest_OnRemoteRequest_015 end";
}
/**
* @tc.number: AccessibleAbilityChannelStubUnitTest_Unittest_OnRemoteRequest_016
* @tc.name: OnRemoteRequest
* @tc.desc: Test function HandleSendSimulateGesture
*/
HWTEST_F(AccessibleAbilityChannelStubUnitTest,
AccessibleAbilityChannelStubUnitTest_Unittest_OnRemoteRequest_016, TestSize.Level1)
{
GTEST_LOG_(INFO) << "AccessibleAbilityChannelStubUnitTest_Unittest_OnRemoteRequest_016 start";
MessageParcel data;
MessageParcel reply;
MessageOption option;
int sequence = 0;
std::vector<GesturePathDefine> gestureSteps {};
WriteInterfaceToken(data);
data.WriteInt32(sequence);
data.WriteInt32(gestureSteps.size());
for (auto &step : gestureSteps) {
data.WriteParcelable(&step);
}
int res = stub_->OnRemoteRequest(
static_cast<uint32_t>(IAccessibleAbilityChannel::Message::SEND_SIMULATE_GESTURE),
data, reply, option);
EXPECT_EQ(res, OHOS::Accessibility::NO_ERROR);
GTEST_LOG_(INFO) << "AccessibleAbilityChannelStubUnitTest_Unittest_OnRemoteRequest_016 end";
}
/**
* @tc.number: AccessibleAbilityChannelStubUnitTest_Unittest_OnRemoteRequest_018
* @tc.name: OnRemoteRequest