widget.setFullScreen(true);
QTest::qWaitForWindowShown(&widget);
+#ifdef Q_OS_MAC
+ QEXPECT_FAIL("", "QTBUG-25310 - Fails on Mac", Continue);
+#endif
QCOMPARE(widget.isFullScreen(), true);
widget.setAspectRatioMode(Qt::IgnoreAspectRatio);
void tst_QVideoWidget::serviceDestroyed()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QtTestVideoObject object(new QtTestWindowControl, new QtTestWidgetControl, 0);
QVideoWidget widget;
void tst_QVideoWidget::objectDestroyed()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QtTestVideoObject *object = new QtTestVideoObject(
new QtTestWindowControl,
new QtTestWidgetControl,
void tst_QVideoWidget::showWidgetControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QtTestVideoObject object(0, new QtTestWidgetControl, 0);
QVideoWidget widget;
object.bind(&widget);
void tst_QVideoWidget::showRendererControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QtTestVideoObject object(0, 0, new QtTestRendererControl);
QVideoWidget widget;
object.bind(&widget);
void tst_QVideoWidget::aspectRatioWidgetControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QtTestVideoObject object(0, new QtTestWidgetControl, 0);
object.testService->widgetControl->setAspectRatioMode(Qt::IgnoreAspectRatio);
void tst_QVideoWidget::aspectRatioRendererControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QtTestVideoObject object(0, 0, new QtTestRendererControl);
QVideoWidget widget;
void tst_QVideoWidget::sizeHintWidgetControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QFETCH(QSize, size);
QtTestVideoObject object(0, new QtTestWidgetControl, 0);
void tst_QVideoWidget::sizeHintRendererControl_data()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QTest::addColumn<QSize>("frameSize");
QTest::addColumn<QRect>("viewport");
QTest::addColumn<QSize>("pixelAspectRatio");
void tst_QVideoWidget::sizeHintRendererControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QFETCH(QSize, frameSize);
QFETCH(QRect, viewport);
QFETCH(QSize, pixelAspectRatio);
QCOMPARE(spy.count(), 4);
widget.showNormal();
QTest::qWaitForWindowShown(&widget);
+#ifdef Q_OS_MAC
+ QEXPECT_FAIL("", "QTBUG-25310 - Fails on Mac", Abort);
+#endif
QCOMPARE(object.testService->windowControl->isFullScreen(), false);
QCOMPARE(widget.isFullScreen(), false);
QCOMPARE(spy.count(), 4);
void tst_QVideoWidget::fullScreenWidgetControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QtTestVideoObject object(0, new QtTestWidgetControl, 0);
QVideoWidget widget;
object.bind(&widget);
void tst_QVideoWidget::fullScreenRendererControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QtTestVideoObject object(0, 0, new QtTestRendererControl);
QVideoWidget widget;
object.bind(&widget);
void tst_QVideoWidget::brightnessWidgetControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QFETCH(int, controlValue);
QFETCH(int, value);
QFETCH(int, expectedValue);
void tst_QVideoWidget::brightnessRendererControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QFETCH(int, value);
QFETCH(int, expectedValue);
void tst_QVideoWidget::contrastWidgetControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QFETCH(int, controlValue);
QFETCH(int, value);
QFETCH(int, expectedValue);
void tst_QVideoWidget::contrastRendererControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QFETCH(int, value);
QFETCH(int, expectedValue);
void tst_QVideoWidget::hueWidgetControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QFETCH(int, controlValue);
QFETCH(int, value);
QFETCH(int, expectedValue);
void tst_QVideoWidget::hueRendererControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QFETCH(int, value);
QFETCH(int, expectedValue);
void tst_QVideoWidget::saturationWidgetControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QFETCH(int, controlValue);
QFETCH(int, value);
QFETCH(int, expectedValue);
void tst_QVideoWidget::saturationRendererControl()
{
+#ifdef Q_OS_MAC
+ QSKIP("QTBUG-26481 - Crashes on Mac");
+#endif
+
QFETCH(int, value);
QFETCH(int, expectedValue);