diff options
author | Geir Storli <geirst@verizonmedia.com> | 2021-03-26 14:59:54 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2021-03-26 14:59:54 +0000 |
commit | 47dae5a7ccb78282e9db7e6b305562a9e0c195f4 (patch) | |
tree | 98aa99c3af20e13ec2984b098825a8718fba8e68 /searchcore/src/tests/proton/common | |
parent | cfc7927446dcea526fbdce38b8578c14671e1d6c (diff) |
Remove SerializedTensorAttribute that is replaced by SerializedFastValueAttribute.
Diffstat (limited to 'searchcore/src/tests/proton/common')
-rw-r--r-- | searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp b/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp index c74c93a376a..e92f0363ec2 100644 --- a/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp +++ b/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp @@ -30,7 +30,7 @@ #include <vespa/searchlib/attribute/attributefactory.h> #include <vespa/searchlib/attribute/reference_attribute.h> #include <vespa/searchlib/tensor/dense_tensor_attribute.h> -#include <vespa/searchlib/tensor/serialized_tensor_attribute.h> +#include <vespa/searchlib/tensor/serialized_fast_value_attribute.h> #include <vespa/searchlib/test/weighted_type_test_utils.h> #include <vespa/vespalib/stllike/hash_map.hpp> #include <vespa/vespalib/testkit/testapp.h> @@ -50,7 +50,7 @@ using search::attribute::Reference; using search::attribute::ReferenceAttribute; using search::tensor::ITensorAttribute; using search::tensor::DenseTensorAttribute; -using search::tensor::SerializedTensorAttribute; +using search::tensor::SerializedFastValueAttribute; using search::tensor::TensorAttribute; using vespalib::eval::SimpleValue; using vespalib::eval::TensorSpec; @@ -459,7 +459,7 @@ TEST_F("require that tensor modify update is applied", } TEST_F("require that tensor add update is applied", - TensorFixture<SerializedTensorAttribute>("tensor(x{})", "sparse_tensor")) + TensorFixture<SerializedFastValueAttribute>("tensor(x{})", "sparse_tensor")) { f.setTensor(TensorSpec(f.type).add({{"x", "a"}}, 2)); f.applyValueUpdate(*f.attribute, 1, @@ -468,7 +468,7 @@ TEST_F("require that tensor add update is applied", } TEST_F("require that tensor add update to non-existing tensor creates empty tensor first", - TensorFixture<SerializedTensorAttribute>("tensor(x{})", "sparse_tensor")) + TensorFixture<SerializedFastValueAttribute>("tensor(x{})", "sparse_tensor")) { f.applyValueUpdate(*f.attribute, 1, TensorAddUpdate(makeTensorFieldValue(TensorSpec(f.type).add({{"x", "a"}}, 3)))); @@ -476,7 +476,7 @@ TEST_F("require that tensor add update to non-existing tensor creates empty tens } TEST_F("require that tensor remove update is applied", - TensorFixture<SerializedTensorAttribute>("tensor(x{})", "sparse_tensor")) + TensorFixture<SerializedFastValueAttribute>("tensor(x{})", "sparse_tensor")) { f.setTensor(TensorSpec(f.type).add({{"x", "a"}}, 2).add({{"x", "b"}}, 3)); f.applyValueUpdate(*f.attribute, 1, |