~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 995.

  • Committer: Scott James Remnant
  • Date: 2008-06-06 02:52:15 UTC
  • Revision ID: scott@netsplit.com-20080606025215-ka6swh7bjw7l9tk5
* init/tests/test_control.c (my_connect_handler): Use TEST_DBUS_MESSAGE
instead of a pop/read/write loop.
(test_emit_event): Renamed TEST_DBUS_CONN to TEST_DBUS_OPEN.
* init/tests/test_job.c (test_new, test_register)
(test_change_state): Use TEST_DBUS_OPEN and TEST_DBUS_CLOSE to setup
and tear down D-Bus connections and TEST_DBUS_MESSAGE instead of
a loop.
* init/tests/test_job_class.c (test_consider, test_reconsider)
(test_register, test_unregister): Likewise.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: