Home
last modified time | relevance | path

Searched refs:SINGLE_SUB_DIR (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_single_ver_upgrade_test.cpp204 …d::string newDatabaseName = g_testDir + "/" + identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + in CheckDirectoryV2ToV3()
206 …tring newMetadatabaseName = g_testDir + "/" + identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + in CheckDirectoryV2ToV3()
208 …:string newCacheDirectory = g_testDir + "/" + identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + in CheckDirectoryV2ToV3()
280 g_databaseName = "/" + identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + in SetUpTestCase()
282 …g_newDatabaseName = "/" + identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::MAINDB… in SetUpTestCase()
293 …g_maindbPath = g_testDir + "/" + identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant:… in SetUpTestCase()
295 …g_metadbPath = g_testDir + "/" + identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant:… in SetUpTestCase()
297 …g_cachedbPath = g_testDir + "/" + identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant… in SetUpTestCase()
311 DBCommon::CreateDirectory(g_testDir + "/" + identifier + "/" + DBConstant::SINGLE_SUB_DIR); in SetUp()
612 + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::UPGRADE_POSTFIX;
H A Ddistributeddb_storage_sqlite_single_ver_storage_engine_test.cpp72 …g_databaseName = "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::MAINDB_… in SetUpTestCase()
78 g_cacheDir = g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR + in SetUpTestCase()
84 …oolsUnitTest::RemoveTestDbFiles(g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR); in TearDownTestCase()
90 …oolsUnitTest::RemoveTestDbFiles(g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR); in SetUp()
H A Ddistributeddb_storage_rd_single_ver_storage_engine_test.cpp61 …g_databaseName = "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::MAINDB_… in SetUpTestCase()
71 …oolsUnitTest::RemoveTestDbFiles(g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR); in TearDownTestCase()
77 …oolsUnitTest::RemoveTestDbFiles(g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR); in SetUp()
H A Ddistributeddb_storage_rd_single_ver_natural_store_test.cpp59 …g_databaseName = "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::MAINDB_… in SetUp()
61 …oolsUnitTest::RemoveTestDbFiles(g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR); in SetUp()
88 DBConstant::SINGLE_SUB_DIR); in TearDown()
H A Ddistributeddb_storage_rd_single_ver_natural_executor_test.cpp60 …g_databaseName = "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::MAINDB_… in SetUpTestCase()
70 …oolsUnitTest::RemoveTestDbFiles(g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR); in TearDownTestCase()
76 …oolsUnitTest::RemoveTestDbFiles(g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR); in SetUp()
496 string cacheDir = g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR +
533 string cacheDir = g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR +
H A Ddistributeddb_storage_sqlite_single_ver_natural_store_test.cpp60 …g_databaseName = "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::MAINDB_… in SetUp()
62 …oolsUnitTest::RemoveTestDbFiles(g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR); in SetUp()
88 DBConstant::SINGLE_SUB_DIR); in TearDown()
H A Ddistributeddb_storage_memory_single_ver_naturall_store_test.cpp46 …utedDBToolsUnitTest::RemoveTestDbFiles(g_testDir + "/TestGeneralNB/" + DBConstant::SINGLE_SUB_DIR); in SetUpTestCase()
78 …utedDBToolsUnitTest::RemoveTestDbFiles(g_testDir + "/TestGeneralNB/" + DBConstant::SINGLE_SUB_DIR); in TearDown()
H A Ddistributeddb_storage_index_optimize_test.cpp70 … string filePath = g_testDir + "/" + identifierName + "/" + DBConstant::SINGLE_SUB_DIR + "/main/"; in GetKvStoreDirectory()
110 std::string dir = g_testDir + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR; in SetUpTestCase()
H A Ddistributeddb_storage_sqlite_single_ver_natural_executor_test.cpp66 …g_databaseName = "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::MAINDB_… in SetUpTestCase()
76 …oolsUnitTest::RemoveTestDbFiles(g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR); in TearDownTestCase()
82 …oolsUnitTest::RemoveTestDbFiles(g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR); in SetUp()
966 string cacheDir = g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR +
1003 string cacheDir = g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR +
H A Ddistributeddb_storage_rd_register_observer_test.cpp185 …lsUnitTest::RemoveTestDbFiles(g_testDir + "/" + identifierName + "/" + DBConstant::SINGLE_SUB_DIR); in TearDown()
H A Ddistributeddb_storage_resultset_and_json_optimize.cpp61 std::string dir = g_testDir + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR; in SetUpTestCase()
H A Ddistributeddb_storage_register_conflict_test.cpp152 string dir = g_testDir + "/" + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR; in SetUpTestCase()
164 DBConstant::SINGLE_SUB_DIR) != 0) { in TearDownTestCase()
H A Ddistributeddb_storage_query_sync_test.cpp112 …utedDBToolsUnitTest::RemoveTestDbFiles(g_testDir + "/TestQuerySync/" + DBConstant::SINGLE_SUB_DIR); in SetUpTestCase()
187 …utedDBToolsUnitTest::RemoveTestDbFiles(g_testDir + "/TestQuerySync/" + DBConstant::SINGLE_SUB_DIR); in TearDown()
H A Ddistributeddb_storage_register_observer_test.cpp325 …lsUnitTest::RemoveTestDbFiles(g_testDir + "/" + identifierName + "/" + DBConstant::SINGLE_SUB_DIR); in TearDown()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Ddb_constant.cpp20 const std::string DBConstant::SINGLE_SUB_DIR = "single_ver"; member in DistributedDB::DBConstant
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dkvdb_properties.cpp55 return DBConstant::SINGLE_SUB_DIR; in GetStoreSubDirectory()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_single_version_result_set_test.cpp77 string dir = g_testDir + g_identifier + "/" + DBConstant::SINGLE_SUB_DIR; in SetUpTestCase()
88 …DBToolsUnitTest::RemoveTestDbFiles(g_testDir + STORE_ID + "/" + DBConstant::SINGLE_SUB_DIR) != 0) { in TearDownTestCase()
H A Ddistributeddb_interfaces_device_identifier_test.cpp66 string dir = g_testDir + STORE_ID + "/" + DBConstant::SINGLE_SUB_DIR; in SetUpTestCase()
80 …DBToolsUnitTest::RemoveTestDbFiles(g_testDir + STORE_ID + "/" + DBConstant::SINGLE_SUB_DIR) != 0) { in TearDownTestCase()
H A Ddistributeddb_interfaces_database_corrupt_test.cpp60 filePath += (DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::MAINDB_DIR + "/" + in GetKvStoreDirectory()
H A Ddistributeddb_interfaces_index_unit_test.cpp59 filePath += (DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::MAINDB_DIR + "/" + in GetKvStoreDirectory()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Ddb_constant.h65 static const std::string SINGLE_SUB_DIR; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dsingle_ver_utils.cpp55 return dataDir + "/" + identifierDir + "/" + DBConstant::SINGLE_SUB_DIR; in GetSubDirPath()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/
H A Dsingle_ver_database_oper.cpp492 std::string uri = dataDir + "/" + identifierDir + "/" + DBConstant::SINGLE_SUB_DIR + "/" + in InitDataBaseOption()
511 std::string dirPath = dataDir + "/" + identifierDir + "/" + DBConstant::SINGLE_SUB_DIR; in InitDataBaseOption()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_natural_store.cpp122 …errCode = DBCommon::CreateStoreDirectory(dataDir, identifierDir, DBConstant::SINGLE_SUB_DIR, isCre… in Open()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_tools_unit_test.cpp99 …ode = DBCommon::CreateStoreDirectory(dbInfo.dir, identifierName, DBConstant::SINGLE_SUB_DIR, true); in CreateMockSingleDb()
105 … DBConstant::SINGLE_SUB_DIR + "/" + DBConstant::SINGLE_VER_DATA_STORE + DBConstant::DB_EXTENSION; in CreateMockSingleDb()

12