diff options
Diffstat (limited to 'searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp')
-rw-r--r-- | searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp b/searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp index 1d7bd9b8504..3b023ed3bc8 100644 --- a/searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp +++ b/searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp @@ -184,15 +184,15 @@ TEST("test that DirectIOPadding works accordng to spec") { EXPECT_FALSE(file.DirectIOPadding(FILE_SIZE-1, 4_Ki, padBefore, padAfter)); EXPECT_EQUAL(0u, padBefore); EXPECT_EQUAL(0u, padAfter); - EXPECT_EQUAL(FILE_SIZE, file.GetSize()); + EXPECT_EQUAL(FILE_SIZE, file.getSize()); FastOS_File file2("directio.test"); file2.EnableDirectIO(); EXPECT_TRUE(file2.OpenWriteOnlyExisting(true)); - EXPECT_TRUE(file2.SetPosition(file2.GetSize())); - EXPECT_EQUAL(FILE_SIZE, file2.GetSize()); + EXPECT_TRUE(file2.SetPosition(file2.getSize())); + EXPECT_EQUAL(FILE_SIZE, file2.getSize()); EXPECT_EQUAL(FILE_SIZE, file2.Write2(buf.get(), FILE_SIZE)); - EXPECT_EQUAL(FILE_SIZE*2, file2.GetSize()); + EXPECT_EQUAL(FILE_SIZE*2, file2.getSize()); EXPECT_TRUE(file2.Close()); EXPECT_TRUE(file.DirectIOPadding(4097, 4_Ki, padBefore, padAfter)); |