Home
last modified time | relevance | path

Searched refs:CURSOR_POSITION_1 (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_cursor_testcase.cpp66 const int CURSOR_POSITION_1 = 1; variable
253 if (position > (CURSOR_POSITION_NEGATIVE1 + CURSOR_POSITION_1)) { in ResultSetDb002()
259 EXPECT_TRUE(positionGot == (position - CURSOR_POSITION_1)); in ResultSetDb002()
260 if (position > (CURSOR_POSITION_NEGATIVE1 + CURSOR_POSITION_1)) { in ResultSetDb002()
545 if (position < (ONE_RECORD - CURSOR_POSITION_1)) { in ResultSetDb006()
551 EXPECT_TRUE(currentPosition == (position + CURSOR_POSITION_1)); in ResultSetDb006()
552 if (position < (ONE_RECORD - CURSOR_POSITION_1)) { in ResultSetDb006()
566 if (position > (CURSOR_POSITION_NEGATIVE1 + CURSOR_POSITION_1)) { in ResultSetDb006()
572 EXPECT_TRUE(currentPosition == (position - CURSOR_POSITION_1)); in ResultSetDb006()
759 position = {OK, false, false, false, false, CURSOR_POSITION_1}; in ResultSetDb009()
[all …]
H A Ddistributeddb_nb_predicate_query_expand_test.cpp41 const int CURSOR_POSITION_1 = 1; variable
1106 if (position < (TEN_RECORDS - CURSOR_POSITION_1)) { in MoveCursor()
1112 EXPECT_TRUE(currentPosition == (position + CURSOR_POSITION_1)); in MoveCursor()
1113 if (position < (TEN_RECORDS - CURSOR_POSITION_1)) { in MoveCursor()
1115 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()
1127 if (position > (CURSOR_POSITION_NEGATIVE1 + CURSOR_POSITION_1)) { in MoveCursor()
1133 EXPECT_TRUE(currentPosition == (position - CURSOR_POSITION_1)); in MoveCursor()
1134 if (position > (CURSOR_POSITION_NEGATIVE1 + CURSOR_POSITION_1)) { in MoveCursor()
1136 EXPECT_TRUE(CompareVector(entry.key, entriesBatch[position - CURSOR_POSITION_1].key)); in MoveCursor()
[all …]