Matthias Clasen
12152788f9
tests: Add a singleton construct-property test
...
Beef up the singleton testcase to reproduce a
freeze count underflow when setting properties
at construction time, with a custom constructor.
Helps: #2666
2022-06-10 14:09:07 +01:00
Philip Withnall
9af0444b92
tests: Simplify singleton test code using G_DECLARE_FINAL_TYPE
...
This doesn’t functionally change the test, just drops some boilerplate.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-06-10 14:09:07 +01:00
Philip Withnall
7a4560e052
tests: Port GObject singleton test to GTest framework
...
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-06-10 14:09:07 +01:00
Emmanuel Fleury
4e02be948b
Moving gobject tests from tests/gobjects to gobjects/tests
...
The test files concerned are:
- tests/gobjects/accumulator.c
- tests/gobjects/defaultiface.c
- tests/gobjects/deftype.c
- tests/gobjects/dynamictype.c
- tests/gobjects/override.c
- tests/gobjects/references.c
- tests/gobjects/signals.c
- tests/gobjects/singleton.c
Related to issue #1434
2022-05-26 19:13:19 +01:00