[Nepomuk] Review Request 109018: Start testing the nepomuk file indexer plugins

Commit Hook null at kde.org
Tue Mar 12 15:58:26 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109018/
-----------------------------------------------------------

(Updated March 12, 2013, 3:58 p.m.)


Status
------

This change has been marked as submitted.


Review request for Nepomuk.


Description
-------

Start testing the nepomuk file indexer plugins

Tests the generated resource graph for the plain text extractor against a sample file

Obviously this needs extending for all the plugins but I wanted to start with one and agree on the plan/structure before I do any more.


Diffs
-----

  services/fileindexer/indexer/test/samplefiles/README PRE-CREATION 
  services/fileindexer/indexer/test/samplefiles/plain_text_file.txt PRE-CREATION 
  services/fileindexer/indexer/CMakeLists.txt f7b5d2a29dc4098cda3997f338adf45b211c4872 
  services/fileindexer/indexer/test/indexerextractortests.h PRE-CREATION 
  services/fileindexer/indexer/test/indexerextractortests.cpp PRE-CREATION 
  services/fileindexer/indexer/test/indexerextractortestsconfig.h.in PRE-CREATION 

Diff: http://git.reviewboard.kde.org/r/109018/diff/


Testing
-------

Sample output.

********* Start testing of IndexerExtractorTests *********
Config: Using QTest library 4.8.3, Qt 4.8.3
PASS   : IndexerExtractorTests::initTestCase()
RESULT : IndexerExtractorTests::benchMarkPlainTextExtractor():
     0.042 msecs per iteration (total: 88, iterations: 2048)
PASS   : IndexerExtractorTests::benchMarkPlainTextExtractor()
PASS   : IndexerExtractorTests::testPlainTextExtractor()
PASS   : IndexerExtractorTests::cleanupTestCase()
Totals: 4 passed, 0 failed, 0 skipped
********* Finished testing of IndexerExtractorTests *********


Thanks,

David Edmundson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130312/98be64f2/attachment.html>


More information about the Nepomuk mailing list