Home
last modified time | relevance | path

Searched refs:CompareVector (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_parcel_unit_test.cpp140 EXPECT_TRUE(DistributedDBToolsUnitTest::CompareVector<uint8_t>(writeData, readData));
175 EXPECT_TRUE(DistributedDBToolsUnitTest::CompareVector<uint8_t>(writeData, readData));
210 EXPECT_TRUE(DistributedDBToolsUnitTest::CompareVector<uint32_t>(writeData, readData));
245 EXPECT_TRUE(DistributedDBToolsUnitTest::CompareVector<uint32_t>(writeData, readData));
281 EXPECT_TRUE(DistributedDBToolsUnitTest::CompareVector<uint64_t>(writeData, readData));
316 EXPECT_TRUE(DistributedDBToolsUnitTest::CompareVector<uint64_t>(writeData, readData));
H A Ddistributeddb_tools_unit_test.h96 static bool CompareVector(const std::vector<T>& vec1, const std::vector<T>& vec2) in CompareVector() function
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_batch_crud_test.cpp1439 … return (CompareVector(entry.key, entry_.key) && CompareVector(entry.value, entry_.value)); in __anon46b79ee70502()
1444 … if (!CompareVector(entry.key, entries1[1].key) && !CompareVector(entry.key, entries1[2].key)) {
1446 … return (CompareVector(entry.key, entry_.key) && CompareVector(entry.value, entry_.value)); in __anon46b79ee70602()
1449 } else if (CompareVector(entry.key, entries1[1].key)) {
1451 … return (CompareVector(entry.key, entry_.key) && CompareVector(VALUE_2, entry_.value)); in __anon46b79ee70702()
1456 … return (CompareVector(entry.key, entry_.key) && CompareVector(entry.value, entry_.value)); in __anon46b79ee70802()
1687 … return (CompareVector(entry.key, entry_.key) && CompareVector(entry.value, entry_.value)); in __anon46b79ee70902()
1693 … return (CompareVector(entry.key, entry_.key) && CompareVector(entry.value, entry_.value)); in __anon46b79ee70a02()
1699 … return (CompareVector(entry.key, entry_.key) && CompareVector(entry.value, entry_.value)); in __anon46b79ee70b02()
H A Ddistributeddb_nb_cursor_testcase.cpp262 EXPECT_TRUE(CompareVector(entry.key, entries[position - 1].key)); in ResultSetDb002()
263 EXPECT_TRUE(CompareVector(entry.value, entries[position - 1].value)); in ResultSetDb002()
554 EXPECT_TRUE(CompareVector(entry.key, entries[position + CURSOR_POSITION_1].key)); in ResultSetDb006()
555 EXPECT_TRUE(CompareVector(entry.value, entries[position + CURSOR_POSITION_1].value)); in ResultSetDb006()
575 EXPECT_TRUE(CompareVector(entry.key, entries[position - CURSOR_POSITION_1].key)); in ResultSetDb006()
576 EXPECT_TRUE(CompareVector(entry.value, entries[position - CURSOR_POSITION_1].value)); in ResultSetDb006()
827 EXPECT_TRUE(CompareVector(entry.key, entries[position - CURSOR_POSITION_1].key)); in ResultSetDb010()
828 EXPECT_TRUE(CompareVector(entry.value, entries[position - CURSOR_POSITION_1].value)); in ResultSetDb010()
H A Ddistributeddb_nb_predicate_query_expand_test.cpp1115 EXPECT_TRUE(CompareVector(entry.key, entriesBatch[position + CURSOR_POSITION_1].key)); in MoveCursor()
1116 … EXPECT_TRUE(CompareVector(entry.value, entriesBatch[position + CURSOR_POSITION_1].value)); in MoveCursor()
1136 EXPECT_TRUE(CompareVector(entry.key, entriesBatch[position - CURSOR_POSITION_1].key)); in MoveCursor()
1137 … EXPECT_TRUE(CompareVector(entry.value, entriesBatch[position - CURSOR_POSITION_1].value)); in MoveCursor()
H A Ddistributeddb_kv_batch_crud_test.cpp750 if (CompareVector(keys1[idxKey], entriesInDB[idxEntry].key)) { in SnapWithTransactionCheck()
774 if (CompareVector(entriesInDB[idx].key, KEY_3)) { in SnapWithTransactionCheck()
969 if (CompareVector(keys1[idxKey], entriesInDB[idxEntry].key)) { in RegisterSnapAgainAndCheck5()
984 if (CompareVector(entriesInDB[idx].key, KEY_3)) { in RegisterSnapAgainAndCheck5()
H A Ddistributeddb_nb_crud_test.cpp1784 if (CompareVector(entry.key, entryCurrent.key)) { in JudgeInLongWriteWrite()
1793 if (CompareVector(entriesBatch[index].key, entryCurrent.key)) { in JudgeInLongWriteWrite()
H A Ddistributeddb_nb_local_batch_crud_test.cpp462 EXPECT_TRUE(CompareVector(gotValue, VALUE_1));
H A Ddistributeddb_nb_observer_test.cpp2025 if (CompareVector(entry.key, entryCurrent.key)) { in CheckPressureLongCompare()
2034 if (CompareVector(entriesBatch[index].key, entryCurrent.key)) { in CheckPressureLongCompare()
H A Ddistributeddb_kv_transaction_test.cpp1412 if (CompareVector(applyKey, *key)) { in CheckKeyHolding()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/include/
H A Ddistributed_test_tools.h105 bool CompareVector(const std::vector<uint8_t>& first, const std::vector<uint8_t>& second);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributed_test_tools.cpp63 bool CompareVector(const std::vector<uint8_t>& first, const std::vector<uint8_t>& second) in CompareVector() function
119 if (CompareVector(entryVec[idxEntry].key, putKey)) { in PutUniqueKey()