hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::sphinx::tests Namespace Reference

Classes

class  SphinxAdminCommandTest
class  SphinxFunctionalObjectTest
struct  TestPerfomanceData
class  SphinxFunctionalTest
class  SphinxIndexTest
class  SphinxManageTest
class  SearchTask
class  SearchProgressHandler
class  SphinxMultiIndexTest
class  SphinxPrintStatus
class  SphinxSearchTest
class  StressTest
class  SphinxStressTest
struct  StressTestData
class  SphinxTestPrinter

Functions

 TEST (SphinxAdminCommand, notLoadConfigInConstructor)
 TEST (SphinxAdminCommand, loadConfigInConstructor)
 TEST_F (SphinxAdminCommandTest, isCreatedSphinxFunctionalObject)
 TEST_F (SphinxAdminCommandTest, isActiveSearchd)
 TEST_F (SphinxAdminCommandTest, isNotLoadedConfig)
 TEST_F (SphinxAdminCommandTest, testIndexCreateRemove)
 TEST_F (SphinxAdminCommandTest, testIndexCheckExist)
 TEST_F (SphinxAdminCommandTest, testIndexCheckNotExist)
 TEST_F (SphinxAdminCommandTest, testIndexStoreDataFile)
 TEST_F (SphinxAdminCommandTest, testIndexStoreSchemaFile)
 TEST_F (SphinxAdminCommandTest, testIndexMaxDocId)
 TEST_F (SphinxAdminCommandTest, testIndexMaxDocIdExtended)
 TEST_F (SphinxAdminCommandTest, testIndexRebuild)
 TEST_F (SphinxAdminCommandTest, testIndexMergeStart)
 TEST_F (SphinxAdminCommandTest, testIndexDeleteDataFile)
 TEST_F (SphinxAdminCommandTest, testIndexRebuildMergeStart)
 TEST_F (SphinxAdminCommandTest, testIndexMergeNotExist)
 TEST_F (SphinxAdminCommandTest, testIndexStartStopStart)
 TEST_F (SphinxAdminCommandTest, testIndexDeleteDataFileAndDeleteSchemaFile)
 TEST_F (SphinxAdminCommandTest, testIndexAppendDataFile)
 TEST_F (SphinxAdminCommandTest, testIndexDeleteDoc)
 TEST_F (SphinxAdminCommandTest, testIndexPackDocData)
 TEST_F (SphinxAdminCommandTest, testIndexRemove)
 TEST_F (SphinxAdminCommandTest, testIndexCopy)
 TEST_F (SphinxAdminCommandTest, testIndexRename)
 TEST_F (SphinxAdminCommandTest, testIndexSetConfigVarGetConfigVar)
 TEST_F (SphinxAdminCommandTest, testIndexCheckSchema)
 TEST_F (SphinxAdminCommandTest, testIndexStatusSearchd)
 TEST_F (SphinxAdminCommandTest, testIndexStatus)
 TEST_F (SphinxAdminCommandTest, testIndexDataList)
 TEST_F (SphinxAdminCommandTest, testIndexBranchesList)
 TEST_F (SphinxAdminCommandTest, testIndexBranchesInfo)
 TEST_F (SphinxAdminCommandTest, testIndexBranchesStatus)
 TEST_F (SphinxAdminCommandTest, testIndexConnectDisconnect)
 TEST_F (SphinxAdminCommandTest, fullAdminCommandsTest)
 TEST_F (SphinxFunctionalTest, isCreatedSphinxFunctionalObject)
 TEST_F (SphinxFunctionalTest, changeSearchIndex)
 TEST_F (SphinxFunctionalTest, autoGettingPortsSearchd)
 TEST_F (SphinxFunctionalTest, fullIndexerTest)
 TEST_F (SphinxFunctionalTest, fullSearcherTest)
 TEST_F (SphinxFunctionalTest, differentFiltersTest)
 TEST_F (SphinxFunctionalTest, isUse64Bit)
 TEST (SphinxPerfomance, testPerfomance)
 TEST_F (StressTest, Is_Created_SphinxFunctionalObject)
 TEST_F (StressTest, testStressGetBigResult)
 TEST_F (StressTest, testGetResultUseOffset)

Variables

Poco::SharedPtr
< SphinxFunctionalObject
pObj = nullptr
std::string homeDir
TestPerfomanceData perfomanceData
StressTestData stressTestData
const std::string nodeName = "test_node"
const std::string defaultIndex = "i001"
const std::string indexName = "i003"
const std::string copyIndexName = "i004"
const std::string renameIndexName = "i005"
std::vector< std::string > branches
static SphinxPrintStatus printFail ("error"," - FAIL")
static SphinxPrintStatus printMessage ("information","")
static SphinxPrintStatus printError ("error","")
SphinxPrintStatus printStartMessage ("information"," - START")

Function Documentation

HCE::sphinx::tests::TEST ( SphinxAdminCommand  ,
notLoadConfigInConstructor   
)

Definition at line 34 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST ( SphinxAdminCommand  ,
loadConfigInConstructor   
)

Definition at line 41 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST ( SphinxPerfomance  ,
testPerfomance   
)

Definition at line 95 of file SphinxFunctionalTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxFunctionalTest  ,
isCreatedSphinxFunctionalObject   
)

Definition at line 53 of file SphinxFunctionalTest.cpp.

HCE::sphinx::tests::TEST_F ( SphinxFunctionalTest  ,
changeSearchIndex   
)

Definition at line 58 of file SphinxFunctionalTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxFunctionalTest  ,
autoGettingPortsSearchd   
)

Definition at line 64 of file SphinxFunctionalTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxFunctionalTest  ,
fullIndexerTest   
)

Definition at line 70 of file SphinxFunctionalTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxFunctionalTest  ,
fullSearcherTest   
)

Definition at line 76 of file SphinxFunctionalTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxFunctionalTest  ,
differentFiltersTest   
)

Definition at line 82 of file SphinxFunctionalTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
isCreatedSphinxFunctionalObject   
)

Definition at line 83 of file SphinxAdminCommandTest.cpp.

HCE::sphinx::tests::TEST_F ( SphinxFunctionalTest  ,
isUse64Bit   
)

Definition at line 88 of file SphinxFunctionalTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
isActiveSearchd   
)

Definition at line 88 of file SphinxAdminCommandTest.cpp.

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
isNotLoadedConfig   
)

Definition at line 93 of file SphinxAdminCommandTest.cpp.

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexCreateRemove   
)

Definition at line 98 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( StressTest  ,
Is_Created_SphinxFunctionalObject   
)

Definition at line 103 of file SphinxStressTest.cpp.

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexCheckExist   
)

Definition at line 107 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( StressTest  ,
testStressGetBigResult   
)

Definition at line 108 of file SphinxStressTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( StressTest  ,
testGetResultUseOffset   
)

Definition at line 113 of file SphinxStressTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexCheckNotExist   
)

Definition at line 118 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexStoreDataFile   
)

Definition at line 125 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexStoreSchemaFile   
)

Definition at line 144 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexMaxDocId   
)

Definition at line 156 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexMaxDocIdExtended   
)

Definition at line 173 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexRebuild   
)

Definition at line 191 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexMergeStart   
)

Definition at line 215 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexDeleteDataFile   
)

Definition at line 235 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexRebuildMergeStart   
)

Definition at line 250 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexMergeNotExist   
)

Definition at line 272 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexStartStopStart   
)

Definition at line 294 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexDeleteDataFileAndDeleteSchemaFile   
)

Definition at line 313 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexAppendDataFile   
)

Definition at line 337 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexDeleteDoc   
)

Definition at line 365 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexPackDocData   
)

Definition at line 388 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexRemove   
)

Definition at line 415 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexCopy   
)

Definition at line 425 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexRename   
)

Definition at line 453 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexSetConfigVarGetConfigVar   
)

Definition at line 480 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexCheckSchema   
)

Definition at line 548 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexStatusSearchd   
)

Definition at line 559 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexStatus   
)

Definition at line 579 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexDataList   
)

Definition at line 599 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexBranchesList   
)

Definition at line 619 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexBranchesInfo   
)

Definition at line 639 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexBranchesStatus   
)

Definition at line 659 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
testIndexConnectDisconnect   
)

Definition at line 678 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

HCE::sphinx::tests::TEST_F ( SphinxAdminCommandTest  ,
fullAdminCommandsTest   
)

Definition at line 699 of file SphinxAdminCommandTest.cpp.

Here is the call graph for this function:

Variable Documentation

std::vector<std::string> HCE::sphinx::tests::branches

Definition at line 80 of file SphinxAdminCommandTest.cpp.

const std::string HCE::sphinx::tests::copyIndexName = "i004"

Definition at line 31 of file SphinxAdminCommandTest.cpp.

const std::string HCE::sphinx::tests::defaultIndex = "i001"

Definition at line 29 of file SphinxAdminCommandTest.cpp.

std::string HCE::sphinx::tests::homeDir

Definition at line 42 of file main.cpp.

const std::string HCE::sphinx::tests::indexName = "i003"

Definition at line 30 of file SphinxAdminCommandTest.cpp.

const std::string HCE::sphinx::tests::nodeName = "test_node"

Definition at line 28 of file SphinxAdminCommandTest.cpp.

TestPerfomanceData HCE::sphinx::tests::perfomanceData

Definition at line 43 of file main.cpp.

Poco::SharedPtr< SphinxFunctionalObject > HCE::sphinx::tests::pObj = nullptr

Definition at line 41 of file main.cpp.

SphinxPrintStatus HCE::sphinx::tests::printError("error","")
SphinxPrintStatus HCE::sphinx::tests::printFail("error"," - FAIL")
SphinxPrintStatus HCE::sphinx::tests::printMessage("information","")
SphinxPrintStatus HCE::sphinx::tests::printStartMessage("information"," - START")
const std::string HCE::sphinx::tests::renameIndexName = "i005"

Definition at line 32 of file SphinxAdminCommandTest.cpp.

StressTestData HCE::sphinx::tests::stressTestData

Definition at line 44 of file main.cpp.