[Nepomuk] Review Request 108838: Check super typer for ResourceWatcher resourceCreated/resourceRemoved

Jörg Ehrichs joerg.ehrichs at gmx.de
Thu Feb 7 18:18:27 UTC 2013


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

Review request for Nepomuk and Vishesh Handa.


Description
-------

If the resource watcher is configured to watch a super type and a sub
type is created/removed the proper signal is emitted now.

For example nco:Contact is watched and nco:PersonContact is created

To implement this, the TypeCache was extended to call and cache the
parent type/classes.

The resourcewatcher unit test was extended for these cases.


Diffs
-----

  services/storage/datamanagementmodel.cpp f516369 
  services/storage/resourcewatchermanager.cpp 73d31c3 
  services/storage/test/resourcewatchertest.h 2a0c066 
  services/storage/test/resourcewatchertest.cpp 0613c40 
  services/storage/typecache.h 642191a 
  services/storage/typecache.cpp 99d88f9 

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


Testing
-------

resourcewatcher Unit test work without error


Thanks,

Jörg Ehrichs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130207/01a4eb17/attachment.html>


More information about the Nepomuk mailing list