Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_sync_info_mock.cpp22 void *g_syncInterface; variable
25 g_syncInterface = reinterpret_cast<void *>(this); in LnnSyncInfoInterfaceMock()
30 g_syncInterface = nullptr; in ~LnnSyncInfoInterfaceMock()
35 return reinterpret_cast<LnnSyncInfoInterface *>(g_syncInterface); in GetSyncInterface()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_anti_dos_sync_test.cpp60 VirtualSingleVerSyncDBInterface *g_syncInterface = nullptr; variable
111 g_syncInterface = new (std::nothrow) VirtualSingleVerSyncDBInterface(); in SetUp()
112 ASSERT_TRUE(g_syncInterface != nullptr); in SetUp()
114 g_syncInterface->SetIdentifier(identifier); in SetUp()
116 int errCodeMetaData = g_metaData->Initialize(g_syncInterface); in SetUp()
121 int errCodeSyncEngine = g_syncEngine->Initialize(g_syncInterface, g_metaData, param); in SetUp()
145 if (g_syncInterface != nullptr) { in TearDown()
146 delete g_syncInterface; in TearDown()
147 g_syncInterface = nullptr; in TearDown()
H A Ddistributeddb_ability_sync_test.cpp38 VirtualSingleVerSyncDBInterface *g_syncInterface = nullptr; variable
74 g_syncInterface = new (std::nothrow) VirtualSingleVerSyncDBInterface(); in SetUp()
75 ASSERT_TRUE(g_syncInterface != nullptr); in SetUp()
76 g_syncInterface->SetSchemaInfo(TEST_SCHEMA); in SetUp()
85 g_meta->Initialize(g_syncInterface); in SetUp()
105 if (g_syncInterface != nullptr) { in TearDown()
106 delete g_syncInterface; in TearDown()
107 g_syncInterface = nullptr; in TearDown()
398 async.Initialize(g_communicatorB, g_syncInterface, g_meta, DEVICE_A);
431 async.Initialize(g_communicatorB, g_syncInterface, g_meta, DEVICE_A);
[all …]