aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/tests/fieldpathupdatetestcase.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* Reduce creation of Document instances without DocumentTypeRepo.Geir Storli2023-03-131-68/+33
|
* set repo before updatingHåvard Pettersen2022-06-231-8/+36
|
* GC void test code.Henning Baldersheim2022-04-191-124/+0
|
* Avoid using Identifiable and CloneablePtrHenning Baldersheim2022-04-081-238/+186
|
* CloneablePtr -> std::unique_ptrHenning Baldersheim2022-03-291-96/+63
|
* Avoid multiple inheritance.Henning Baldersheim2022-03-271-2/+3
|
* As a first step to reduce code complexity around FieldValue move test-only ↵Henning Baldersheim2022-03-051-2/+5
| | | | | | convenience methods out to test-only helpers.
* Remove identifiable from document::DataTypeHenning Baldersheim2022-03-041-81/+86
| | | | Also remove the virtual == operator and the need for default constructor.
* Reduce use of Identifiable for document::DatatTypeHenning Baldersheim2022-03-031-2/+10
|
* track namespace move in documenttypes.defArne H Juul2021-12-021-1/+1
| | | | | | | * For C++ code this introduces a "document::config" namespace, which will sometimes conflict with the global "config" namespace. * Move all forward-declarations of the types DocumenttypesConfig and DocumenttypesConfigBuilder to a common header file.
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Fix typoHenning Baldersheim2021-01-051-1/+1
|
* Allow updates with only remove/clear updates and operations to single value ↵Henning Baldersheim2021-01-051-1/+1
| | | | | | | | | numeric fields to pass even when feed rejection is in effect. The rationale is that these updates will not affect memory or disk footprint negatively, but it can have a significant positive effect. Note that this will only be allowed for buckets that are in sync.
* c_str -> dataHenning Baldersheim2020-01-211-1/+1
|
* Make it known that getting serialized size will always be expensive.Henning Baldersheim2020-01-201-15/+13
|
* Preserve cached struct element modification statusTor Brede Vekterli2019-11-081-0/+25
| | | | | | | | It's possible for one update operation to modify the element, place it back as MODIFIED, then a second operation reads it out of the cache, ends up being a no-op and puts it back as NOT_MODIFIED. If we do not preserve the modification status, the changes from the first operation will be lost when committing.
* Revert "Revert "doc: -> id:""Henning Baldersheim2019-08-211-75/+75
|
* Revert "doc: -> id:"Henning Baldersheim2019-08-211-75/+75
|
* doc: -> id:Henning Baldersheim2019-08-191-75/+75
| | | | | Unify documentid java/cpp GC old formats v6 and v7
* Migrate document unit tests from cppunit to gtest.Tor Egge2019-04-161-275/+154
|
* Reverse iteration over selection result in an attempt toTor Egge2018-08-151-0/+28
| | | | | | | | | | | avoid stale array indexes being used as part of applying a remove field path update. This change assumes that variables stored in result list have increasing values. Add unit test for removal of multiple array elements using remove field path update.
* Consider parse error as invalid selection expression.Tor Egge2018-08-061-0/+13
|
* Ignore array element update with index out of boundsTor Brede Vekterli2018-07-231-0/+21
| | | | | | Only affects "element match" field value updates. Silently ignoring the update matches the semantics of semantically identical field path updates.
* 1 - Use a backing buffer for the DocumentUpdate that always is source of truth.Henning Baldersheim2018-06-121-41/+41
| | | | | | | | | | | 2 - Use this buffer for re-serialization. 3 - Make deserialization lazy where possible. Currently lazy on replay and when arriving over the storageapi. Still needs to eager over documentapi. 4 - Deserialize eagerly in the persistence thread since those are plentyfull and not bottlenecked, instead of in the single master thread. Use real repo.
* Reduce code visibilityHenning Baldersheim2018-06-121-0/+2
| | | | | | Conflicts: document/src/vespa/document/update/documentupdate.h document/src/vespa/document/update/mapvalueupdate.cpp
* Remove unused code, and code only used in unit tests for obsolete features.Henning Baldersheim2018-05-291-8/+0
|
* Use forward declared DocumentTypeRepo.Tor Egge2018-04-041-0/+1
|
* Use shared pointer to const DocumentTypeRepo.Tor Egge2018-04-041-1/+1
|
* Include only what you need.Henning Baldersheim2017-08-181-1/+1
|
* Removed unused parameters.Henning Baldersheim2017-07-311-34/+25
|
* remove unused repo.Henning Baldersheim2017-07-311-77/+47
|
* Provide the repo when you need it.Henning Baldersheim2017-07-311-6/+4
|
* Remove DocumentTypeRepo from interfaces where it is not needed.Henning Baldersheim2017-07-311-218/+121
|
* Unify error handling to using exceptions only, not in combination with nullptr.Henning Baldersheim2017-07-311-6/+4
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Update copyright headers"Jon Bratseth2017-06-141-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Copyright header"Jon Bratseth2017-06-131-1/+1
|
* Copyright headerJon Bratseth2017-06-131-1/+1
|
* Use 'enum class ModificationStatus', use constexpr enumRange.Henning Baldersheim2017-06-071-1/+1
|
* Forward declare XmlOutputStream and FieldValue::IteratorHandler.Henning Baldersheim2017-06-071-3/+6
|
* add override in document moduleArne H Juul2017-04-101-7/+7
|
* deiniline destructorsHenning Baldersheim2017-03-091-33/+46
|
* Do not carry exceptions in header filesHenning Baldersheim2016-12-191-0/+1
|
* Do not bring in nbostream everywhere.Henning Baldersheim2016-12-121-1/+1
|
* Removed TestApp::GetSourceDirectoryArnstein Ressem2016-11-021-4/+4
|
* Aressem/cmake more out of source tests (#441)Arnstein Ressem2016-08-231-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vespalib tests run out of source. * staging_vespalib run tests out of source. * fastos tests run out of source. * Fixed storage tests out of source. * Fixed some of the config tests. * config* tests run out of source. * document_* tests run out of source. * documentapi_ tests run out of source. * Fixed fsa out of source tests. * Fix jrt_test out of source. * More tests run out of source. * Fix some slobrok and messagebus tests. * More fixes for out of source tests. * Done with first pass of regular tests out of source. * Only use SOURCE_DIRECTORY in a limited set of places. * Fix some remaining tests. * Some cleanups. * No need for extra slash.
* quick fix for signed-compare warningsArne H Juul2016-07-031-1/+1
|
* avoid "unused result" warningsArne H. Juul2016-07-021-3/+6
|