Home
last modified time | relevance | path

Searched refs:dirTmp (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/base/startup/init/test/unittest/lite/
H A Dcmd_func_test.cpp341 EXPECT_TRUE(dirTmp == nullptr);
343 if (dirTmp != nullptr) { // just in case
344 closedir(dirTmp);
345 dirTmp = nullptr;
358 EXPECT_TRUE(dirTmp == nullptr);
361 closedir(dirTmp);
362 dirTmp = nullptr;
477 EXPECT_TRUE(dirTmp != nullptr);
478 if (dirTmp != nullptr) {
479 closedir(dirTmp);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/common/
H A Ddistributeddb_tools_test.cpp64 DIR *dirTmp = opendir(dir.c_str()); in TestDirInit() local
65 if (dirTmp == nullptr) { in TestDirInit()
72 closedir(dirTmp); in TestDirInit()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_communicator_proxy_test.cpp76 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
77 if (dirTmp == nullptr) { in SetUpTestCase()
80 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_single_ver_dlp_test.cpp56 DIR* dirTmp = opendir(dir.c_str()); in OpenDelegate() local
57 if (dirTmp == nullptr) { in OpenDelegate()
60 closedir(dirTmp); in OpenDelegate()
H A Ddistributeddb_single_ver_multi_user_test.cpp100 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
101 if (dirTmp == nullptr) { in SetUpTestCase()
104 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_single_ver_p2p_permission_sync_test.cpp73 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
74 if (dirTmp == nullptr) { in SetUpTestCase()
77 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_single_ver_multi_sub_user_test.cpp84 DIR* dirTmp = opendir(dir.c_str()); in OpenDelegate() local
85 if (dirTmp == nullptr) { in OpenDelegate()
88 closedir(dirTmp); in OpenDelegate()
H A Ddistributeddb_single_ver_p2p_subscribe_sync_test.cpp119 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
120 if (dirTmp == nullptr) { in SetUpTestCase()
123 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_multi_ver_p2p_sync_test.cpp125 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
126 if (dirTmp == nullptr) { in SetUpTestCase()
129 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_single_ver_p2p_query_sync_test.cpp120 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
121 if (dirTmp == nullptr) { in SetUpTestCase()
124 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_single_ver_p2p_simple_sync_test.cpp99 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
100 if (dirTmp == nullptr) { in SetUpTestCase()
103 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_single_ver_p2p_sync_check_test.cpp87 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
88 if (dirTmp == nullptr) { in SetUpTestCase()
91 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_single_ver_p2p_complex_sync_test.cpp204 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
205 if (dirTmp == nullptr) { in SetUpTestCase()
208 closedir(dirTmp); in SetUpTestCase()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_resultset_and_json_optimize.cpp62 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
63 if (dirTmp == nullptr) { in SetUpTestCase()
66 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_storage_index_optimize_test.cpp111 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
112 if (dirTmp == nullptr) { in SetUpTestCase()
115 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_storage_register_conflict_test.cpp153 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
154 if (dirTmp == nullptr) { in SetUpTestCase()
157 closedir(dirTmp); in SetUpTestCase()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_single_version_result_set_test.cpp78 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
79 if (dirTmp == nullptr) { in SetUpTestCase()
82 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_interfaces_device_identifier_test.cpp67 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
68 if (dirTmp == nullptr) { in SetUpTestCase()
71 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_interfaces_register_syncdb_test.cpp130 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
131 if (dirTmp == nullptr) { in SetUpTestCase()
134 closedir(dirTmp); in SetUpTestCase()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_kv_syncer_test.cpp86 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
87 if (dirTmp == nullptr) { in SetUpTestCase()
90 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_cloud_kv_test.cpp87 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
88 if (dirTmp == nullptr) { in SetUpTestCase()
91 closedir(dirTmp); in SetUpTestCase()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_auto_launch_test.cpp108 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local
109 if (dirTmp == nullptr) { in SetUpTestCase()
112 closedir(dirTmp); in SetUpTestCase()
H A Ddistributeddb_tools_unit_test.cpp253 DIR *dirTmp = opendir(dir.c_str()); in TestDirInit() local
254 if (dirTmp == nullptr) { in TestDirInit()
261 closedir(dirTmp); in TestDirInit()