mirror of
https://gitee.com/openharmony/filemanagement_user_file_service
synced 2024-12-04 13:57:48 +00:00
tddbugfix
Signed-off-by: liuhonglin9 <liuhonglin9@huawei.com> Change-Id: Iec2c10c4e32e9ce8e5fa38f9220d20c3d85fe805
This commit is contained in:
parent
165da1222f
commit
e7ce5a2e76
@ -5763,8 +5763,8 @@ HWTEST_F(FileExtensionHelperTest, external_file_access_Move_item_0012, testing::
|
||||
|
||||
result = g_fah->MoveItem(newDirUriTest1, newDirUriTest2, moveResult, false);
|
||||
EXPECT_EQ(result, -2);
|
||||
EXPECT_EQ(moveResult[0].errCode, OHOS::FileAccessFwk::ERR_EXIST);
|
||||
EXPECT_EQ(moveResult[1].errCode, OHOS::FileAccessFwk::ERR_IS_DIR);
|
||||
EXPECT_EQ(moveResult[0].errCode, OHOS::FileAccessFwk::ERR_IS_DIR);
|
||||
EXPECT_EQ(moveResult[1].errCode, OHOS::FileAccessFwk::ERR_EXIST);
|
||||
result = g_fah->Delete(newDirUriTest1);
|
||||
EXPECT_EQ(result, OHOS::FileAccessFwk::ERR_OK);
|
||||
result = g_fah->Delete(newDirUriTest2);
|
||||
|
Loading…
Reference in New Issue
Block a user