summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* New upstream version 1.3.0Simon McVittie2022-09-06
|
* New upstream version 1.2.18+git20220905Simon McVittie2022-09-05
|\
| * Add a Meson build systemSimon McVittie2022-09-05
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Reinstate test coverage for pip install dbus-pythonSimon McVittie2022-09-05
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Add licensing information in REUSE formatSimon McVittie2022-09-05
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * add set_allow_interactive_authorization / ↵Ricter Zheng2022-04-27
| | | | | | | | | | | | get_allow_interactive_authorization for message add unit tests
| * Remove support for Python 2Simon McVittie2021-09-15
| | | | | | | | | | | | | | | | Python 2 reached EOL on 2020-01-01, and the latest version of AX_PYTHON_DEVEL breaks the build with Python 2. This seems as good a time as any to drop compatibility. Signed-off-by: Simon McVittie <smcv@collabora.com>
| * tests: Exercise negative variant_level for UnixFd typeSimon McVittie2021-07-19
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * tests: Stop calling GLib.threads_initSimon McVittie2020-11-23
| | | | | | | | | | | | It is deprecated and no longer necessary. Signed-off-by: Simon McVittie <smcv@collabora.com>
| * tests: Use gi.repository.GLib to avoid deprecation warningsSimon McVittie2020-11-23
| | | | | | | | | | | | | | Back in the days of PyGTK, there was only the gobject module, containing bindings for both GLib and GObject. This is no longer the case. Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Add support for testing without tappySimon McVittie2020-01-11
| | | | | | | | | | | | | | The latest version of tappy dropped Python 2 support, but I want to be able to continue to run dbus-python tests on Python 2 for now. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | New upstream version 1.2.18Simon McVittie2021-07-20
| |
* | New upstream version 1.2.16Simon McVittie2020-01-14
| |
* | New upstream version 1.2.14Simon McVittie2019-11-25
|\|
| * test: Expand test coverage for int(), str(), unicode() of our typesSimon McVittie2019-11-21
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | New upstream version 1.2.10Simon McVittie2019-09-02
|\|
| * Fix NO_REPLY test for Python 3Simon McVittie2019-09-02
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Configure test bus to allow unrequested repliesSimon McVittie2019-09-02
| | | | | | | | | | | | | | This lets us catch them in the test code. Fixes: e9f658d9d57b97395545c5ed2eaf9a85436f135d Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Add a test for NO_REPLY method callsSimon McVittie2019-09-02
| | | | | | | | | | | | See https://gitlab.freedesktop.org/dbus/dbus-python/issues/26 Signed-off-by: Simon McVittie <smcv@collabora.com>
| * test-p2p: Add test coverage for sending and receiving fdsSimon McVittie2019-09-02
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Add basic test coverage for UnixFdSimon McVittie2019-09-02
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Silence -Wcast-function-type with gcc 8Simon McVittie2019-07-23
| | | | | | | | | | | | | | | | | | Casting via void (*)(void) is the documented way to suppress this warning. This is required because the CPython API treats function pointers as generic, with flags to indicate different calling conventions. Signed-off-by: Simon McVittie <smcv@collabora.com>
| * with-session-bus.sh: Remove unused scriptSimon McVittie2019-07-15
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Add clearer licensing information in SPDX formatSimon McVittie2019-07-15
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Remove remaining support for Ubuntu 14.04 'trusty'Simon McVittie2019-07-15
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * cross-test-server: Avoid a race condition in the clientSimon McVittie2018-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a race condition here between these chains of events, which as far as I can tell has existed for at least 10 years: * server receives Tests.Trigger() and schedules SignalTests.Triggered * server returns to main loop * server emits SignalTests.Triggered * client receives SignalTests.Triggered and * server receives Tests.Trigger() and replies with success * client receives success and emits SignalTests.Trigger * server receives SignalTests.Trigger and calls CallbackTests.Response() * client receives CallbackTests.Response() and calls Tests.Exit() * server receives Tests.Exit() and replies with success * client quits its main loop If we don't reply to Tests.Trigger() until after the SignalTests.Triggered signal has been sent, because the client called Tests.Trigger() asynchronously, messages are not re-ordered and the reply arrives after the signal; so the whole chain of events leading up to "client receives SignalTests.Triggered" happens before "client receives success and emits SignalTests.Trigger" and there is no race condition. Bug-Debian: https://bugs.debian.org/898158
| * cross-test-client: Wait until default method timeout for Exit()Simon McVittie2018-05-09
| | | | | | | | | | | | | | | | On a slow machine under load, communication might legitimately take time. After the default method-call timeout (25 seconds) we'll go into quit_error_handler() and exit anyway. Bug-Debian: https://bugs.debian.org/898158
* | New upstream version 1.2.6Simon McVittie2018-01-29
|\|
| * Avoid using async keywordSimon McVittie2018-01-29
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Revert "test/import-repeatedly: skip on Python 3.6 for now"Simon McVittie2017-11-01
| | | | | | | | | | | | | | | | Python 3.6.0a4 is meant to have fixed this. This reverts commit 1013581fef91c9be087d6264084cec34c2ca6e9a. Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Drop support for Python 2.6, along with several workaroundsSimon McVittie2016-08-11
| | | | | | | | | | | | It hasn't had security support for about 3 years. Signed-off-by: Simon McVittie <smcv@debian.org>
| * test/import-repeatedly: skip on Python 3.6 for nowSimon McVittie2016-08-11
| | | | | | | | | | | | This is a workaround for <http://bugs.python.org/issue27736>. Signed-off-by: Simon McVittie <smcv@debian.org>
| * import-repeatedly: detect exceptionsSimon McVittie2016-08-11
| | | | | | | | Signed-off-by: Simon McVittie <smcv@debian.org>
| * Use TAP syntax for all directly-run testsSimon McVittie2016-08-11
| | | | | | | | | | | | | | For now this means that skipped tests will be reported as passed. This will be corrected in the next commit. Signed-off-by: Simon McVittie <smcv@debian.org>
| * unicode test: cope with Python 2.6 as provided on travis-ciSimon McVittie2016-03-06
| | | | | | | | | | | | Python 2.6 didn't allow struct.pack(u'...', ...). Signed-off-by: Simon McVittie <smcv@debian.org>
| * run-test: avoid "test: =: unary operator expected"Simon McVittie2016-03-05
| | | | | | | | Signed-off-by: Simon McVittie <smcv@debian.org>
| * Fix Unicode tests on narrow Python buildsSimon McVittie2016-03-05
| | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57140 Signed-off-by: Simon McVittie <smcv@debian.org>
| * Add a regression test for the version numberingSimon McVittie2016-03-05
| | | | | | | | | | | | | | Now that dbus.__version__ and dbus.version exist even in uninstalled builds, we can do this. Signed-off-by: Simon McVittie <smcv@debian.org>
| * Move dbus-python.h to a dbus subdirectorySimon McVittie2016-03-05
| | | | | | | | | | | | | | This means we can consistently #include <dbus/dbus-python.h>, either in-tree or out-of-tree. Signed-off-by: Simon McVittie <smcv@debian.org>
| * Make all test scripts properly executableSimon McVittie2016-02-22
| | | | | | | | Signed-off-by: Simon McVittie <smcv@debian.org>
| * Use gi instead of gobject, everywhere except dbus.gobject_serviceSimon McVittie2016-01-20
| |
| * Replace hard-coded sleep with a wait for the D-Bus name to appearSimon McVittie2016-01-20
| |
| * Use non-recursive make for tests, and make them into installed-testsSimon McVittie2016-01-20
| |
| * Use non-recursive make for everything except testsSimon McVittie2016-01-20
| |
| * Simplify testing by using dbus-run-session and Automake "log compiler"Simon McVittie2015-12-06
| | | | | | | | | | | | | | Fall back to Telepathy's old with-session-bus.sh script if dbus doesn't have dbus-run-session (versions < 1.8). Also run most of the tests individually, instead of under run-test.sh.
| * Use AX_COMPILER_FLAGSSimon McVittie2015-12-06
| |
| * Update build system for Automake 1.13 (parallel test driver)Simon McVittie2015-12-05
| |
* | Imported Upstream version 1.2.4Simon McVittie2016-03-06
| |
* | Imported Upstream version 1.2.2~rc2Simon McVittie2016-02-22
| |
* | Imported Upstream version 1.2.2~rc1Simon McVittie2016-02-22
| |