| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The test needs fixing, and the release needs to happen again.
|
|
|
|
| |
It isn't needed anymore since libhandy 0.90.0.
|
|
|
|
| |
This reverts commit db80e32730fd18f0039ad3dd68536b7160f5d20d.
|
|
|
|
|
| |
This needs to be investigated, but the release needs to
happen.
|
| |
|
|
|
|
|
|
|
| |
Its title property got dropped as it was coliding with the one it
inherits from HdyPreferencesRow, so use that one instead.
See https://gitlab.gnome.org/GNOME/libhandy/-/issues/258
|
| |
|
|
|
|
| |
This is needed as the labels of HdyActionRow are private.
|
|
|
|
|
| |
It must now be called after initializing GTK, and doesn't take
parameters.
|
| |
|
|
|
|
|
| |
The GTest python class tries to split tests into separte runs. However,
that can fail, show why.
|
|
|
|
|
| |
The font glyphs already put those characters in the upper right of where
the character should be.
|
|
|
|
|
|
| |
The part where this (currently disabled) test is added, is currently
hidden behind #if 0, so hide the test function as well. Otherwise the
compiler complains that the function isn't used.
|
|
|
|
| |
This allows the window to reach narrower sizes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes ninja decides to compile tests/interactive-panels/main.c,
which requires shell/resources.h, before shell/resources.h is generated.
The fix is to use 'sources' argument of declare_dependency to properly
declare the dependency on generated headers.
A fix for tests/datetime and panels/datetime is also included in the
commit to fix a similar problem.
Closes https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/472
|
| |
|
|
|
|
|
|
|
| |
So we can control where the widget should be added to. The
main window only supports left and right positions.
https://gitlab.gnome.org/GNOME/gnome-control-center/issues/528
|
| |
|
|
|
|
|
| |
Two tests for sidebar widget were added: one at the main
sidebar view, the other inside the Details category.
|
| |
|
|
|
|
|
|
| |
This is solely used for filtering by unittest, however, if it is
missing, then unittest will fail. So generate a reasonable name (which
is unfortunately not identical to the real name of the attribute).
|
| |
|
|
|
|
|
|
|
| |
The python based tests are working again. Re-enable them so that they
get run by the CI.
This reverts commit 2f44c441fff8e7c1b9d3832c7716aba659aaa9c7.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The purpose of this interactive test is to be able to
prototype new features for CcPanel without having to
adapt existing panels.
Three test panels were added as part of this initial
patch:
* Dynamic panels: panel exercising the ability to
show and hide itself at runtime.
* Header: panel that embeds a header widget.
* Static Initializer: panel that sets a static init
function to run at startup.
|
|
|
|
|
|
|
| |
They're broken on my computer, and Python does a really
terrible job at communicating why. So after 8 hours of
debugging, I decided this is just a lost battle to me
and not important enough.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The timezone information is allocated with `tz_info_from_location` but
never deallocated.
LeakSanitizer complains about this memory leak.
```
Direct leak of 13568 byte(s) in 424 object(s) allocated from:
/build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:95
#1 0x7f63899bab21 in g_malloc0 (/usr/lib/libglib-2.0.so.0+0x51b21)
../tests/datetime/test-timezone-gfx.c:30
#3 0x7f63899dc76a (/usr/lib/libglib-2.0.so.0+0x7376a)
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The directory opened with `g_dir_open` is never closed, so LeakSanitizer
complains about a memory leaks.
```
Direct leak of 8 byte(s) in 1 object(s) allocated from:
/build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:86
#1 0x7f2012908ac9 in g_malloc (/usr/lib/libglib-2.0.so.0+0x51ac9)
#2 0x7f2012922aac in g_memdup (/usr/lib/libglib-2.0.so.0+0x6baac)
#3 0x7f20128ed2d5 (/usr/lib/libglib-2.0.so.0+0x362d5)
#4 0x7f20128ed338 in g_dir_open (/usr/lib/libglib-2.0.so.0+0x36338)
../tests/datetime/test-endianess.c:29
#6 0x7f201292a76a (/usr/lib/libglib-2.0.so.0+0x7376a)
#7 0x7f201292a69a (/usr/lib/libglib-2.0.so.0+0x7369a)
(/usr/lib/libglib-2.0.so.0+0x73951)
#9 0x7f201292a972 in g_test_run (/usr/lib/libglib-2.0.so.0+0x73972)
#10 0x560ad630cbff in main ../tests/datetime/test-endianess.c:66
```
|
|
|
|
|
|
| |
Python isn't always installed in /usr/bin. If we hard-code the path,
these tests will fail on *BSD because they install python in different
prefixes such as /usr/local and /usr/pkg.
|
|
|
|
| |
This is only needed for non AMD64.
|
| |
|
|
|
|
|
| |
This adds tests for the VPN section. Note that the tests to check
sorting are disabled currently as sorting is not implemented.
|
|
|
|
|
|
| |
Also wait for the connection-added signal instead of only waiting for the
property notification for the connections. While not neccessary, this is
more correct.
|
|
|
|
|
| |
In preparation for testing VPN sorting. Looks for a parent of a specific
type.
|
|
|
|
|
| |
This simply ensure the section does not randomly show up after making
unrelated changes.
|
|
|
|
| |
Just a small code cleanup in the network panel test code.
|
|
|
|
|
| |
Having a delete_cb to handle connection removal is useful for other
tests. Add the function in preparation for VPN testing.
|
|
|
|
|
| |
The add_cb can be useful in other tests. Return the remote connection in
the info struct to allow its use in other situations.
|
|
|
|
|
|
|
|
| |
Doing so means we handle the same events as the panel. This probably
makes no difference, but this way it is guaranteed we are not getting
weird inconsistencies during testing.
Also fixes a NMClient memory leak in the process.
|
|
|
|
|
| |
This adds support for waiting on an NMConnection object and also allows
waiting for both signals and properties.
|
|
|
|
| |
This is in preparation for adding VPN related tests.
|
|
|
|
|
|
| |
If there are no connections or devices then we should not be showing
e.g. the Bluetooth list. Add a simple check that this is handled
correctly.
|
|
|
|
|
|
| |
This has the side effect of showing UI elements that should not be
visible at startup. Just add the correct gtk_widget_show calls to show
all relevant widgets.
|
|
|
|
|
| |
Otherwise the test might run on a develpers wayland session rather than
using the created X11 server.
|
| |
|
|
|
|
|
| |
It is not possible to debug if the developer knows nothing about
the CI running environment.
|
|
|
|
|
| |
NetworkManager is only available on Linux, so we cannot build or run the
network test on non-Linux systems.
|
|
|
|
| |
That way, gtk_init() cannot fail.
|
| |
|
| |
|