forked from Mirrors/privacore-open-source-search-engine
Fix include files in unit test
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include "Posdb.h"
|
||||
#include "GigablastTestUtils.h"
|
||||
#include "Conf.h"
|
||||
|
||||
static void saveAndReloadPosdbBucket() {
|
||||
g_posdb.getRdb()->saveTree(false);
|
||||
@ -386,4 +387,4 @@ TEST_F(PosdbNoMergeTest, AddRecordDeleteDocWithRdbFiles) {
|
||||
|
||||
// verify that data returned is the same as data inserted above
|
||||
expectRecord(&list, 0, docId, true);
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <Posdb.h>
|
||||
#include "RdbBase.h"
|
||||
#include "Posdb.h"
|
||||
#include "GigablastTestUtils.h"
|
||||
#include "Conf.h"
|
||||
|
||||
class RdbBaseTest : public ::testing::Test {
|
||||
public:
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include "Posdb.h"
|
||||
#include "sort.h"
|
||||
#include "GigablastTestUtils.h"
|
||||
#include "Conf.h"
|
||||
|
||||
#define sizeof_arr(x) (sizeof(x) / sizeof(x[0]))
|
||||
|
||||
|
@ -1,6 +1,9 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include "XmlDoc.h"
|
||||
#include "GigablastTestUtils.h"
|
||||
#include "Conf.h"
|
||||
#include "Collectiondb.h"
|
||||
#include "ip.h"
|
||||
|
||||
class XmlDocTest : public ::testing::Test {
|
||||
protected:
|
||||
@ -251,4 +254,4 @@ TEST_F(XmlDocTest, PosdbGetMetaListDeletedDoc) {
|
||||
EXPECT_TRUE(posdbFindRecord(metaListKeys, xmlDocNew.m_docId, hashWord("olddocument"), true));
|
||||
|
||||
/// @todo ALC add other terms
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user