Home
last modified time | relevance | path

Searched refs:g_schemaMgr (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_cloud_schema_mgr_test.cpp45 std::unique_ptr<SchemaMgr> g_schemaMgr = nullptr; variable
65 g_schemaMgr = std::make_unique<SchemaMgr>(); in SetUp()
70 g_schemaMgr = nullptr; in TearDown()
311 g_schemaMgr->SetCloudDbSchema(g_schema);
341 g_schemaMgr->SetCloudDbSchema(g_schema);
368 g_schemaMgr->SetCloudDbSchema(g_schema);
396 g_schemaMgr->SetCloudDbSchema(g_schema);
424 g_schemaMgr->SetCloudDbSchema(g_schema);
451 g_schemaMgr->SetCloudDbSchema(g_schema);
484 g_schemaMgr->SetCloudDbSchema(g_schema);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_p2p_subscribe_sync_test.cpp46 KvStoreDelegateManager g_schemaMgr(SCHEMA_APP_ID, USER_ID);
116 g_schemaMgr.SetKvStoreConfig(g_config); in SetUpTestCase()
166 ASSERT_EQ(g_schemaMgr.CloseKvStore(g_schemaKvDelegatePtr), OK); in TearDown()
168 DBStatus status = g_schemaMgr.DeleteKvStore(SCHEMA_STORE_ID); in TearDown()
181 EXPECT_EQ(g_schemaMgr.SetPermissionCheckCallback(nullCallback), OK); in TearDown()
211 g_schemaMgr.SetKvStoreConfig(g_config); in InitSubSchemaDb()
214 g_schemaMgr.GetKvStore(SCHEMA_STORE_ID, option, g_schemaKvDelegateCallback); in InitSubSchemaDb()
1102 EXPECT_EQ(g_schemaMgr.CloseKvStore(g_schemaKvDelegatePtr), OK);
H A Ddistributeddb_single_ver_p2p_query_sync_test.cpp48 KvStoreDelegateManager g_schemaMgr(SCHEMA_APP_ID, USER_ID);
169 ASSERT_EQ(g_schemaMgr.CloseKvStore(g_schemaKvDelegatePtr), OK); in TearDown()
171 DBStatus status = g_schemaMgr.DeleteKvStore(SCHEMA_STORE_ID); in TearDown()
196 g_schemaMgr.SetKvStoreConfig(g_config); in InitSchemaDb()
199 g_schemaMgr.GetKvStore(SCHEMA_STORE_ID, option, g_schemaKvDelegateCallback); in InitSchemaDb()