Sergio Martins
15cb93ed43
Port away from Controller::window() returning a QWidget
...
It now returns a ViewWrapper, which is agnostic to QtWidgets
2022-03-30 19:30:18 +01:00
Sergio Martins
15601fc3c9
Split MainWindow into view/controller
2022-03-30 11:51:31 +01:00
Sergio Martins
c6d95c42a8
Split most widgets into a Controller and a View
...
Controllers don't have any GUI and don't depend on the frontend
technology.
Views are implemented in a specific GUI tech (QtWidgets, QtQuick, etc).
For now only QtWidgets work. There's still a lot to decouple.
This will make it easier to introduce non-Qt backends.
2022-03-24 16:05:37 +00:00
Allen Winter
93e60a743e
update copyright year
2022-01-20 08:05:26 -05:00
Sergio Martins
8dcaaaf853
tests|Qt6: Ignore benign warning coming from QQC material style
...
Needs to be fixed in Qt
2021-11-17 17:00:16 +00:00
Sergio Martins
54233085a4
tests: Add a warning to the blacklist
...
Don't abort on:
"Populating font family aliases took"
2021-07-03 21:51:02 +01:00
Allen Winter
a2f4c972a6
update copyright year
2021-01-02 09:27:50 -05:00
Sergio Martins
10f47a701f
Fix -Wclazy-copyable-polymorphic
2020-12-22 15:38:50 +00:00
Allen Winter
d39ce8f66e
tests/Testing.cpp - include <QTest>, not <QtTest>
2020-12-16 17:10:07 -05:00
Sergio Martins
40fa4e98f8
qtquick: Fix tests
...
Mouse tracking isn't implemented, so warns
2020-11-27 11:06:47 +00:00
Sergio Martins
b77430e574
Remove two more unneeded QApplication includes
2020-11-26 19:35:46 +00:00
Sergio Martins
52bf449366
qtquick: Fixes for focusing
...
Fixes tst_focus too, and maybe a few other tests
2020-11-18 14:01:55 +00:00
Sergio Martins
619ca74051
Use QFAIL instead of qFatal
...
more elegant, and test can continue, so we see the whole result
2020-11-17 18:15:03 +00:00
Sergio Martins
3369816d31
Merge branch '1.1' into master
2020-10-14 14:59:44 +01:00
Sergio Martins
819725351a
Fix -Wweak-vtables warnings
2020-10-14 14:55:28 +01:00
Sergio Martins
d50fcb80c5
qtquick: Fixed all the layouting spam/warnings
...
Don't layout a view with 0x0.
2020-10-12 17:07:30 +01:00
Sergio Martins
39aefd312b
qtquick|tests: Don't abort tests due to binding loop warnings
...
Don't want to care about it right now
2020-10-11 11:53:55 +01:00
Sergio Martins
2ea0d54e6c
quick: Fix floating windows not having the correct window flags
...
Add a unit-test too.
2020-10-03 23:30:13 +01:00
Sergio Martins
59a9ab6642
tests: Remove org.kde.desktop from warning blacklist
...
It's now solved by not using the kde QQC2 style. So no need to polute
the warning list
2020-10-03 23:07:49 +01:00
Sergio Martins
df07133c9d
tests: Silence some QML warnings from KDE theme plugin Kirigami
...
We don't want tests to abort because of that
2020-10-03 22:48:28 +01:00
Sergio Martins
961600fe74
qtquick: fix build
...
MainWindow.h is specific to QtWidgets
2020-08-22 19:19:59 +01:00
Sergio Martins
fd56ab7932
qml: Introduce tst_common
...
Will be moving tests that are common to both QtWidgets and QtQuick
2020-08-02 22:16:03 +01:00
Allen Winter
b4f49895c2
clarify: licensing is GPL2 or GPL3 or commercial licensed
...
follow the REUSE specs
2020-07-24 18:16:13 -04:00
Sergio Martins
4788f41593
tests: don't fail when window is out of bounds on mac
...
Should be benign. My screen it too small.
2020-07-03 19:36:39 +01:00
Allen Winter
df692686e7
various - update copyright year
2020-01-07 11:36:56 -05:00
Sergio Martins
4b0b11acee
tests: Use QElapsedTimer instead of QTime::start()
...
The later is deprecated
2020-01-04 18:11:34 +00:00
Sergio Martins
8ea7aee657
Don't qFatal on warnings comming from the tests
2019-10-13 18:52:05 +01:00
Sergio Martins
38619e734f
fuzzer: dump to json when it fails
2019-10-11 14:18:20 +01:00
Sergio Martins
e432c0d409
fuzzer: Move fuzzer into a fuzzer/ directory
2019-10-11 12:45:34 +01:00
Sergio Martins
a2e610ee4b
tests: share waitForEvent() and waitForDeleted()
2019-10-11 11:38:21 +01:00
Sergio Martins
5fdf551907
fuzzer: Refactor operations a bit
2019-10-11 11:24:43 +01:00
Sergio Martins
83625bdda3
tests: Move the qDebug filter to Testing.h
...
So it can be shared with the fuzzer
2019-10-11 08:46:51 +01:00
Sergio Martins
d01c8ac646
tests: Initial implementation of the fuzzer
...
Also the Testing now has some sort of framework for so anyone can
write tests easier in the future. Still wip.
2019-10-09 18:35:04 +01:00