~ubuntu-branches/ubuntu/hardy/strigi/hardy

« back to all changes in this revision

Viewing changes to tests/streamanalyzer/diranalyzertester.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2007-10-26 19:15:00 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20071026191500-glnb58jrms7gv26w
Tags: 0.5.7-1
* New upstream release.
* Update branch pull patch to r729946.
* Add query.h, queryparser.h and variant.h to libstreamanalyzer-dev package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include "diranalyzer.h"
24
24
#include "indexmanager.h"
25
25
#include "indexreader.h"
 
26
#include "indexpluginloader.h"
26
27
#include "unittestfunctions.h"
27
28
 
28
29
#include <errno.h>
105
106
 
106
107
void DirAnalyzerTester::tearDown()
107
108
{
108
 
    if (manager)
109
 
        delete manager;
 
109
    if (manager) {
 
110
        Strigi::IndexPluginLoader::deleteIndexManager(manager);
 
111
    }
110
112
    manager = NULL;
111
113
 
112
114
    // clean up data