Home
last modified time | relevance | path

Searched refs:RDB_TEST_PATH (Results 1 - 25 of 43) sorted by relevance

12

/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_store_config_test.cpp81 RdbHelper::DeleteRdbStore(RDB_TEST_PATH + "config_test.db"); in SetUpTestCase()
87 RdbHelper::DeleteRdbStore(RDB_TEST_PATH + "config_test.db"); in TearDownTestCase()
93 RdbHelper::DeleteRdbStore(RDB_TEST_PATH + "config_test.db"); in SetUp()
99 RdbHelper::DeleteRdbStore(RDB_TEST_PATH + "config_test.db"); in TearDown()
110 const std::string dbPath = RDB_TEST_PATH + "config_test.db"; in HWTEST_F()
241 const std::string dbPath = RDB_TEST_PATH + "config_test.db"; in HWTEST_F()
264 const std::string dbPath = RDB_TEST_PATH + "config_test.db"; in HWTEST_F()
288 const std::string dbPath = RDB_TEST_PATH + "config_test.db"; in HWTEST_F()
312 const std::string dbPath = RDB_TEST_PATH + "config_test.db"; in HWTEST_F()
336 const std::string dbPath = RDB_TEST_PATH in HWTEST_F()
[all...]
H A Drdb_security_manager_test.cpp41 const std::string dbFile_ = RDB_TEST_PATH + DB_FILE;
126 RdbStoreConfig config(RDB_TEST_PATH + name); in HWTEST_F()
134 RdbSecurityManager::KeyFiles keyFile(RDB_TEST_PATH); in HWTEST_F()
141 RdbSecurityManager::GetInstance().GetRdbPassword(RDB_TEST_PATH, RdbSecurityManager::KeyFileType::PUB_KEY_FILE); in HWTEST_F()
H A Drdb_encrypt_decrypt_test.cpp48 const std::string RdbEncryptTest::ENCRYPTED_DATABASE_NAME = RDB_TEST_PATH + "encrypted.db";
49 const std::string RdbEncryptTest::ENCRYPTED_DATABASE_BACKUP_NAME = RDB_TEST_PATH + "encrypted_bak.db";
50 const std::string RdbEncryptTest::ENCRYPTED_DATABASE_NAME2 = RDB_TEST_PATH + "encrypted2.db";
51 const std::string RdbEncryptTest::ENCRYPTED_DATABASE_BACKUP_NAME2 = RDB_TEST_PATH + "encrypted2_bak.db";
52 const std::string RdbEncryptTest::UNENCRYPTED_DATABASE_NAME = RDB_TEST_PATH + "unencrypted.db";
195 std::string keyPath = RDB_TEST_PATH + "key/encrypted.pub_key"; in HWTEST_F()
236 std::string keyPath = RDB_TEST_PATH + "key/" + "encrypted.pub_key"; in HWTEST_F()
237 std::string newKeyPath = RDB_TEST_PATH + "key/" + +"encrypted.pub_key.new"; in HWTEST_F()
259 std::string path = RDB_TEST_PATH + "test"; in HWTEST_F()
H A Drdb_store_rekey_test.cpp59 const std::string RdbRekeyTest::encryptedDatabasePath = RDB_TEST_PATH + encryptedDatabaseName;
60 const std::string RdbRekeyTest::encryptedDatabaseKeyDir = RDB_TEST_PATH + "key/";
62 const std::string RdbRekeyTest::encryptedDatabaseMockPath = RDB_TEST_PATH + encryptedDatabaseMockName;
130 auto keyPath = RDB_TEST_PATH + "key/" + name + ".pub_key"; in GetKeyFileDate()
151 auto keyPath = RDB_TEST_PATH + "key/" + name + ".pub_key"; in ChangeKeyFileDate()
172 auto keyPath = RDB_TEST_PATH + "key/" + name + ".pub_key"; in SaveNewKey()
173 auto newKeyPath = RDB_TEST_PATH + "key/" + name + ".pub_key.new"; in SaveNewKey()
H A Drdb_helper_test.cpp49 const std::string RdbHelperTest::rdbStorePath = RDB_TEST_PATH + std::string("rdbhelper.db");
166 const std::string dbPath = RDB_TEST_PATH + "GetDatabase.db"; in HWTEST_F()
192 const std::string dbPath = RDB_TEST_PATH + "GetDatabase.db"; in HWTEST_F()
H A Dcommon.h25 static const std::string RDB_TEST_PATH = "/data/test/"; member
H A Drdb_get_store_test.cpp46 const std::string RdbGetStoreTest::MAIN_DATABASE_NAME = RDB_TEST_PATH + "getrdb.db";
47 const std::string RdbGetStoreTest::MAIN_DATABASE_NAME_RELEASE = RDB_TEST_PATH + "releaserdb.db";
48 const std::string RdbGetStoreTest::MAIN_DATABASE_NAME_STATUS = RDB_TEST_PATH + "status.db";
49 const std::string RdbGetStoreTest::MAIN_DATABASE_NAME_MINUS = RDB_TEST_PATH + "minus.db";
H A Drdb_store_impl_test.cpp47 const std::string RdbStoreImplTest::DATABASE_NAME = RDB_TEST_PATH + "stepResultSet_impl_test.db";
353 std::string databasePath = RDB_TEST_PATH + "test.db"; in HWTEST_F()
396 const std::string DATABASE_NAME = RDB_TEST_PATH + "SqlitConnectionOpenTest.db"; in HWTEST_F()
418 const std::string DATABASE_NAME = RDB_TEST_PATH + "ConnectionOpenTest.db"; in HWTEST_F()
449 const std::string DATABASE_NAME = RDB_TEST_PATH + "ConnectionTest.db"; in HWTEST_F()
489 const std::string DATABASE_NAME = RDB_TEST_PATH + "ConnectionTest.db"; in HWTEST_F()
512 const std::string newPath2 = RDB_TEST_PATH + "tmp.db"; in HWTEST_F()
519 const std::string DATABASE_NAME = RDB_TEST_PATH + "SqlitConnectionOpenTest.db"; in HWTEST_F()
H A Drdb_read_only_test.cpp41 const std::string RdbReadOnlyTest::DATABASE_NAME = RDB_TEST_PATH + "database.db";
42 const std::string RdbReadOnlyTest::READONLY_DATABASE_NAME = RDB_TEST_PATH + "readOnly.db";
43 const std::string RdbReadOnlyTest::READONLY_DATABASE_BAK_NAME = RDB_TEST_PATH + "readOnlyBak.db";
H A Drdb_double_write_concurrent_test.cpp51 const std::string DATABASE_NAME = RDB_TEST_PATH + "dual_concurrent.db";
52 const std::string SLAVE_DATABASE_NAME = RDB_TEST_PATH + "dual_concurrent_slave.db";
H A Drdb_store_concurrent_test.cpp52 const std::string RdbConcurrentTest::DATABASE_NAME = RDB_TEST_PATH + "concurrent_test.db";
H A Drdb_upgrade_test.cpp40 const std::string RdbUpgradeTest::DATABASE_NAME = RDB_TEST_PATH + "upgrade_test.db";
H A Drdb_store_interface_test.cpp222 const std::string dbPath = RDB_TEST_PATH + "InterfaceTest.db"; in HWTEST_F()
H A Drdb_delete_test.cpp39 const std::string RdbDeleteTest::DATABASE_NAME = RDB_TEST_PATH + "delete_test.db";
H A Drdb_step_result_get_row_test.cpp39 const std::string RdbStepResultSetGetRowTest::DATABASE_NAME = RDB_TEST_PATH + "stepResultSet_getRow_test.db";
/foundation/distributeddatamgr/relational_store/test/ndk/unittest/
H A Dcommon.h24 static constexpr const char *RDB_TEST_PATH = "/data/storage/el2/database/com.ohos.example.distributedndk/entry/"; member
H A Drdb_store_configv2_test.cpp45 OH_Rdb_SetDatabaseDir(config, RDB_TEST_PATH); in InitRdbConfig()
80 mkdir(RDB_TEST_PATH, 0770); in HWTEST_F()
H A Drdb_store_test.cpp42 config_.dataBaseDir = RDB_TEST_PATH; in InitRdbConfig()
359 std::string backupPath1 = RDB_TEST_PATH + std::string("a.db"); in HWTEST_F()
365 std::string backupPath2 = RDB_TEST_PATH + std::string("b.db"); in HWTEST_F()
371 std::string backupPath3 = RDB_TEST_PATH + std::string("c.db"); in HWTEST_F()
482 backupPath = RDB_TEST_PATH + std::string("/backup/backup.db"); in HWTEST_F()
486 backupPath = RDB_TEST_PATH; in HWTEST_F()
490 std::string restorePath = RDB_TEST_PATH; in HWTEST_F()
932 config.dataBaseDir = RDB_TEST_PATH; in HWTEST_F()
949 config.dataBaseDir = RDB_TEST_PATH; in HWTEST_F()
968 errCode = OH_Rdb_Backup(nullptr, RDB_TEST_PATH); in HWTEST_F()
[all...]
H A Drdb_asset_test.cpp37 config_.dataBaseDir = RDB_TEST_PATH; in InitRdbConfig()
/foundation/distributeddatamgr/relational_store/test/native/rdb/distributedtest/rdb_store_impl_test/
H A Ddistributed_test_agent.cpp39 static const std::string RDB_TEST_PATH = "/data/test/"; member
56 const std::string DistributedTestAgent::DATABASE_NAME = RDB_TEST_PATH + "distributed_rdb.db";
H A Ddistributed_test.cpp44 static const std::string RDB_TEST_PATH = "/data/test/"; member
59 const std::string DistributedTest::DATABASE_NAME = RDB_TEST_PATH + "distributed_rdb.db";
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/multiThread/
H A Drdb_connection_test.cpp82 RdbHelper::DeleteRdbStore(RDB_TEST_PATH + DATABASE_NAME); in SetUp()
83 RdbStoreConfig sqliteSharedRstConfig(RDB_TEST_PATH + DATABASE_NAME); in SetUp()
98 RdbHelper::DeleteRdbStore(RDB_TEST_PATH + DATABASE_NAME); in TearDown()
H A Drdb_connection_rd_test.cpp55 const std::string RdbMultiThreadConnectionRdTest::databaseName = RDB_TEST_PATH + "execute_test.db";
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/
H A Drdb_store_test.cpp47 const std::string RdbTest::DATABASE_NAME = RDB_TEST_PATH + "stepResultSet_impl_test.db";
353 std::string databasePath = RDB_TEST_PATH + "test.db"; in HWTEST_F()
396 const std::string DATABASE_NAME = RDB_TEST_PATH + "SqlitConnectionOpenTest.db"; in HWTEST_F()
418 const std::string DATABASE_NAME = RDB_TEST_PATH + "ConnectionOpenTest.db"; in HWTEST_F()
449 const std::string DATABASE_NAME = RDB_TEST_PATH + "ConnectionTest.db"; in HWTEST_F()
489 const std::string DATABASE_NAME = RDB_TEST_PATH + "ConnectionTest.db"; in HWTEST_F()
512 const std::string newPath2 = RDB_TEST_PATH + "tmp.db"; in HWTEST_F()
519 const std::string DATABASE_NAME = RDB_TEST_PATH + "SqlitConnectionOpenTest.db"; in HWTEST_F()
H A Drelational_store_test.cpp44 const std::string RdbTest::MAIN_DATABASE_NAME = RDB_TEST_PATH + "main.db";
45 const std::string RdbTest::DATABASE_NAME = RDB_TEST_PATH + "delete_test.db";
46 const std::string RdbTest::DATABASE_NAME = RDB_TEST_PATH + "update_test.db";
91 const std::string RdbTest::ATTACHED_DATABASE_NAME = RDB_TEST_PATH + "attached.db";
530 std::string keyPath = RDB_TEST_PATH + "key/encrypted.pub_key"; in HWTEST_F()
612 std::string path = RDB_TEST_PATH + "test"; in HWTEST_F()
1505 const std::string dbPath = RDB_TEST_PATH + "InterfaceTest.db"; in HWTEST_F()

Completed in 20 milliseconds

12