gnome-shell/tests/unit
Florian Müllner cf29ec2f22 signalTracker: Add TransientSignalHolder class
There are cases where we want to connect to a number of signals
for the lifetime of an object, but also other signals for a
limited period (say: between show and hide).

It is currently not possible to use disconnectObject() for the
latter, because it will disconnect all signals.

To address this use case, add a small class that can be used as
a transient signal holder, while still benefiting from autocleanup
by proxying the real owner.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2221>
2022-03-05 00:12:27 +00:00
..
highlighter.js tests: Add unit test for highlighter 2021-12-22 16:47:18 +00:00
insertSorted.js Util: fix binary search exit condition 2011-12-20 22:44:03 +01:00
jsParse.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00
markup.js tests: Work around import dependency loop 2019-02-07 02:46:51 +01:00
params.js tests: Add Params.parse() unit tests 2019-07-05 18:28:26 +02:00
signalTracker.js signalTracker: Add TransientSignalHolder class 2022-03-05 00:12:27 +00:00
url.js util: Handle trailing LTR/RTL markers in URLs 2019-09-16 20:41:47 +00:00
versionCompare.js util: Add a GNOME version comparison function 2021-02-05 13:41:26 +00:00