diff options
author | Henning Baldersheim <balder@oath.com> | 2018-08-30 20:07:47 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-08-30 20:07:47 +0200 |
commit | 73f69335e8a6cae23a1671e0444fc9533e8ca30c (patch) | |
tree | 49e8779fa08b316959c012f532357b2b642dfc61 /searchlib/src/tests/attribute/attributemanager | |
parent | cf065cce21dd7d82d602e23106e739d06dea03ec (diff) |
Propagate mutability from config and add test for same.
Diffstat (limited to 'searchlib/src/tests/attribute/attributemanager')
-rw-r--r-- | searchlib/src/tests/attribute/attributemanager/attributemanager_test.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/searchlib/src/tests/attribute/attributemanager/attributemanager_test.cpp b/searchlib/src/tests/attribute/attributemanager/attributemanager_test.cpp index 5911d74dcb0..09f89494019 100644 --- a/searchlib/src/tests/attribute/attributemanager/attributemanager_test.cpp +++ b/searchlib/src/tests/attribute/attributemanager/attributemanager_test.cpp @@ -262,6 +262,12 @@ AttributeManagerTest::testConfigConvert() a.fastaccess = true; EXPECT_TRUE(CC::convert(a).fastAccess()); } + { + CACA a; + EXPECT_TRUE(!CC::convert(a).isMutable()); + a.ismutable = true; + EXPECT_TRUE(CC::convert(a).isMutable()); + } { // tensor CACA a; a.datatype = CACA::TENSOR; |