Sergio Martins
|
97f26743e5
|
tests: Decouple tst_multisplitter from QWidget more
It now asks the platform to create a test view instead of
using one that inherits from QWidget.
|
2022-05-08 19:33:04 +01:00 |
|
Sergio Martins
|
543427255f
|
tests: Make the maxSize test compabitle with 1.0
we didn't call QWidget::setMaximumSize(), we just set a hint
|
2022-05-08 19:17:53 +01:00 |
|
Sergio Martins
|
0997d48d60
|
tests: Test View: Also set max size
|
2022-05-08 17:10:56 +01:00 |
|
Sergio Martins
|
33d7d730f4
|
tests: Add a test for View::minSize()
|
2022-05-02 17:21:31 +01:00 |
|
Sergio Martins
|
5607fab8db
|
tests: Add test for View::sizeHint
|
2022-05-02 10:29:46 +01:00 |
|
Sergio Martins
|
c2ae9abfb5
|
tests_createView() now receives a struct
As we'll be passing more parameters
|
2022-05-02 10:20:19 +01:00 |
|
Sergio Martins
|
8dd8eabf1a
|
tests: tests_createView now can create visible views too
|
2022-05-01 22:21:08 +01:00 |
|
Sergio Martins
|
738a78d12b
|
qtquick: Implement View::windowHandle() and Window_qtquick::rootView()
For QtWidgets it now calls create() in the ctor so we have a window
during tests.
|
2022-05-01 14:38:20 +01:00 |
|
Sergio Martins
|
712751e89b
|
tests: Make tst_view test View, not ViewWrapper
|
2022-04-30 11:08:54 +01:00 |
|
Sergio Martins
|
b6d87d10c4
|
Add a TestHelpers_ file for each platform
So we don't have too much ifdefed stuff that's only for tests in
the main files.
|
2022-04-30 10:31:31 +01:00 |
|