Lines Matching refs:tableName
47 int ContactGroupTest::ContactUpdate(const std::string &tableName, OHOS::DataShare::DataShareValuesBucket updateValues,
51 if (tableName == ContactTabName::RAW_CONTACT) {
54 } else if (tableName == ContactTabName::CONTACT_DATA) {
57 } else if (tableName == ContactTabName::GROUPS) {
60 } else if (tableName == ContactTabName::CONTACT_BLOCKLIST) {
69 int ContactGroupTest::ContactDelete(const std::string &tableName, OHOS::DataShare::DataSharePredicates predicates)
72 if (tableName == ContactTabName::RAW_CONTACT) {
75 } else if (tableName == ContactTabName::CONTACT_DATA) {
78 } else if (tableName == ContactTabName::GROUPS) {
81 } else if (tableName == ContactTabName::CONTACT_BLOCKLIST) {
84 } else if (tableName == ContactTabName::CONTACT) {
94 const std::string &tableName, std::vector<std::string> columns, OHOS::DataShare::DataSharePredicates predicates)
97 if (tableName == ContactTabName::RAW_CONTACT) {
100 } else if (tableName == ContactTabName::CONTACT_DATA) {
103 } else if (tableName == ContactTabName::CONTACT) {
106 } else if (tableName == ContactTabName::GROUPS) {
109 } else if (tableName == ContactTabName::CONTACT_BLOCKLIST) {
112 } else if (tableName == ContactTabName::DELETED_RAW_CONTACT) {
115 } else if (tableName == ContactTabName::SEARCH_CONTACT) {
124 void ContactGroupTest::QueryAndExpectResult(const std::string &tableName,
129 std::shared_ptr<OHOS::DataShare::DataShareResultSet> resultSet = ContactQuery(tableName, columns, predicates);