[Nepomuk] Re: Review Request: Setup for integration tests in Nepomuk + a few indexer tests

Paweł Paprota ppawel at fastmail.fm
Tue Jun 28 09:31:43 CEST 2011


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

(Updated June 28, 2011, 7:31 a.m.)


Review request for Nepomuk.


Summary (updated)
-------

This is a little ground work for writing integration tests in order to test Nepomuk components in the "real" setup - with D-Bus/socket communication, Virtuoso repository, KConfig configuration running etc.

Also included are simple tests for indexing of files (see indexertests.cpp).

See README for details.

The code is also available here:

https://github.com/ppawel/kde-runtime/tree/integration-tests


Diffs
-----

  nepomuk/CMakeLists.txt c6a1879 
  nepomuk/services/strigi/indexscheduler.cpp 56914a7 
  nepomuk/services/strigi/nepomukindexer.h 08abb2a 
  nepomuk/services/strigi/nepomukindexer.cpp d796983 
  nepomuk/services/strigi/strigiservice.h 2eb7eac 
  nepomuk/services/strigi/strigiservice.cpp 0189679 
  nepomuk/tests/CMakeLists.txt PRE-CREATION 
  nepomuk/tests/README PRE-CREATION 
  nepomuk/tests/indexertests.h PRE-CREATION 
  nepomuk/tests/indexertests.cpp PRE-CREATION 
  nepomuk/tests/lib/CMakeLists.txt PRE-CREATION 
  nepomuk/tests/lib/NepomukTestLibMacros.cmake PRE-CREATION 
  nepomuk/tests/lib/nepomuk-repository-with-ontologies.tgz PRE-CREATION 
  nepomuk/tests/lib/nepomukserverrc.in PRE-CREATION 
  nepomuk/tests/lib/nepomuktest_export.h PRE-CREATION 
  nepomuk/tests/lib/testbase.h PRE-CREATION 
  nepomuk/tests/lib/testbase.cpp PRE-CREATION 
  nepomuk/tests/runNepomukTest.sh PRE-CREATION 
  nepomuk/tests/test/CMakeLists.txt PRE-CREATION 
  nepomuk/tests/test/filewatch/CMakeLists.txt PRE-CREATION 
  nepomuk/tests/test/filewatch/filewatch.h PRE-CREATION 
  nepomuk/tests/test/filewatch/filewatch.cpp PRE-CREATION 
  nepomuk/tests/test/identificationtest.h PRE-CREATION 
  nepomuk/tests/test/identificationtest.cpp PRE-CREATION 
  nepomuk/tests/testdata/CMakeLists.txt PRE-CREATION 
  nepomuk/tests/testdata/klogo.png PRE-CREATION 
  nepomuk/tests/testdata/trollface.jpg PRE-CREATION 

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


Testing
-------

Tests should execute with simple "make test". I did however have some problems (segfaults) with sendEvents method that notifies the user that "indexing started for fast search" - I had to disable it locally, I will try to track down the cause of this if it is reproducible.


Thanks,

Paweł

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/nepomuk/attachments/20110628/4f0add43/attachment-0001.htm 


More information about the Nepomuk mailing list