Home
last modified time | relevance | path

Searched refs:GetPath (Results 1 - 11 of 11) sorted by relevance

/commonlibrary/ets_utils/js_api_module/uri/test/
H A Dtest_napi.cpp45 ASSERT_STREQ(uri.GetPath().c_str(), "/path/path"); in HWTEST_F()
59 ASSERT_STREQ(uri.GetPath().c_str(), "/path/66path1"); in HWTEST_F()
73 ASSERT_STREQ(uri.GetPath().c_str(), "/path/path66"); in HWTEST_F()
87 ASSERT_STREQ(uri.GetPath().c_str(), "/path/66path1"); in HWTEST_F()
101 ASSERT_STREQ(uri.GetPath().c_str(), "/path/path"); in HWTEST_F()
115 ASSERT_STREQ(uri.GetPath().c_str(), "/path/path"); in HWTEST_F()
129 ASSERT_STREQ(uri.GetPath().c_str(), "/path/path"); in HWTEST_F()
145 ASSERT_STREQ(uri.GetPath().c_str(), "/path/path"); in HWTEST_F()
159 ASSERT_STREQ(uri.GetPath().c_str(), "/path/path"); in HWTEST_F()
173 ASSERT_STREQ(uri.GetPath() in HWTEST_F()
[all...]
/commonlibrary/ets_utils/js_api_module/uri/
H A Djs_uri.h145 std::string GetPath() const;
H A Dnative_module_uri.cpp335 static napi_value GetPath(napi_env env, napi_callback_info info) in GetPath() function
342 std::string temp = muri->GetPath(); in GetPath()
425 DECLARE_NAPI_GETTER("path", GetPath), in UriInit()
H A Djs_uri.cpp608 std::string Uri::GetPath() const in GetPath() function in OHOS::Uri::Uri
/commonlibrary/c_utils/base/include/
H A Dmapped_file.h121 inline const std::string& GetPath() const in GetPath() function in OHOS::Utils::MapMode::MappedFile
/commonlibrary/ets_utils/js_api_module/url/test/
H A Dtest_napi.cpp196 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
205 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
214 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
223 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
242 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
252 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
262 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
272 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
282 DealNapiStrValue(env, url.GetPath(env), output); in HWTEST_F()
292 DealNapiStrValue(env, url.GetPath(en in HWTEST_F()
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/
H A Dmapped_benchmark_test.cpp1346 AssertFalse((mf.ChangePath(mf.GetPath())), in BENCHMARK_F()
1347 "mf.ChangePath(mf.GetPath()) did not equal false as expected.", state); in BENCHMARK_F()
1504 AssertEqual(mf.GetPath(), "", "mf.GetPath() did not equal "" as expected.", state); in BENCHMARK_F()
1513 AssertEqual(mfNew.GetPath(), filename, "mfNew.GetPath() did not equal filename as expected.", state); in BENCHMARK_F()
1568 AssertEqual(mf.GetPath(), "", "mf.GetPath() did not equal "" as expected.", state); in BENCHMARK_F()
1577 AssertEqual(mfNew.GetPath(), filename, "mfNew.GetPath() di in BENCHMARK_F()
[all...]
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_mapped_file_test.cpp1237 ASSERT_FALSE(mf.ChangePath(mf.GetPath())); in HWTEST_F()
1373 EXPECT_EQ(mf.GetPath(), ""); in HWTEST_F()
1382 EXPECT_EQ(mfNew.GetPath(), filename); in HWTEST_F()
1422 EXPECT_EQ(mf.GetPath(), ""); in HWTEST_F()
1431 EXPECT_EQ(mfNew.GetPath(), filename); in HWTEST_F()
1479 EXPECT_EQ(mf.GetPath(), filename1); in HWTEST_F()
1524 EXPECT_EQ(mf.GetPath(), filename1); in HWTEST_F()
/commonlibrary/ets_utils/js_api_module/url/
H A Djs_url.h249 napi_value GetPath(napi_env env) const;
H A Dnative_module_url.cpp231 napi_value retVal = murl->GetPath(env); in GetUrlPath()
H A Djs_url.cpp1371 napi_value URL::GetPath(napi_env env) const in GetPath() function in OHOS::Url::URL

Completed in 19 milliseconds