libepc r175 - in trunk: . libepc tests



Author: hasselmm
Date: 2007-12-10 14:16:52 +0000 (Mon, 10 Dec 2007)
New Revision: 175
ViewCVS link: http://svn.gnome.org/viewcvs/libepc?rev=175&view=rev

Added:
   trunk/tests/test-dispatcher-unique.c
Modified:
   trunk/ChangeLog
   trunk/Makefile.am
   trunk/libepc/dispatcher.c
   trunk/libepc/dispatcher.h
   trunk/libepc/service-monitor.c
   trunk/libepc/service-monitor.h
   trunk/tests/.gitignore
   trunk/tests/test-dispatcher-local-collision.c
Log:
Implement fall back to alternative serivce name strategy, when the

conflicting service has another service cookie, in unique service mode.

* libepc/dispatcher.c, libepc/dispatcher.h: Ensure that dispatchers
with unique service strategy have a service cookie. Rename
epc_dispatcher_get_service_cookie to epc_dispatcher_get_cookie.
Fall back to alternative serivce name strategy, when conflicting
service has another service cookie, in unique service mode.
* libepc/service-monitor.c, libepc/service-monitor.h: Add
epc_service_monitor_new_for_types_strv and release local variables.
* tests/test-dispatcher-local-collision.c:
Verify alternative name strategy is chosen for collision handling.
* tests/test-dispatcher-unique.c: Test collision
handling with unique strategy, but different service cookies.
* Makefile.am, tests/.gitignore: Add tests/test-dispatcher-unique.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]