diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-08-16 14:48:11 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-08-16 17:22:45 +0000 |
commit | 224b5fbe12ecab75beee6efe24068a9ce7092110 (patch) | |
tree | 3e8c0dd797c583b032b960488b2bf3436ccbd2b9 /searchcore/src/tests/proton/feedoperation | |
parent | 5fb8e66dbd2d6e02a64a054e147ac7214943d563 (diff) |
doc: -> id:
Diffstat (limited to 'searchcore/src/tests/proton/feedoperation')
-rw-r--r-- | searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp b/searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp index 6a9dc42b56d..5a3ed4b7274 100644 --- a/searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp +++ b/searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp @@ -145,7 +145,7 @@ TEST("require that toString() on derived classes are meaningful") uint32_t sub_db_id = 1; MyStreamHandler stream_handler; DocumentIdT doc_id_limit = 15; - DocumentId doc_id("doc:foo:bar"); + DocumentId doc_id("id:ns:foo:::bar"); DocumentUpdate::SP update(new DocumentUpdate(repo, *DataType::DOCUMENT, doc_id)); EXPECT_EQUAL("DeleteBucket(BucketId(0x0000000000000000), serialNum=0)", @@ -196,7 +196,7 @@ TEST("require that toString() on derived classes are meaningful") EXPECT_EQUAL("Remove(null::, BucketId(0x0000000000000000), timestamp=0, dbdId=(subDbId=0, lid=0), " "prevDbdId=(subDbId=0, lid=0), prevMarkedAsRemoved=false, prevTimestamp=0, serialNum=0)", RemoveOperation().toString()); - EXPECT_EQUAL("Remove(doc:foo:bar, BucketId(0x000000000000002a), timestamp=10, dbdId=(subDbId=0, lid=0), " + EXPECT_EQUAL("Remove(id:ns:foo:::bar, BucketId(0x000000000000002a), timestamp=10, dbdId=(subDbId=0, lid=0), " "prevDbdId=(subDbId=0, lid=0), prevMarkedAsRemoved=false, prevTimestamp=0, serialNum=0)", RemoveOperation(bucket_id1, timestamp, doc_id).toString()); @@ -214,7 +214,7 @@ TEST("require that toString() on derived classes are meaningful") EXPECT_EQUAL("Update(NULL, BucketId(0x0000000000000000), timestamp=0, dbdId=(subDbId=0, lid=0), " "prevDbdId=(subDbId=0, lid=0), prevMarkedAsRemoved=false, prevTimestamp=0, serialNum=0)", UpdateOperation().toString()); - EXPECT_EQUAL("Update(doc:foo:bar, BucketId(0x000000000000002a), timestamp=10, dbdId=(subDbId=0, lid=0), " + EXPECT_EQUAL("Update(id:ns:foo:::bar, BucketId(0x000000000000002a), timestamp=10, dbdId=(subDbId=0, lid=0), " "prevDbdId=(subDbId=0, lid=0), prevMarkedAsRemoved=false, prevTimestamp=0, serialNum=0)", UpdateOperation(bucket_id1, timestamp, update).toString()); |