Commit dc0b9a99 authored by Pierre Rossi's avatar Pierre Rossi Committed by Andras Becsi
Browse files

Fix publicapi test failures


The API still needs to be updated to take out the EXPECT_FAIL

Change-Id: Ib10019bccb1d05e61ddeaf91e645f4899284487f
Reviewed-by: default avatarMichael Brüning <michael.bruning@theqtcompany.com>
Showing with 6 additions and 0 deletions
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
#include <private/qquickwebenginenewviewrequest_p.h> #include <private/qquickwebenginenewviewrequest_p.h>
#include <private/qquickwebengineprofile_p.h> #include <private/qquickwebengineprofile_p.h>
#include <private/qquickwebenginescript_p.h> #include <private/qquickwebenginescript_p.h>
#include <private/qquickwebenginesettings_p.h>
class tst_publicapi : public QObject { class tst_publicapi : public QObject {
Q_OBJECT Q_OBJECT
...@@ -73,6 +74,7 @@ static QList<const QMetaObject *> typesToCheck = QList<const QMetaObject *>() ...@@ -73,6 +74,7 @@ static QList<const QMetaObject *> typesToCheck = QList<const QMetaObject *>()
<< &QQuickWebEngineNewViewRequest::staticMetaObject << &QQuickWebEngineNewViewRequest::staticMetaObject
<< &QQuickWebEngineProfile::staticMetaObject << &QQuickWebEngineProfile::staticMetaObject
<< &QQuickWebEngineScript::staticMetaObject << &QQuickWebEngineScript::staticMetaObject
<< &QQuickWebEngineSettings::staticMetaObject
<< &QQuickWebEngineFullScreenRequest::staticMetaObject << &QQuickWebEngineFullScreenRequest::staticMetaObject
; ;
...@@ -81,6 +83,10 @@ static QList<const char *> knownEnumNames = QList<const char *>(); ...@@ -81,6 +83,10 @@ static QList<const char *> knownEnumNames = QList<const char *>();
static QStringList hardcodedTypes = QStringList() static QStringList hardcodedTypes = QStringList()
<< "QJSValue" << "QJSValue"
<< "QQmlListProperty<QQuickWebEngineScript>" << "QQmlListProperty<QQuickWebEngineScript>"
<< "QQmlWebChannel*"
// Ignore the testSupport types without making a fuss.
<< "QQuickWebEngineTestSupport*"
<< "QQuickWebEngineErrorPage*"
; ;
static QStringList expectedAPI = QStringList() static QStringList expectedAPI = QStringList()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment