libepc r58 - in trunk: . libepc tests
- From: hasselmm svn gnome org
- To: svn-commits-list gnome org
- Subject: libepc r58 - in trunk: . libepc tests
- Date: Mon, 19 Nov 2007 13:30:46 +0000 (GMT)
Author: hasselmm
Date: 2007-11-19 13:30:45 +0000 (Mon, 19 Nov 2007)
New Revision: 58
ViewCVS link: http://svn.gnome.org/viewcvs/libepc?rev=58&view=rev
Added:
trunk/tests/test-dispatcher-rename.c
trunk/tests/test-dispatcher-reset.c
Modified:
trunk/ChangeLog
trunk/Makefile.am
trunk/libepc/dispatcher.c
trunk/libepc/dispatcher.h
trunk/libepc/publisher.c
trunk/libepc/shell.c
trunk/libepc/shell.h
trunk/tests/.gitignore
trunk/tests/framework.c
trunk/tests/framework.h
trunk/tests/test-publisher-change-name.c
Log:
Drop the shell's artificial Avahi client by keep the publisher's
dispatcher arround. Implement name changes for the dispatcher.
* libepc/dispatcher.c, libepc/dispatcher.h:
Allow changing of name property.
* libepc/publisher.c: Keep dispatcher arround and use its
Avahi client ot lookup the host's official hostname.
* libepc/shell.c, libepc/shell.h: Remove epc_shell_get_host_name.
* Makefile.am, tests/.gitignore: Add test-dispatcher-rename and
test-dispatcher-reset.
* tests/framework.c, tests/framework.h: Print invokation location
for epc_test_pass. Assert tests are passed only once. Restart the
timeout when a test passes.
* tests/test-publisher-change-name.c: First call epc_test_pass,
then change the name by calling epc_publisher_set_service_name.
* tests/test-dispatcher-rename.c: Verify that epc_dispatcher_set_name
removes the old mame.
* tests/test-dispatcher-reset.c: Verify that epc_dispatcher_set_reset
removes the old mame.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]