--- a/searcher/tsrc/cpixsearchertest/inc/cpixsearchertester.h Mon Apr 19 14:40:16 2010 +0300
+++ b/searcher/tsrc/cpixsearchertest/inc/cpixsearchertester.h Mon May 03 13:33:22 2010 +0300
@@ -36,8 +36,15 @@
{
public:
CTestSearcher(){}
- void setUp();
+ void initialsetUp();
+ void createandinitindexer();
+ void createsearcher();
+ void harvesttestcontent( TInt aCount );
+ void InitAsyncComponents();
void tearDown();
+ void ReleaseIndexer();
+ void ReleaseSearcher();
+ void ReleaseAsyncComponents();
private:
TInt SearchForTextL(const TDesC& aText, const TDesC& aDefaultField);
@@ -62,7 +69,7 @@
* Basic search tests - requires IndexDb with Shakespeare corpus data
* already indexed.
*/
- TInt testKnownTermTestsL();
+ void testKnownTermTestsL();
/*
* Simple tests for wildcard searches
*/
@@ -107,6 +114,8 @@
* search statemachine.
*/
void testGetInvalidDocumentAsync();
+
+ TInt testEcerptLenth();
private:
CCPixSearcher* iSearcher;
RSearchServerSession iSession;