Home
last modified time | relevance | path

Searched refs:expectEntry (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_predicate_query_test.cpp134 if (!expectEntry.empty()) { in CheckSchemaQuery()
175 if (!expectEntry.empty()) { in CheckSchemaQueryForOrderBy()
306 expectEntry = {entries[INDEX_FORTH]};
322 expectEntry = {};
348 vector<Entry> expectEntry = {}; in InvalidFieldCheck() local
471 vector<Entry> expectEntry in CheckSchemaBoolNotExist() local
577 vector<Entry> expectEntry = {}; in InvalidBoolFieldCheck() local
641 vector<Entry> expectEntry = {}; variable
820 expectEntry = {};
854 vector<Entry> expectEntry = {}; in InvalidFieldCheck() local
[all …]
H A Ddistributeddb_nb_predicate_query_expand_test.cpp259 vector<Entry> expectEntry; variable
260 …(DistributedDBSchemaTestTools::CombinationCheckQueryResult(*g_nbQueryDelegate, query1, expectEntry,
271 …(DistributedDBSchemaTestTools::CombinationCheckQueryResult(*g_nbQueryDelegate, query2, expectEntry,
306 vector<Entry> expectEntry; variable
307 …(DistributedDBSchemaTestTools::CombinationCheckQueryResult(*g_nbQueryDelegate, query1, expectEntry,
317 …(DistributedDBSchemaTestTools::CombinationCheckQueryResult(*g_nbQueryDelegate, query2, expectEntry,
326 …(DistributedDBSchemaTestTools::CombinationCheckQueryResult(*g_nbQueryDelegate, query3, expectEntry,
361 vector<Entry> expectEntry; variable
362 …(DistributedDBSchemaTestTools::CombinationCheckQueryResult(*g_nbQueryDelegate, query1, expectEntry,
371 …(DistributedDBSchemaTestTools::CombinationCheckQueryResult(*g_nbQueryDelegate, query2, expectEntry,
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributeddb_schema_test_tools.cpp176 vector<Entry> &expectEntry, const DBStatus status, bool canGetCount) in CombinationCheckQueryResult() argument
181 if (!expectEntry.empty()) { in CombinationCheckQueryResult()
182 if (entries.size() != expectEntry.size()) { in CombinationCheckQueryResult()
184 entries.size(), expectEntry.size()); in CombinationCheckQueryResult()
188 …if (entries[index].key != expectEntry[index].key || entries[index].value != expectEntry[index].val… in CombinationCheckQueryResult()
190 string keyExpect(expectEntry[index].key.begin(), expectEntry[index].key.end()); in CombinationCheckQueryResult()
207 int expectCnt = expectEntry.size(); in CombinationCheckQueryResult()
H A Ddistributed_test_tools.cpp1945 int changedTimes, ListType type, const vector<Entry> &expectEntry, uint32_t timeout) argument
1950 int expectListSize = expectEntry.size();
1982 if (retVec.size() != expectEntry.size()) {
1987 for (uint64_t index = 0; index < expectEntry.size(); index++) {
1988 bool result = ((retVec[index].key == expectEntry[index].key) &&
1989 (retVec[index].value == expectEntry[index].value));
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_register_syncdb_test.cpp78 for (const auto &expectEntry : expectEntries) { in TestEntryList() local
79 if (entry.key != expectEntry.key) { in TestEntryList()
82 if (entry.value != expectEntry.value) { in TestEntryList()
84 DBCommon::VectorToHexString(expectEntry.value).c_str()); in TestEntryList()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/include/
H A Ddistributeddb_schema_test_tools.h278 const DistributedDB::Query &query, std::vector<DistributedDB::Entry> &expectEntry,
H A Ddistributed_test_tools.h434 int changedTimes, ListType type, const std::vector<DistributedDB::Entry> &expectEntry,