/foundation/filemanagement/dfs_service/test/unittests/distributed_file_daemon/ |
H A D | connection_detector_test.cpp | 259 string testPath = "/data/test/1.txt"; in HWTEST_F() local 261 bool flag = ConnectionDetector::MatchConnectionGroup(testPath, networkId); in HWTEST_F() 264 int fd = open(testPath.c_str(), O_RDWR | O_CREAT); in HWTEST_F() 269 flag = ConnectionDetector::MatchConnectionGroup(testPath, networkId); in HWTEST_F() 272 int ret = unlink(testPath.c_str()); in HWTEST_F() 288 string testPath = "/data/test/1.txt"; in HWTEST_F() local 290 int fd = open(testPath.c_str(), O_RDWR | O_CREAT); in HWTEST_F() 295 bool contentCreate = SaveStringToFile(testPath, content, false); in HWTEST_F() 298 bool flag = ConnectionDetector::MatchConnectionGroup(testPath, networkId); in HWTEST_F() 303 contentCreate = SaveStringToFile(testPath, conten in HWTEST_F() 324 string testPath = "/data/test/1.txt"; HWTEST_F() local 360 string testPath = "/data/test/1.txt"; HWTEST_F() local [all...] |
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | common_util_test.cpp | 56 const char *testPath = "/etc/dhcp/dhcp_server.conf"; in HWTEST() local 59 EXPECT_STREQ("/etc/dhcp", GetFilePath(testPath)); in HWTEST() 76 const char *testPath = "./test/data/testpath"; in HWTEST() local 79 ASSERT_EQ(RET_SUCCESS, CreatePath(testPath)); in HWTEST() 80 EXPECT_EQ(0, remove(testPath)); in HWTEST()
|
/foundation/communication/netmanager_base/test/netcommon/unittest/net_common_test/ |
H A D | net_mgr_log_wrapper_test.cpp | 62 const std::string testPath = "test"; in HWTEST_F() local 64 auto ret = NetMgrLogWrapper::GetBriefFileName(testPath + "/" + testFileName); in HWTEST_F() 70 const std::string testPath = "test"; in HWTEST_F() local 72 auto ret = NetMgrLogWrapper::GetBriefFileName(testPath + "\\" + testFileName); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/model/ |
H A D | model_test_ng.cpp | 48 std::string testPath = "/data/local"; member 254 modelViewNG.SetBackground(testPath); in HWTEST_F() 255 EXPECT_EQ(modelPaintProperty->GetModelBackgroundValue(), testPath); in HWTEST_F() 260 modelViewNG.SetModelSource(testPath); in HWTEST_F() 261 EXPECT_EQ(modelPaintProperty->GetModelSourceValue(), testPath); in HWTEST_F() 281 modelViewNG.SetShader(testPath); in HWTEST_F() 282 EXPECT_EQ(modelPaintProperty->GetShaderPathValue(), testPath); in HWTEST_F() 407 EXPECT_EQ(json1->GetString("environment"), testPath); in HWTEST_F() 408 EXPECT_EQ(json1->GetString("customRender"), testPath); in HWTEST_F() 409 EXPECT_EQ(json1->GetString("shader"), testPath); in HWTEST_F() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | media_file_utils_test.cpp | 155 string testPath = "/data/test/WriteStrToFileTest_001"; in HWTEST_F() local 157 EXPECT_EQ(MediaFileUtils::WriteStrToFile(testPath, ""), false); in HWTEST_F() 158 EXPECT_EQ(MediaFileUtils::WriteStrToFile(testPath, testString), false); in HWTEST_F() 159 EXPECT_EQ(MediaFileUtils::CreateFile(testPath), true); in HWTEST_F() 160 EXPECT_EQ(MediaFileUtils::WriteStrToFile(testPath, ""), false); in HWTEST_F() 161 EXPECT_EQ(MediaFileUtils::WriteStrToFile(testPath, testString), true); in HWTEST_F() 162 EXPECT_EQ(CheckFileString(testPath, testString), true); in HWTEST_F()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/softbus/ |
H A D | softbus_asset_send_listener_test.cpp | 32 const string testPath = "/data/test"; member
|
H A D | softbus_asset_recv_listener_test.cpp | 34 const string testPath = "/data/test"; member
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | plugin_texture_encode_test.cpp | 543 const std::string testPath = "/data/local/tmp";
in ReadFileExtern() local 545 if (sprintf_s(inFile, sizeof(inFile), "%s/%dx%d/a%04ld_%dx%d.rgb", testPath.c_str(),
in ReadFileExtern()
|
/foundation/multimedia/camera_lite/test/unittest/ |
H A D | camera_lite_test.cpp | 220 * @param testPath the file path 225 int32_t SampleSaveCapture(string testPath, const char *buffer, uint32_t size) in SampleSaveCapture() argument 236 filePath = testPath + ss.str(); in SampleSaveCapture() 237 ofstream pic(testPath + ss.str(), ofstream::out | ofstream::trunc); in SampleSaveCapture()
|