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

David Edmundson david at davidedmundson.co.uk
Mon Feb 18 23:27:25 UTC 2013


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

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/test/indexerextractortestsconfig.h.in PRE-CREATION 
  services/fileindexer/test/samplefiles/README PRE-CREATION 
  services/fileindexer/test/samplefiles/plain_text_file.txt PRE-CREATION 
  services/fileindexer/test/CMakeLists.txt 49a527f39f6f07afebf8bcd14902b63948c1c33d 
  services/fileindexer/test/indexerextractortests.h PRE-CREATION 
  services/fileindexer/test/indexerextractortests.cpp 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/20130218/34af6993/attachment.html>


More information about the Nepomuk mailing list