aboutsummaryrefslogtreecommitdiff
path: root/plugins/generic/tests/test-service-generic.c
AgeCommit message (Collapse)Author
2023-01-03build: move plugins directory to src/pluginsAleksander Morgado
We are going to allow including the plugin sources built within the ModemManager daemon binary; moving the sources within the daemon sources directory makes it easier.
2020-04-08plugin: don't match generic plugin by nameAleksander Morgado
2019-07-31test: untabifyBen Chan
2017-02-03glib: remove invocations of g_type_init()Ben Chan
g_type_init() has been deprecated (and also marked with the attribute 'deprecated') since glib 2.36 as the type system is automatically initialized. Since the minimum version of glib required by ModemManager is 2.36, calling g_type_init() isn't necessarily in the ModemManager code.
2016-11-23tests,dbus: append pid to abstract socket nameAleksander Morgado
So that different concurrent runs of this same test don't clash with each other: TEST: test-service-generic... (pid=11124) /MM/Service/Generic/enable-disable: Activating service name='org.freedesktop.ModemManager1' Successfully activated service 'org.freedesktop.ModemManager1' ** (plugins/.libs/lt-test-service-generic>:11124): ERROR **: Cannot bind socket: Error binding to address: Address already in use cleaning up pid 11144 FAIL
2016-01-16tests,generic: rename basic DBus testAleksander Morgado
2014-02-14tests: add missing call to g_type_init()Ben Chan
This patches fixes the following error when testing ModemManager with glib < 2.36, which still requires g_type_init() to be called: TEST: test-service-generic... (pid=20166) /MM/Service/Generic: (/work/ModemManager/plugins/.libs/lt-test-service-generic:20166): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() FAIL
2014-02-13tests: added support for DBus service testsAleksander Morgado
We can now run 'simulated' modems against a ModemManager running in its own session bus.