/ohos5.0/base/startup/init/test/unittest/lite/ |
H A D | cmd_func_test.cpp | 341 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 D | distributeddb_tools_test.cpp | 64 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 D | distributeddb_communicator_proxy_test.cpp | 76 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 77 if (dirTmp == nullptr) { in SetUpTestCase() 80 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_single_ver_dlp_test.cpp | 56 DIR* dirTmp = opendir(dir.c_str()); in OpenDelegate() local 57 if (dirTmp == nullptr) { in OpenDelegate() 60 closedir(dirTmp); in OpenDelegate()
|
H A D | distributeddb_single_ver_multi_user_test.cpp | 100 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 101 if (dirTmp == nullptr) { in SetUpTestCase() 104 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_single_ver_p2p_permission_sync_test.cpp | 73 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 74 if (dirTmp == nullptr) { in SetUpTestCase() 77 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_single_ver_multi_sub_user_test.cpp | 84 DIR* dirTmp = opendir(dir.c_str()); in OpenDelegate() local 85 if (dirTmp == nullptr) { in OpenDelegate() 88 closedir(dirTmp); in OpenDelegate()
|
H A D | distributeddb_single_ver_p2p_subscribe_sync_test.cpp | 119 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 120 if (dirTmp == nullptr) { in SetUpTestCase() 123 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_multi_ver_p2p_sync_test.cpp | 125 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 126 if (dirTmp == nullptr) { in SetUpTestCase() 129 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_single_ver_p2p_query_sync_test.cpp | 120 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 121 if (dirTmp == nullptr) { in SetUpTestCase() 124 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_single_ver_p2p_simple_sync_test.cpp | 99 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 100 if (dirTmp == nullptr) { in SetUpTestCase() 103 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_single_ver_p2p_sync_check_test.cpp | 87 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 88 if (dirTmp == nullptr) { in SetUpTestCase() 91 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_single_ver_p2p_complex_sync_test.cpp | 204 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 D | distributeddb_storage_resultset_and_json_optimize.cpp | 62 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 63 if (dirTmp == nullptr) { in SetUpTestCase() 66 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_storage_index_optimize_test.cpp | 111 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 112 if (dirTmp == nullptr) { in SetUpTestCase() 115 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_storage_register_conflict_test.cpp | 153 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 D | distributeddb_interfaces_single_version_result_set_test.cpp | 78 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 79 if (dirTmp == nullptr) { in SetUpTestCase() 82 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_interfaces_device_identifier_test.cpp | 67 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 68 if (dirTmp == nullptr) { in SetUpTestCase() 71 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_interfaces_register_syncdb_test.cpp | 130 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 D | distributeddb_cloud_kv_syncer_test.cpp | 86 DIR* dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 87 if (dirTmp == nullptr) { in SetUpTestCase() 90 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_cloud_kv_test.cpp | 87 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 D | distributeddb_auto_launch_test.cpp | 108 DIR *dirTmp = opendir(dir.c_str()); in SetUpTestCase() local 109 if (dirTmp == nullptr) { in SetUpTestCase() 112 closedir(dirTmp); in SetUpTestCase()
|
H A D | distributeddb_tools_unit_test.cpp | 253 DIR *dirTmp = opendir(dir.c_str()); in TestDirInit() local 254 if (dirTmp == nullptr) { in TestDirInit() 261 closedir(dirTmp); in TestDirInit()
|