diff options
Diffstat (limited to 'tests/auto/quick/qquickrectangle/tst_qquickrectangle.cpp')
-rw-r--r-- | tests/auto/quick/qquickrectangle/tst_qquickrectangle.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickrectangle/tst_qquickrectangle.cpp b/tests/auto/quick/qquickrectangle/tst_qquickrectangle.cpp index 8a24636647..a7e82e272f 100644 --- a/tests/auto/quick/qquickrectangle/tst_qquickrectangle.cpp +++ b/tests/auto/quick/qquickrectangle/tst_qquickrectangle.cpp @@ -35,6 +35,7 @@ #include <QtQml/qqmlengine.h> #include <QtQml/qqmlcomponent.h> +#include <QtQuick/qquickview.h> #include <private/qquickrectangle_p.h> #include "../../shared/util.h" @@ -47,6 +48,7 @@ public: private slots: void gradient(); + void gradient_border(); void antialiasing(); private: @@ -88,6 +90,15 @@ void tst_qquickrectangle::gradient() delete rect; } +void tst_qquickrectangle::gradient_border() +{ + QQuickView view; + view.setSource(testFileUrl("gradient-border.qml")); + view.show(); + + QVERIFY(QTest::qWaitForWindowExposed(&view)); +} + void tst_qquickrectangle::antialiasing() { QQmlComponent component(&engine); |