Home
last modified time | relevance | path

Searched refs:testPath (Results 1 - 9 of 9) sorted by relevance

/foundation/filemanagement/dfs_service/test/unittests/distributed_file_daemon/
H A Dconnection_detector_test.cpp259 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 Dcommon_util_test.cpp56 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 Dnet_mgr_log_wrapper_test.cpp62 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 Dmodel_test_ng.cpp48 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 Dmedia_file_utils_test.cpp155 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 Dsoftbus_asset_send_listener_test.cpp32 const string testPath = "/data/test"; member
H A Dsoftbus_asset_recv_listener_test.cpp34 const string testPath = "/data/test"; member
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dplugin_texture_encode_test.cpp543 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 Dcamera_lite_test.cpp220 * @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()

Completed in 10 milliseconds