mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-23 17:09:46 +00:00
修正测试用例
Signed-off-by: 张智勇 <zhangzhiyong43@huawei.com>
This commit is contained in:
parent
4c6f3f5e59
commit
9b390c9b06
@ -175,7 +175,7 @@ HWTEST_F(PrintCupsClientTest, PrintCupsClientTest_0004, TestSize.Level1)
|
||||
printCupsClient.CopyDirectory(srcDir, destDir);
|
||||
|
||||
EXPECT_EQ(std::filesystem::is_regular_file(
|
||||
std::string(destDir) + "PrintCupsClientTest/PrintCupsClientTestFileName"),
|
||||
std::string(destDir) + "/PrintCupsClientTest/PrintCupsClientTestFileName"),
|
||||
true);
|
||||
EXPECT_GE(std::filesystem::remove_all(std::filesystem::current_path() / srcDir), 0);
|
||||
EXPECT_GE(std::filesystem::remove_all(std::filesystem::current_path() / destDir), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user