mirror of
https://gitee.com/openharmony/accessibility
synced 2024-11-27 09:01:34 +00:00
delete UTCase AccessibleAbilityChannelStubUnitTest_Unittest_OnRemoteRequest_016
Signed-off-by: Mupceet <laiguizhong@huawei.com>
This commit is contained in:
parent
86e72429be
commit
b30c10e081
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user