Remove tst_QWidget::render_task252837()
The test function renders a pixmap into a widget that is never shown. It checks for a crash, without failing or passing. tst_QWidget::render_graphicsEffect() tests the same code path. Remove the unneeded test function. Pick-to: 6.8 Change-Id: I1b64e0466c5a133deec28d0f74ef5acd9858e1ea Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
This commit is contained in:
parent
11b70b66de
commit
dfdcb90ffd
@ -328,7 +328,6 @@ private slots:
|
||||
void render_systemClip2();
|
||||
void render_systemClip3_data();
|
||||
void render_systemClip3();
|
||||
void render_task252837();
|
||||
void render_worldTransform();
|
||||
|
||||
void setContentsMargins();
|
||||
@ -8830,17 +8829,6 @@ void tst_QWidget::render_systemClip3()
|
||||
}
|
||||
}
|
||||
|
||||
void tst_QWidget::render_task252837()
|
||||
{
|
||||
QWidget widget;
|
||||
widget.resize(200, 200);
|
||||
|
||||
QPixmap pixmap(widget.size());
|
||||
QPainter painter(&pixmap);
|
||||
// Please do not crash.
|
||||
widget.render(&painter);
|
||||
}
|
||||
|
||||
void tst_QWidget::render_worldTransform()
|
||||
{
|
||||
class MyWidget : public QWidget
|
||||
|
Loading…
x
Reference in New Issue
Block a user