diff options
author | Henning Baldersheim <balder@oath.com> | 2018-05-29 22:34:22 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-05-29 22:34:22 +0200 |
commit | 7c7b5016dcf6cdf540e78f5902baa0a4669e1a46 (patch) | |
tree | d77e51c842e04ce4b12f3bb7b691b89d53667ac2 /document/src/tests/documentupdatetestcase.cpp | |
parent | a364dea87f200335cf1e68d61b87820eda4019b7 (diff) |
Remove unused code, and code only used in unit tests for obsolete features.
Diffstat (limited to 'document/src/tests/documentupdatetestcase.cpp')
-rw-r--r-- | document/src/tests/documentupdatetestcase.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/document/src/tests/documentupdatetestcase.cpp b/document/src/tests/documentupdatetestcase.cpp index b6aca1ec8be..b9aae3cb3f6 100644 --- a/document/src/tests/documentupdatetestcase.cpp +++ b/document/src/tests/documentupdatetestcase.cpp @@ -200,8 +200,6 @@ DocumentUpdateTest::testSimpleUsage() { ByteBuffer::UP docBuf = serialize42(docUpdate); docBuf->flip(); DocumentUpdate::UP docUpdateCopy(DocumentUpdate::create42(repo, *docBuf)); - CPPUNIT_ASSERT(!docUpdate.affectsDocumentBody()); - CPPUNIT_ASSERT(!docUpdateCopy->affectsDocumentBody()); // Create a test document Document doc(*docType, DocumentId("doc::testdoc")); @@ -252,7 +250,6 @@ DocumentUpdateTest::testSimpleUsage() { updated.getValue("intarr").release())); CPPUNIT_ASSERT_EQUAL(size_t(3), val->size()); CPPUNIT_ASSERT_EQUAL(4, (*val)[2].getAsInt()); - CPPUNIT_ASSERT(upd.affectsDocumentBody()); } { Document updated(doc); |