/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_cloud_schema_mgr_test.cpp | 312 EXPECT_EQ(g_schemaMgr->ChkSchema(TABLE_NAME_2, localSchema), E_OK); 313 EXPECT_EQ(g_schemaMgr->ChkSchema(TABLE_NAME_2, localSchema), E_OK); 314 EXPECT_EQ(g_schemaMgr->ChkSchema(TABLE_NAME_2, localSchema), E_OK); 397 EXPECT_EQ(g_schemaMgr->ChkSchema(TABLE_NAME_2, localSchema), E_OK); 425 EXPECT_EQ(g_schemaMgr->ChkSchema(TABLE_NAME_2, localSchema), E_OK); 452 EXPECT_EQ(g_schemaMgr->ChkSchema(TABLE_NAME_2, localSchema), E_OK); 492 EXPECT_EQ(g_schemaMgr->ChkSchema(TABLE_NAME_1, localSchema), E_OK); 495 EXPECT_EQ(g_schemaMgr->ChkSchema(TABLE_NAME_3, localSchema), E_OK); 621 EXPECT_EQ(g_schemaMgr->ChkSchema(TABLE_NAME_4, localSchema), E_OK); 670 EXPECT_EQ(g_schemaMgr->ChkSchema(TABLE_NAME_1, localSchema), E_OK); [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_syncer_download_test.cpp | 251 EXPECT_CALL(*g_iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 304 EXPECT_CALL(*g_iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 354 EXPECT_CALL(*g_iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 377 EXPECT_CALL(*g_iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 435 EXPECT_CALL(*g_iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 479 EXPECT_CALL(*g_iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 524 EXPECT_CALL(*g_iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 580 EXPECT_CALL(*g_iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 612 EXPECT_CALL(*g_iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 734 EXPECT_CALL(*g_iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK));
|
H A D | distributeddb_cloud_syncer_upload_test.cpp | 50 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); in CommonExpectCall() 167 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 235 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 267 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 300 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 335 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 391 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 512 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 687 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 736 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); [all …]
|
H A D | mock_icloud_sync_storage_interface.h | 26 MOCK_METHOD1(ChkSchema, int(const TableName &));
|
H A D | distributeddb_cloud_syncer_progress_manager_test.cpp | 83 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 140 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK)); 197 EXPECT_CALL(*iCloud, ChkSchema(_)).WillRepeatedly(Return(E_OK));
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/cloud/ |
H A D | schema_mgr.h | 35 int ChkSchema(const TableName &tableName, RelationalSchemaObject &localSchema);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_cloud_kv_store.h | 32 int ChkSchema(const TableName &tableName) override;
|
H A D | sqlite_cloud_kv_store.cpp | 42 int SqliteCloudKvStore::ChkSchema(const TableName &tableName) in ChkSchema() function in DistributedDB::SqliteCloudKvStore
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
H A D | icloud_sync_storage_interface.h | 98 virtual int ChkSchema(const TableName &tableName) = 0;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_relational_store.h | 92 int ChkSchema(const TableName &tableName);
|
H A D | sqlite_relational_store.cpp | 1087 int SQLiteRelationalStore::ChkSchema(const TableName &tableName) in ChkSchema() function in DistributedDB::SQLiteRelationalStore 1106 return storageEngine_->ChkSchema(tableName); in ChkSchema() 1240 int errCode = ChkSchema(table); in CheckTableName() 1518 errCode = ChkSchema(tableName); in CheckSchemaForUpsertData()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | schema_mgr.cpp | 30 int SchemaMgr::ChkSchema(const TableName &tableName, RelationalSchemaObject &localSchema) in ChkSchema() function in DistributedDB::SchemaMgr
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | storage_proxy.cpp | 348 return store_->ChkSchema(tableName); in CheckSchema() 361 int ret = store_->ChkSchema(table); in CheckSchema()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/ |
H A D | relational_sync_able_storage.h | 161 int ChkSchema(const TableName &tableName) override;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_sync_able_storage.cpp | 1216 int RelationalSyncAbleStorage::ChkSchema(const TableName &tableName) in ChkSchema() function in DistributedDB::RelationalSyncAbleStorage 1220 int errCode = schemaMgr_.ChkSchema(tableName, localSchema); in ChkSchema() 1229 errCode = schemaMgr_.ChkSchema(tableName, newSchema); in ChkSchema()
|