aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/tests/fieldsettest.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-11-07 20:15:57 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-11-07 23:21:38 +0000
commite6b0122165549bcfa232d8e4eef2e20ee1b963db (patch)
tree6e7a1b254120e24416f3db9dae3a623f8a438279 /document/src/tests/fieldsettest.cpp
parent81f33dd36a90bcef7be8a88021a820526b093c06 (diff)
No need to inherit Identifiable.
Diffstat (limited to 'document/src/tests/fieldsettest.cpp')
-rw-r--r--document/src/tests/fieldsettest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/document/src/tests/fieldsettest.cpp b/document/src/tests/fieldsettest.cpp
index af23e713735..8f77bfd2c0d 100644
--- a/document/src/tests/fieldsettest.cpp
+++ b/document/src/tests/fieldsettest.cpp
@@ -280,4 +280,8 @@ TEST(FieldCollectionTest, testHash ) {
EXPECT_EQ(0x1e0918531b19734ul, FieldCollection(type, Field::Set::Builder().add(&type.getField("hstringval")).build()).hash());
}
+TEST(FieldTest, testSizeOf) {
+ EXPECT_EQ(sizeof(Field), 96);
+}
+
} // document