Home
last modified time | relevance | path

Searched refs:expectCode (Results 1 – 4 of 4) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
Ddistributeddb_interfaces_relational_test.cpp605 void CreateDistributedTableCompositePKTest(TableSyncType tableSyncType, int expectCode) in CreateDistributedTableCompositePKTest() argument
618 EXPECT_EQ(delegate->CreateDistributedTable("workers", tableSyncType), expectCode); in CreateDistributedTableCompositePKTest()
952 DBStatus expectCode; in CheckTable() local
954 expectCode = OK; in CheckTable()
956 expectCode = NOT_SUPPORT; in CheckTable()
958 EXPECT_EQ(delegate->CreateDistributedTable(tableName4, tableSyncType), expectCode); in CheckTable()
959 EXPECT_EQ(delegate->CreateDistributedTable("t4_1", tableSyncType), expectCode); in CheckTable()
960 EXPECT_EQ(delegate->CreateDistributedTable("t4_2", tableSyncType), expectCode); in CheckTable()
961 EXPECT_EQ(delegate->CreateDistributedTable("t4_3", tableSyncType), expectCode); in CheckTable()
962 EXPECT_EQ(delegate->CreateDistributedTable("t4_4", tableSyncType), expectCode); in CheckTable()
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_patch_parser_test/
Dbms_patch_parser_test.cpp79 void CheckNoPropProfileParseApp(const std::string &propKey, const ErrCode expectCode) const;
80 void CheckNoPropProfileParseModule(const std::string &propKey, const ErrCode expectCode) const;
101 …hParserTest::CheckNoPropProfileParseApp(const std::string &propKey, const ErrCode expectCode) const in CheckNoPropProfileParseApp()
111 EXPECT_EQ(ret, expectCode); in CheckNoPropProfileParseApp()
114 …rserTest::CheckNoPropProfileParseModule(const std::string &propKey, const ErrCode expectCode) const in CheckNoPropProfileParseModule()
124 EXPECT_EQ(ret, expectCode); in CheckNoPropProfileParseModule()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
Ddistributeddb_cloud_save_cloud_data_test.cpp257 int expectCode, bool compositePkMatch = false) in GetInfoByPrimaryKeyOrGidTest() argument
286 …rageProxy->GetInfoByPrimaryKeyOrGid(g_tableName, vBucket, dataInfoWithLog, assetInfo), expectCode); in GetInfoByPrimaryKeyOrGidTest()
287 if (expectCode == E_OK) { in GetInfoByPrimaryKeyOrGidTest()
509 const std::vector<std::string> &pkStr, bool ageIsPrimaryKey, int expectCode = E_OK) in PrimaryKeyCollateTest() argument
549 …rageProxy->GetInfoByPrimaryKeyOrGid(g_tableName, vBucket, dataInfoWithLog, assetInfo), expectCode); in PrimaryKeyCollateTest()
828 bool vBucketContains = true, int expectCode = E_OK) in SaveCloudDataTest() argument
846 EXPECT_EQ(storageProxy->PutCloudSyncData(g_tableName, downloadData), expectCode); in SaveCloudDataTest()
847 if (expectCode == E_OK) { in SaveCloudDataTest()
/foundation/arkui/ace_engine/frameworks/core/event/
Dkey_event.h480 bool HasKey(KeyCode expectCode) const in HasKey()
484 if (expectCode == *curPressedCode) { in HasKey()