diff options
Diffstat (limited to 'tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp')
-rw-r--r-- | tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp index 563c88f850..a6377935be 100644 --- a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp +++ b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp @@ -441,11 +441,22 @@ void tst_qmltyperegistrar::consistencyWarnings() QTest::ignoreMessage(QtWarningMsg, message); }; - expectWarning("Warning: tst_qmltyperegistrar.h:: NotQObject is used but cannot be found."); - expectWarning("Warning: tst_qmltyperegistrar.h:: NotQObject is used but cannot be found."); + expectWarning("Warning: tst_qmltyperegistrar.h:: " + "NotQObject is used as base type but cannot be found."); + expectWarning("Warning: tst_qmltyperegistrar.h:: NotQObject is used as base type " + "but cannot be found."); expectWarning("Warning: tst_qmltyperegistrar.h:: Invisible is declared as foreign type, " "but cannot be found."); - expectWarning("Warning: tst_qmltyperegistrar.h:: NotQByteArray is used but cannot be found."); + expectWarning("Warning: tst_qmltyperegistrar.h:: NotQByteArray is used as sequence value type " + "but cannot be found."); + expectWarning("Warning: tst_qmltyperegistrar.h:: NotAPropertyType is used as property type " + "but cannot be found."); + expectWarning("Warning: tst_qmltyperegistrar.h:: NotAnArgumentType is used as argument type " + "but cannot be found."); + expectWarning("Warning: tst_qmltyperegistrar.h:: NotAReturnType is used as return type " + "but cannot be found."); + expectWarning("Warning: tst_qmltyperegistrar.h:: NotAnUnderlyingType is used as enum type " + "but cannot be found."); processor.postProcessForeignTypes(); |