diff options
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r-- | tests/auto/declarative/declarative.pro | 7 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/bindingLoop.qml (renamed from tests/auto/declarative/qmlbindengine/data/bindingLoop.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/boolPropertiesEvaluateAsBool.1.qml (renamed from tests/auto/declarative/qmlbindengine/data/boolPropertiesEvaluateAsBool.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/boolPropertiesEvaluateAsBool.2.qml (renamed from tests/auto/declarative/qmlbindengine/data/boolPropertiesEvaluateAsBool.2.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/deferredProperties.qml (renamed from tests/auto/declarative/qmlbindengine/data/deferredProperties.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/enums.1.qml (renamed from tests/auto/declarative/qmlbindengine/data/enums.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/extensionObjects.qml (renamed from tests/auto/declarative/qmlbindengine/data/extensionObjects.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/idShortcutInvalidates.1.qml (renamed from tests/auto/declarative/qmlbindengine/data/idShortcutInvalidates.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/idShortcutInvalidates.qml (renamed from tests/auto/declarative/qmlbindengine/data/idShortcutInvalidates.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/methods.1.qml (renamed from tests/auto/declarative/qmlbindengine/data/methods.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/methods.2.qml (renamed from tests/auto/declarative/qmlbindengine/data/methods.2.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/signalAssignment.1.qml (renamed from tests/auto/declarative/qmlbindengine/data/signalAssignment.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/signalAssignment.2.qml (renamed from tests/auto/declarative/qmlbindengine/data/signalAssignment.2.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/valueTypeFunctions.qml (renamed from tests/auto/declarative/qmlbindengine/data/valueTypeFunctions.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/qmlecmascript.pro (renamed from tests/auto/declarative/qmlbindengine/qmlbindengine.pro) | 2 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/testtypes.cpp (renamed from tests/auto/declarative/qmlbindengine/testtypes.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/testtypes.h (renamed from tests/auto/declarative/qmlbindengine/testtypes.h) | 2 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp (renamed from tests/auto/declarative/qmlbindengine/tst_qmlbindengine.cpp) | 42 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/Alias.qml (renamed from tests/auto/declarative/qmlparser/data/Alias.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/MyComponent.qml (renamed from tests/auto/declarative/qmlparser/data/MyComponent.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/MyContainerComponent.qml (renamed from tests/auto/declarative/qmlparser/data/MyContainerComponent.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/alias.1.qml (renamed from tests/auto/declarative/qmlparser/data/alias.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/alias.2.qml (renamed from tests/auto/declarative/qmlparser/data/alias.2.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/alias.3.qml (renamed from tests/auto/declarative/qmlparser/data/alias.3.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/assignBasicTypes.qml (renamed from tests/auto/declarative/qmlparser/data/assignBasicTypes.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/assignLiteralSignalProperty.qml (renamed from tests/auto/declarative/qmlparser/data/assignLiteralSignalProperty.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/assignObjectToSignal.qml (renamed from tests/auto/declarative/qmlparser/data/assignObjectToSignal.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/assignObjectToVariant.qml (renamed from tests/auto/declarative/qmlparser/data/assignObjectToVariant.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/assignQmlComponent.qml (renamed from tests/auto/declarative/qmlparser/data/assignQmlComponent.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/assignSignal.qml (renamed from tests/auto/declarative/qmlparser/data/assignSignal.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/assignTypeExtremes.qml (renamed from tests/auto/declarative/qmlparser/data/assignTypeExtremes.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/attachedProperties.qml (renamed from tests/auto/declarative/qmlparser/data/attachedProperties.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/autoComponentCreation.qml (renamed from tests/auto/declarative/qmlparser/data/autoComponentCreation.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/cppnamespace.qml (renamed from tests/auto/declarative/qmlparser/data/cppnamespace.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/customParserIdNotAllowed.errors.txt (renamed from tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/customParserIdNotAllowed.qml (renamed from tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/customParserTypes.qml (renamed from tests/auto/declarative/qmlparser/data/customParserTypes.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/customVariantTypes.qml (renamed from tests/auto/declarative/qmlparser/data/customVariantTypes.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/duplicateIDs.errors.txt (renamed from tests/auto/declarative/qmlparser/data/duplicateIDs.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/duplicateIDs.qml (renamed from tests/auto/declarative/qmlparser/data/duplicateIDs.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/dynamicObject.1.qml (renamed from tests/auto/declarative/qmlparser/data/dynamicObject.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/dynamicProperties.qml (renamed from tests/auto/declarative/qmlparser/data/dynamicProperties.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/dynamicSignalsAndSlots.qml (renamed from tests/auto/declarative/qmlparser/data/dynamicSignalsAndSlots.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/empty.errors.txt (renamed from tests/auto/declarative/qmlparser/data/empty.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/empty.qml (renamed from tests/auto/declarative/qmlparser/data/empty.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/failingComponent.errors.txt (renamed from tests/auto/declarative/qmlparser/data/failingComponent.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/failingComponentTest.qml (renamed from tests/auto/declarative/qmlparser/data/failingComponentTest.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/fakeDotProperty.errors.txt (renamed from tests/auto/declarative/qmlparser/data/fakeDotProperty.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/fakeDotProperty.qml (renamed from tests/auto/declarative/qmlparser/data/fakeDotProperty.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/finalOverride.errors.txt (renamed from tests/auto/declarative/qmlparser/data/finalOverride.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/finalOverride.qml (renamed from tests/auto/declarative/qmlparser/data/finalOverride.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/idProperty.qml (renamed from tests/auto/declarative/qmlparser/data/idProperty.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/importNamespaceConflict.errors.txt (renamed from tests/auto/declarative/qmlparser/data/importNamespaceConflict.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/importNamespaceConflict.qml (renamed from tests/auto/declarative/qmlparser/data/importNamespaceConflict.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/importVersionMissingBuiltIn.errors.txt (renamed from tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/importVersionMissingBuiltIn.qml (renamed from tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/importVersionMissingInstalled.errors.txt (renamed from tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/importVersionMissingInstalled.qml (renamed from tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/inlineQmlComponents.qml (renamed from tests/auto/declarative/qmlparser/data/inlineQmlComponents.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/interfaceProperty.qml (renamed from tests/auto/declarative/qmlparser/data/interfaceProperty.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/interfaceQList.qml (renamed from tests/auto/declarative/qmlparser/data/interfaceQList.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/interfaceQmlList.qml (renamed from tests/auto/declarative/qmlparser/data/interfaceQmlList.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.2.errors.txt (renamed from tests/auto/declarative/qmlparser/data/invalidID.2.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.2.qml (renamed from tests/auto/declarative/qmlparser/data/invalidID.2.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.3.errors.txt (renamed from tests/auto/declarative/qmlparser/data/invalidID.3.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.3.qml (renamed from tests/auto/declarative/qmlparser/data/invalidID.3.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.4.errors.txt (renamed from tests/auto/declarative/qmlparser/data/invalidID.4.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.4.qml (renamed from tests/auto/declarative/qmlparser/data/invalidID.4.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.5.errors.txt (renamed from tests/auto/declarative/qmlparser/data/invalidID.5.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.5.qml (renamed from tests/auto/declarative/qmlparser/data/invalidID.5.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.6.errors.txt (renamed from tests/auto/declarative/qmlparser/data/invalidID.6.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.6.qml (renamed from tests/auto/declarative/qmlparser/data/invalidID.6.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.errors.txt (renamed from tests/auto/declarative/qmlparser/data/invalidID.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/invalidID.qml (renamed from tests/auto/declarative/qmlparser/data/invalidID.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/lib/com/nokia/installedtest/InstalledTest.qml (renamed from tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/lib/com/nokia/installedtest/InstalledTest2.qml (renamed from tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest2.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/lib/com/nokia/installedtest/qmldir (renamed from tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/qmldir) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/listAssignment.1.errors.txt (renamed from tests/auto/declarative/qmlparser/data/listAssignment.1.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/listAssignment.1.qml (renamed from tests/auto/declarative/qmlparser/data/listAssignment.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/listAssignment.2.errors.txt (renamed from tests/auto/declarative/qmlparser/data/listAssignment.2.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/listAssignment.2.qml (renamed from tests/auto/declarative/qmlparser/data/listAssignment.2.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/listAssignment.3.errors.txt (renamed from tests/auto/declarative/qmlparser/data/listAssignment.3.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/listAssignment.3.qml (renamed from tests/auto/declarative/qmlparser/data/listAssignment.3.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/listItemDeleteSelf.qml (renamed from tests/auto/declarative/qmlparser/data/listItemDeleteSelf.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/missingObject.errors.txt (renamed from tests/auto/declarative/qmlparser/data/missingObject.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/missingObject.qml (renamed from tests/auto/declarative/qmlparser/data/missingObject.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/missingSignal.errors.txt (renamed from tests/auto/declarative/qmlparser/data/missingSignal.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/missingSignal.qml (renamed from tests/auto/declarative/qmlparser/data/missingSignal.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.1.errors.txt (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.1.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.1.qml (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.2.errors.txt (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.2.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.2.qml (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.2.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.3.errors.txt (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.3.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.3.qml (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.3.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.4.errors.txt (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.4.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.4.qml (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.4.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.5.errors.txt (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.5.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.5.qml (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.5.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.6.errors.txt (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.6.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nonexistantProperty.6.qml (renamed from tests/auto/declarative/qmlparser/data/nonexistantProperty.6.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nullDotProperty.errors.txt (renamed from tests/auto/declarative/qmlparser/data/nullDotProperty.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/nullDotProperty.qml (renamed from tests/auto/declarative/qmlparser/data/nullDotProperty.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/propertyValueSource.qml (renamed from tests/auto/declarative/qmlparser/data/propertyValueSource.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/readOnly.1.errors.txt (renamed from tests/auto/declarative/qmlparser/data/readOnly.1.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/readOnly.1.qml (renamed from tests/auto/declarative/qmlparser/data/readOnly.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/readOnly.2.errors.txt (renamed from tests/auto/declarative/qmlparser/data/readOnly.2.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/readOnly.2.qml (renamed from tests/auto/declarative/qmlparser/data/readOnly.2.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/rootAsQmlComponent.qml (renamed from tests/auto/declarative/qmlparser/data/rootAsQmlComponent.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/simpleBindings.qml (renamed from tests/auto/declarative/qmlparser/data/simpleBindings.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/simpleContainer.qml (renamed from tests/auto/declarative/qmlparser/data/simpleContainer.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/simpleObject.qml (renamed from tests/auto/declarative/qmlparser/data/simpleObject.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/subdir/Test.qml (renamed from tests/auto/declarative/qmlparser/data/subdir/Test.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/unregisteredObject.errors.txt (renamed from tests/auto/declarative/qmlparser/data/unregisteredObject.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/unregisteredObject.qml (renamed from tests/auto/declarative/qmlparser/data/unregisteredObject.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/unsupportedProperty.errors.txt (renamed from tests/auto/declarative/qmlparser/data/unsupportedProperty.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/unsupportedProperty.qml (renamed from tests/auto/declarative/qmlparser/data/unsupportedProperty.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/valueTypes.qml (renamed from tests/auto/declarative/qmlparser/data/valueTypes.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.1.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.1.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.1.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.1.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.10.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.10.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.10.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.10.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.11.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.11.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.11.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.11.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.12.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.12.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.12.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.12.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.13.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.13.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.13.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.13.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.14.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.14.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.14.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.14.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.2.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.2.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.2.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.2.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.3.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.3.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.3.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.3.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.4.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.4.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.4.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.4.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.5.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.5.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.5.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.5.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.6.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.6.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.6.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.6.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.7.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.7.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.7.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.7.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.8.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.8.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.8.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.8.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.9.errors.txt (renamed from tests/auto/declarative/qmlparser/data/wrongType.9.errors.txt) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/data/wrongType.9.qml (renamed from tests/auto/declarative/qmlparser/data/wrongType.9.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/qmllanguage.pro (renamed from tests/auto/declarative/qmlparser/qmlparser.pro) | 4 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/testtypes.cpp (renamed from tests/auto/declarative/qmlparser/testtypes.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/testtypes.h (renamed from tests/auto/declarative/qmlparser/testtypes.h) | 2 | ||||
-rw-r--r-- | tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp (renamed from tests/auto/declarative/qmlparser/tst_qmlparser.cpp) | 92 |
149 files changed, 81 insertions, 70 deletions
diff --git a/tests/auto/declarative/declarative.pro b/tests/auto/declarative/declarative.pro index 14d8c24..4724278 100644 --- a/tests/auto/declarative/declarative.pro +++ b/tests/auto/declarative/declarative.pro @@ -9,13 +9,12 @@ SUBDIRS += datetimeformatter \ qfxtextedit \ simplecanvasitem \ repeater \ - qmlparser \ - qmlbindengine \ + qmllanguage \ + qmlecmascript \ qmlmetaproperty \ qmllist \ qmllistaccessor \ - visual\ - qmlengine + visual # Tests which should run in Pulse PULSE_TESTS = $$SUBDIRS diff --git a/tests/auto/declarative/qmlbindengine/data/bindingLoop.qml b/tests/auto/declarative/qmlecmascript/data/bindingLoop.qml index 8b22dd1..8b22dd1 100644 --- a/tests/auto/declarative/qmlbindengine/data/bindingLoop.qml +++ b/tests/auto/declarative/qmlecmascript/data/bindingLoop.qml diff --git a/tests/auto/declarative/qmlbindengine/data/boolPropertiesEvaluateAsBool.1.qml b/tests/auto/declarative/qmlecmascript/data/boolPropertiesEvaluateAsBool.1.qml index 3147f63..3147f63 100644 --- a/tests/auto/declarative/qmlbindengine/data/boolPropertiesEvaluateAsBool.1.qml +++ b/tests/auto/declarative/qmlecmascript/data/boolPropertiesEvaluateAsBool.1.qml diff --git a/tests/auto/declarative/qmlbindengine/data/boolPropertiesEvaluateAsBool.2.qml b/tests/auto/declarative/qmlecmascript/data/boolPropertiesEvaluateAsBool.2.qml index c89bb49..c89bb49 100644 --- a/tests/auto/declarative/qmlbindengine/data/boolPropertiesEvaluateAsBool.2.qml +++ b/tests/auto/declarative/qmlecmascript/data/boolPropertiesEvaluateAsBool.2.qml diff --git a/tests/auto/declarative/qmlbindengine/data/deferredProperties.qml b/tests/auto/declarative/qmlecmascript/data/deferredProperties.qml index 9dabafe..9dabafe 100644 --- a/tests/auto/declarative/qmlbindengine/data/deferredProperties.qml +++ b/tests/auto/declarative/qmlecmascript/data/deferredProperties.qml diff --git a/tests/auto/declarative/qmlbindengine/data/enums.1.qml b/tests/auto/declarative/qmlecmascript/data/enums.1.qml index 6351823..6351823 100644 --- a/tests/auto/declarative/qmlbindengine/data/enums.1.qml +++ b/tests/auto/declarative/qmlecmascript/data/enums.1.qml diff --git a/tests/auto/declarative/qmlbindengine/data/extensionObjects.qml b/tests/auto/declarative/qmlecmascript/data/extensionObjects.qml index a902312..a902312 100644 --- a/tests/auto/declarative/qmlbindengine/data/extensionObjects.qml +++ b/tests/auto/declarative/qmlecmascript/data/extensionObjects.qml diff --git a/tests/auto/declarative/qmlbindengine/data/idShortcutInvalidates.1.qml b/tests/auto/declarative/qmlecmascript/data/idShortcutInvalidates.1.qml index ccb3a22..ccb3a22 100644 --- a/tests/auto/declarative/qmlbindengine/data/idShortcutInvalidates.1.qml +++ b/tests/auto/declarative/qmlecmascript/data/idShortcutInvalidates.1.qml diff --git a/tests/auto/declarative/qmlbindengine/data/idShortcutInvalidates.qml b/tests/auto/declarative/qmlecmascript/data/idShortcutInvalidates.qml index 6c1fca6..6c1fca6 100644 --- a/tests/auto/declarative/qmlbindengine/data/idShortcutInvalidates.qml +++ b/tests/auto/declarative/qmlecmascript/data/idShortcutInvalidates.qml diff --git a/tests/auto/declarative/qmlbindengine/data/methods.1.qml b/tests/auto/declarative/qmlecmascript/data/methods.1.qml index 8ba300f..8ba300f 100644 --- a/tests/auto/declarative/qmlbindengine/data/methods.1.qml +++ b/tests/auto/declarative/qmlecmascript/data/methods.1.qml diff --git a/tests/auto/declarative/qmlbindengine/data/methods.2.qml b/tests/auto/declarative/qmlecmascript/data/methods.2.qml index 70911f7..70911f7 100644 --- a/tests/auto/declarative/qmlbindengine/data/methods.2.qml +++ b/tests/auto/declarative/qmlecmascript/data/methods.2.qml diff --git a/tests/auto/declarative/qmlbindengine/data/signalAssignment.1.qml b/tests/auto/declarative/qmlecmascript/data/signalAssignment.1.qml index fbd0914..fbd0914 100644 --- a/tests/auto/declarative/qmlbindengine/data/signalAssignment.1.qml +++ b/tests/auto/declarative/qmlecmascript/data/signalAssignment.1.qml diff --git a/tests/auto/declarative/qmlbindengine/data/signalAssignment.2.qml b/tests/auto/declarative/qmlecmascript/data/signalAssignment.2.qml index 8addcb9..8addcb9 100644 --- a/tests/auto/declarative/qmlbindengine/data/signalAssignment.2.qml +++ b/tests/auto/declarative/qmlecmascript/data/signalAssignment.2.qml diff --git a/tests/auto/declarative/qmlbindengine/data/valueTypeFunctions.qml b/tests/auto/declarative/qmlecmascript/data/valueTypeFunctions.qml index 33b4a68..33b4a68 100644 --- a/tests/auto/declarative/qmlbindengine/data/valueTypeFunctions.qml +++ b/tests/auto/declarative/qmlecmascript/data/valueTypeFunctions.qml diff --git a/tests/auto/declarative/qmlbindengine/qmlbindengine.pro b/tests/auto/declarative/qmlecmascript/qmlecmascript.pro index 4a38ac9..ff4d20f 100644 --- a/tests/auto/declarative/qmlbindengine/qmlbindengine.pro +++ b/tests/auto/declarative/qmlecmascript/qmlecmascript.pro @@ -1,7 +1,7 @@ load(qttest_p4) contains(QT_CONFIG,declarative): QT += declarative macx:CONFIG -= app_bundle -SOURCES += tst_qmlbindengine.cpp \ +SOURCES += tst_qmlecmascript.cpp \ testtypes.cpp HEADERS += testtypes.h diff --git a/tests/auto/declarative/qmlbindengine/testtypes.cpp b/tests/auto/declarative/qmlecmascript/testtypes.cpp index 22e3071..22e3071 100644 --- a/tests/auto/declarative/qmlbindengine/testtypes.cpp +++ b/tests/auto/declarative/qmlecmascript/testtypes.cpp diff --git a/tests/auto/declarative/qmlbindengine/testtypes.h b/tests/auto/declarative/qmlecmascript/testtypes.h index f0302aa..ffc8fec 100644 --- a/tests/auto/declarative/qmlbindengine/testtypes.h +++ b/tests/auto/declarative/qmlecmascript/testtypes.h @@ -73,7 +73,7 @@ public slots: void setString(const QString &s) { m_string = s; } private: - friend class tst_qmlbindengine; + friend class tst_qmlecmascript; bool m_methodCalled; bool m_methodIntCalled; diff --git a/tests/auto/declarative/qmlbindengine/tst_qmlbindengine.cpp b/tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp index 612220a..40e4fff 100644 --- a/tests/auto/declarative/qmlbindengine/tst_qmlbindengine.cpp +++ b/tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp @@ -8,6 +8,12 @@ #include <QtCore/qdir.h> #include "testtypes.h" +/* +This test covers evaluation of ECMAScript expressions and bindings from within +QML. This does not include static QML language issues. + +Static QML language issues are covered in qmllanguage +*/ inline QUrl TEST_FILE(const QString &filename) { QFileInfo fileInfo(__FILE__); @@ -19,11 +25,11 @@ inline QUrl TEST_FILE(const char *filename) return TEST_FILE(QLatin1String(filename)); } -class tst_qmlbindengine : public QObject +class tst_qmlecmascript : public QObject { Q_OBJECT public: - tst_qmlbindengine() {} + tst_qmlecmascript() {} private slots: void idShortcutInvalidates(); @@ -45,7 +51,7 @@ private: QmlEngine engine; }; -void tst_qmlbindengine::idShortcutInvalidates() +void tst_qmlecmascript::idShortcutInvalidates() { { QmlComponent component(&engine, TEST_FILE("idShortcutInvalidates.qml")); @@ -66,7 +72,7 @@ void tst_qmlbindengine::idShortcutInvalidates() } } -void tst_qmlbindengine::boolPropertiesEvaluateAsBool() +void tst_qmlecmascript::boolPropertiesEvaluateAsBool() { { QmlComponent component(&engine, TEST_FILE("boolPropertiesEvaluateAsBool.1.qml")); @@ -82,7 +88,7 @@ void tst_qmlbindengine::boolPropertiesEvaluateAsBool() } } -void tst_qmlbindengine::signalAssignment() +void tst_qmlecmascript::signalAssignment() { { QmlComponent component(&engine, TEST_FILE("signalAssignment.1.qml")); @@ -103,7 +109,7 @@ void tst_qmlbindengine::signalAssignment() } } -void tst_qmlbindengine::methods() +void tst_qmlecmascript::methods() { { QmlComponent component(&engine, TEST_FILE("methods.1.qml")); @@ -128,7 +134,7 @@ void tst_qmlbindengine::methods() } } -void tst_qmlbindengine::bindingLoop() +void tst_qmlecmascript::bindingLoop() { QmlComponent component(&engine, TEST_FILE("bindingLoop.qml")); QTest::ignoreMessage(QtWarningMsg, "QML MyQmlObject (unknown location): Binding loop detected for property \"stringProperty\" "); @@ -136,7 +142,7 @@ void tst_qmlbindengine::bindingLoop() QVERIFY(object != 0); } -void tst_qmlbindengine::basicExpressions_data() +void tst_qmlecmascript::basicExpressions_data() { QTest::addColumn<QString>("expression"); QTest::addColumn<QVariant>("result"); @@ -162,7 +168,7 @@ void tst_qmlbindengine::basicExpressions_data() QTest::newRow("Context property override default object property") << "millipedeLegs" << QVariant(100) << true; } -void tst_qmlbindengine::basicExpressions() +void tst_qmlecmascript::basicExpressions() { QFETCH(QString, expression); QFETCH(QVariant, result); @@ -197,7 +203,7 @@ void tst_qmlbindengine::basicExpressions() } Q_DECLARE_METATYPE(QList<QObject *>); -void tst_qmlbindengine::arrayExpressions() +void tst_qmlecmascript::arrayExpressions() { QObject obj1; QObject obj2; @@ -220,7 +226,7 @@ void tst_qmlbindengine::arrayExpressions() } // Tests that modifying a context property will reevaluate expressions -void tst_qmlbindengine::contextPropertiesTriggerReeval() +void tst_qmlecmascript::contextPropertiesTriggerReeval() { QmlContext context(engine.rootContext()); MyQmlObject object1; @@ -282,7 +288,7 @@ void tst_qmlbindengine::contextPropertiesTriggerReeval() } -void tst_qmlbindengine::objectPropertiesTriggerReeval() +void tst_qmlecmascript::objectPropertiesTriggerReeval() { QmlContext context(engine.rootContext()); MyQmlObject object1; @@ -336,7 +342,7 @@ void tst_qmlbindengine::objectPropertiesTriggerReeval() } } -void tst_qmlbindengine::deferredProperties() +void tst_qmlecmascript::deferredProperties() { QmlComponent component(&engine, TEST_FILE("deferredProperties.qml")); MyDeferredObject *object = @@ -353,7 +359,7 @@ void tst_qmlbindengine::deferredProperties() QVERIFY(qmlObject != 0); } -void tst_qmlbindengine::extensionObjects() +void tst_qmlecmascript::extensionObjects() { QmlComponent component(&engine, TEST_FILE("extensionObjects.qml")); MyExtendedObject *object = @@ -368,7 +374,7 @@ void tst_qmlbindengine::extensionObjects() QCOMPARE(object->baseProperty(), 92); } -void tst_qmlbindengine::enums() +void tst_qmlecmascript::enums() { QmlComponent component(&engine, TEST_FILE("enums.1.qml")); QObject *object = component.create(); @@ -386,7 +392,7 @@ void tst_qmlbindengine::enums() QCOMPARE(object->property("j").toInt(), 19); } -void tst_qmlbindengine::valueTypeFunctions() +void tst_qmlecmascript::valueTypeFunctions() { QmlComponent component(&engine, TEST_FILE("valueTypeFunctions.qml")); MyTypeObject *obj = qobject_cast<MyTypeObject*>(component.create()); @@ -396,6 +402,6 @@ void tst_qmlbindengine::valueTypeFunctions() } -QTEST_MAIN(tst_qmlbindengine) +QTEST_MAIN(tst_qmlecmascript) -#include "tst_qmlbindengine.moc" +#include "tst_qmlecmascript.moc" diff --git a/tests/auto/declarative/qmlparser/data/Alias.qml b/tests/auto/declarative/qmllanguage/data/Alias.qml index 8264e0d..8264e0d 100644 --- a/tests/auto/declarative/qmlparser/data/Alias.qml +++ b/tests/auto/declarative/qmllanguage/data/Alias.qml diff --git a/tests/auto/declarative/qmlparser/data/MyComponent.qml b/tests/auto/declarative/qmllanguage/data/MyComponent.qml index 1a23277..1a23277 100644 --- a/tests/auto/declarative/qmlparser/data/MyComponent.qml +++ b/tests/auto/declarative/qmllanguage/data/MyComponent.qml diff --git a/tests/auto/declarative/qmlparser/data/MyContainerComponent.qml b/tests/auto/declarative/qmllanguage/data/MyContainerComponent.qml index 61f54c5..61f54c5 100644 --- a/tests/auto/declarative/qmlparser/data/MyContainerComponent.qml +++ b/tests/auto/declarative/qmllanguage/data/MyContainerComponent.qml diff --git a/tests/auto/declarative/qmlparser/data/alias.1.qml b/tests/auto/declarative/qmllanguage/data/alias.1.qml index 492d99a..492d99a 100644 --- a/tests/auto/declarative/qmlparser/data/alias.1.qml +++ b/tests/auto/declarative/qmllanguage/data/alias.1.qml diff --git a/tests/auto/declarative/qmlparser/data/alias.2.qml b/tests/auto/declarative/qmllanguage/data/alias.2.qml index aa4d103..aa4d103 100644 --- a/tests/auto/declarative/qmlparser/data/alias.2.qml +++ b/tests/auto/declarative/qmllanguage/data/alias.2.qml diff --git a/tests/auto/declarative/qmlparser/data/alias.3.qml b/tests/auto/declarative/qmllanguage/data/alias.3.qml index e25fbae..e25fbae 100644 --- a/tests/auto/declarative/qmlparser/data/alias.3.qml +++ b/tests/auto/declarative/qmllanguage/data/alias.3.qml diff --git a/tests/auto/declarative/qmlparser/data/assignBasicTypes.qml b/tests/auto/declarative/qmllanguage/data/assignBasicTypes.qml index cef9f8d..cef9f8d 100644 --- a/tests/auto/declarative/qmlparser/data/assignBasicTypes.qml +++ b/tests/auto/declarative/qmllanguage/data/assignBasicTypes.qml diff --git a/tests/auto/declarative/qmlparser/data/assignLiteralSignalProperty.qml b/tests/auto/declarative/qmllanguage/data/assignLiteralSignalProperty.qml index 399fcea..399fcea 100644 --- a/tests/auto/declarative/qmlparser/data/assignLiteralSignalProperty.qml +++ b/tests/auto/declarative/qmllanguage/data/assignLiteralSignalProperty.qml diff --git a/tests/auto/declarative/qmlparser/data/assignObjectToSignal.qml b/tests/auto/declarative/qmllanguage/data/assignObjectToSignal.qml index 789cc66..789cc66 100644 --- a/tests/auto/declarative/qmlparser/data/assignObjectToSignal.qml +++ b/tests/auto/declarative/qmllanguage/data/assignObjectToSignal.qml diff --git a/tests/auto/declarative/qmlparser/data/assignObjectToVariant.qml b/tests/auto/declarative/qmllanguage/data/assignObjectToVariant.qml index 28c68c4..28c68c4 100644 --- a/tests/auto/declarative/qmlparser/data/assignObjectToVariant.qml +++ b/tests/auto/declarative/qmllanguage/data/assignObjectToVariant.qml diff --git a/tests/auto/declarative/qmlparser/data/assignQmlComponent.qml b/tests/auto/declarative/qmllanguage/data/assignQmlComponent.qml index 20bdc55..20bdc55 100644 --- a/tests/auto/declarative/qmlparser/data/assignQmlComponent.qml +++ b/tests/auto/declarative/qmllanguage/data/assignQmlComponent.qml diff --git a/tests/auto/declarative/qmlparser/data/assignSignal.qml b/tests/auto/declarative/qmllanguage/data/assignSignal.qml index 3abc04d..3abc04d 100644 --- a/tests/auto/declarative/qmlparser/data/assignSignal.qml +++ b/tests/auto/declarative/qmllanguage/data/assignSignal.qml diff --git a/tests/auto/declarative/qmlparser/data/assignTypeExtremes.qml b/tests/auto/declarative/qmllanguage/data/assignTypeExtremes.qml index 60ede52..60ede52 100644 --- a/tests/auto/declarative/qmlparser/data/assignTypeExtremes.qml +++ b/tests/auto/declarative/qmllanguage/data/assignTypeExtremes.qml diff --git a/tests/auto/declarative/qmlparser/data/attachedProperties.qml b/tests/auto/declarative/qmllanguage/data/attachedProperties.qml index 8343754..8343754 100644 --- a/tests/auto/declarative/qmlparser/data/attachedProperties.qml +++ b/tests/auto/declarative/qmllanguage/data/attachedProperties.qml diff --git a/tests/auto/declarative/qmlparser/data/autoComponentCreation.qml b/tests/auto/declarative/qmllanguage/data/autoComponentCreation.qml index 5d00144..5d00144 100644 --- a/tests/auto/declarative/qmlparser/data/autoComponentCreation.qml +++ b/tests/auto/declarative/qmllanguage/data/autoComponentCreation.qml diff --git a/tests/auto/declarative/qmlparser/data/cppnamespace.qml b/tests/auto/declarative/qmllanguage/data/cppnamespace.qml index e1daf3b..e1daf3b 100644 --- a/tests/auto/declarative/qmlparser/data/cppnamespace.qml +++ b/tests/auto/declarative/qmllanguage/data/cppnamespace.qml diff --git a/tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.errors.txt b/tests/auto/declarative/qmllanguage/data/customParserIdNotAllowed.errors.txt index d28c0bd..d28c0bd 100644 --- a/tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/customParserIdNotAllowed.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.qml b/tests/auto/declarative/qmllanguage/data/customParserIdNotAllowed.qml index e607768..e607768 100644 --- a/tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.qml +++ b/tests/auto/declarative/qmllanguage/data/customParserIdNotAllowed.qml diff --git a/tests/auto/declarative/qmlparser/data/customParserTypes.qml b/tests/auto/declarative/qmllanguage/data/customParserTypes.qml index cf2f272..cf2f272 100644 --- a/tests/auto/declarative/qmlparser/data/customParserTypes.qml +++ b/tests/auto/declarative/qmllanguage/data/customParserTypes.qml diff --git a/tests/auto/declarative/qmlparser/data/customVariantTypes.qml b/tests/auto/declarative/qmllanguage/data/customVariantTypes.qml index 0263ed2..0263ed2 100644 --- a/tests/auto/declarative/qmlparser/data/customVariantTypes.qml +++ b/tests/auto/declarative/qmllanguage/data/customVariantTypes.qml diff --git a/tests/auto/declarative/qmlparser/data/duplicateIDs.errors.txt b/tests/auto/declarative/qmllanguage/data/duplicateIDs.errors.txt index 66241cf..66241cf 100644 --- a/tests/auto/declarative/qmlparser/data/duplicateIDs.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/duplicateIDs.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/duplicateIDs.qml b/tests/auto/declarative/qmllanguage/data/duplicateIDs.qml index 9605b5b..9605b5b 100644 --- a/tests/auto/declarative/qmlparser/data/duplicateIDs.qml +++ b/tests/auto/declarative/qmllanguage/data/duplicateIDs.qml diff --git a/tests/auto/declarative/qmlparser/data/dynamicObject.1.qml b/tests/auto/declarative/qmllanguage/data/dynamicObject.1.qml index 85d1052..85d1052 100644 --- a/tests/auto/declarative/qmlparser/data/dynamicObject.1.qml +++ b/tests/auto/declarative/qmllanguage/data/dynamicObject.1.qml diff --git a/tests/auto/declarative/qmlparser/data/dynamicProperties.qml b/tests/auto/declarative/qmllanguage/data/dynamicProperties.qml index f93e446..f93e446 100644 --- a/tests/auto/declarative/qmlparser/data/dynamicProperties.qml +++ b/tests/auto/declarative/qmllanguage/data/dynamicProperties.qml diff --git a/tests/auto/declarative/qmlparser/data/dynamicSignalsAndSlots.qml b/tests/auto/declarative/qmllanguage/data/dynamicSignalsAndSlots.qml index b0ca970..b0ca970 100644 --- a/tests/auto/declarative/qmlparser/data/dynamicSignalsAndSlots.qml +++ b/tests/auto/declarative/qmllanguage/data/dynamicSignalsAndSlots.qml diff --git a/tests/auto/declarative/qmlparser/data/empty.errors.txt b/tests/auto/declarative/qmllanguage/data/empty.errors.txt index d416e76..d416e76 100644 --- a/tests/auto/declarative/qmlparser/data/empty.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/empty.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/empty.qml b/tests/auto/declarative/qmllanguage/data/empty.qml index e69de29..e69de29 100644 --- a/tests/auto/declarative/qmlparser/data/empty.qml +++ b/tests/auto/declarative/qmllanguage/data/empty.qml diff --git a/tests/auto/declarative/qmlparser/data/failingComponent.errors.txt b/tests/auto/declarative/qmllanguage/data/failingComponent.errors.txt index 0cf0ef3..0cf0ef3 100644 --- a/tests/auto/declarative/qmlparser/data/failingComponent.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/failingComponent.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/failingComponentTest.qml b/tests/auto/declarative/qmllanguage/data/failingComponentTest.qml index 74a6acf..74a6acf 100644 --- a/tests/auto/declarative/qmlparser/data/failingComponentTest.qml +++ b/tests/auto/declarative/qmllanguage/data/failingComponentTest.qml diff --git a/tests/auto/declarative/qmlparser/data/fakeDotProperty.errors.txt b/tests/auto/declarative/qmllanguage/data/fakeDotProperty.errors.txt index e56ad3a..e56ad3a 100644 --- a/tests/auto/declarative/qmlparser/data/fakeDotProperty.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/fakeDotProperty.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/fakeDotProperty.qml b/tests/auto/declarative/qmllanguage/data/fakeDotProperty.qml index d971eee..d971eee 100644 --- a/tests/auto/declarative/qmlparser/data/fakeDotProperty.qml +++ b/tests/auto/declarative/qmllanguage/data/fakeDotProperty.qml diff --git a/tests/auto/declarative/qmlparser/data/finalOverride.errors.txt b/tests/auto/declarative/qmllanguage/data/finalOverride.errors.txt index 49e06cb..49e06cb 100644 --- a/tests/auto/declarative/qmlparser/data/finalOverride.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/finalOverride.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/finalOverride.qml b/tests/auto/declarative/qmllanguage/data/finalOverride.qml index a84393a..a84393a 100644 --- a/tests/auto/declarative/qmlparser/data/finalOverride.qml +++ b/tests/auto/declarative/qmllanguage/data/finalOverride.qml diff --git a/tests/auto/declarative/qmlparser/data/idProperty.qml b/tests/auto/declarative/qmllanguage/data/idProperty.qml index a413c0b..a413c0b 100644 --- a/tests/auto/declarative/qmlparser/data/idProperty.qml +++ b/tests/auto/declarative/qmllanguage/data/idProperty.qml diff --git a/tests/auto/declarative/qmlparser/data/importNamespaceConflict.errors.txt b/tests/auto/declarative/qmllanguage/data/importNamespaceConflict.errors.txt index 231998d..231998d 100644 --- a/tests/auto/declarative/qmlparser/data/importNamespaceConflict.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/importNamespaceConflict.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/importNamespaceConflict.qml b/tests/auto/declarative/qmllanguage/data/importNamespaceConflict.qml index cd112af..cd112af 100644 --- a/tests/auto/declarative/qmlparser/data/importNamespaceConflict.qml +++ b/tests/auto/declarative/qmllanguage/data/importNamespaceConflict.qml diff --git a/tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.errors.txt b/tests/auto/declarative/qmllanguage/data/importVersionMissingBuiltIn.errors.txt index 2235cbc..2235cbc 100644 --- a/tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/importVersionMissingBuiltIn.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.qml b/tests/auto/declarative/qmllanguage/data/importVersionMissingBuiltIn.qml index 23ed566..23ed566 100644 --- a/tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.qml +++ b/tests/auto/declarative/qmllanguage/data/importVersionMissingBuiltIn.qml diff --git a/tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.errors.txt b/tests/auto/declarative/qmllanguage/data/importVersionMissingInstalled.errors.txt index 2235cbc..2235cbc 100644 --- a/tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/importVersionMissingInstalled.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.qml b/tests/auto/declarative/qmllanguage/data/importVersionMissingInstalled.qml index 97ec222..97ec222 100644 --- a/tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.qml +++ b/tests/auto/declarative/qmllanguage/data/importVersionMissingInstalled.qml diff --git a/tests/auto/declarative/qmlparser/data/inlineQmlComponents.qml b/tests/auto/declarative/qmllanguage/data/inlineQmlComponents.qml index 79ceda6..79ceda6 100644 --- a/tests/auto/declarative/qmlparser/data/inlineQmlComponents.qml +++ b/tests/auto/declarative/qmllanguage/data/inlineQmlComponents.qml diff --git a/tests/auto/declarative/qmlparser/data/interfaceProperty.qml b/tests/auto/declarative/qmllanguage/data/interfaceProperty.qml index 70879ff..70879ff 100644 --- a/tests/auto/declarative/qmlparser/data/interfaceProperty.qml +++ b/tests/auto/declarative/qmllanguage/data/interfaceProperty.qml diff --git a/tests/auto/declarative/qmlparser/data/interfaceQList.qml b/tests/auto/declarative/qmllanguage/data/interfaceQList.qml index c87dfae..c87dfae 100644 --- a/tests/auto/declarative/qmlparser/data/interfaceQList.qml +++ b/tests/auto/declarative/qmllanguage/data/interfaceQList.qml diff --git a/tests/auto/declarative/qmlparser/data/interfaceQmlList.qml b/tests/auto/declarative/qmllanguage/data/interfaceQmlList.qml index 8392bea..8392bea 100644 --- a/tests/auto/declarative/qmlparser/data/interfaceQmlList.qml +++ b/tests/auto/declarative/qmllanguage/data/interfaceQmlList.qml diff --git a/tests/auto/declarative/qmlparser/data/invalidID.2.errors.txt b/tests/auto/declarative/qmllanguage/data/invalidID.2.errors.txt index 56e3eeb..56e3eeb 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.2.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/invalidID.2.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/invalidID.2.qml b/tests/auto/declarative/qmllanguage/data/invalidID.2.qml index 4fb3b29..4fb3b29 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.2.qml +++ b/tests/auto/declarative/qmllanguage/data/invalidID.2.qml diff --git a/tests/auto/declarative/qmlparser/data/invalidID.3.errors.txt b/tests/auto/declarative/qmllanguage/data/invalidID.3.errors.txt index bb811cf..bb811cf 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.3.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/invalidID.3.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/invalidID.3.qml b/tests/auto/declarative/qmllanguage/data/invalidID.3.qml index 6684172..6684172 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.3.qml +++ b/tests/auto/declarative/qmllanguage/data/invalidID.3.qml diff --git a/tests/auto/declarative/qmlparser/data/invalidID.4.errors.txt b/tests/auto/declarative/qmllanguage/data/invalidID.4.errors.txt index cfe8756..cfe8756 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.4.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/invalidID.4.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/invalidID.4.qml b/tests/auto/declarative/qmllanguage/data/invalidID.4.qml index 1f15fce..1f15fce 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.4.qml +++ b/tests/auto/declarative/qmllanguage/data/invalidID.4.qml diff --git a/tests/auto/declarative/qmlparser/data/invalidID.5.errors.txt b/tests/auto/declarative/qmllanguage/data/invalidID.5.errors.txt index b0a63a0..b0a63a0 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.5.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/invalidID.5.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/invalidID.5.qml b/tests/auto/declarative/qmllanguage/data/invalidID.5.qml index 0545b0d..0545b0d 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.5.qml +++ b/tests/auto/declarative/qmllanguage/data/invalidID.5.qml diff --git a/tests/auto/declarative/qmlparser/data/invalidID.6.errors.txt b/tests/auto/declarative/qmllanguage/data/invalidID.6.errors.txt index 861e3d7..861e3d7 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.6.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/invalidID.6.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/invalidID.6.qml b/tests/auto/declarative/qmllanguage/data/invalidID.6.qml index ea34007..ea34007 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.6.qml +++ b/tests/auto/declarative/qmllanguage/data/invalidID.6.qml diff --git a/tests/auto/declarative/qmlparser/data/invalidID.errors.txt b/tests/auto/declarative/qmllanguage/data/invalidID.errors.txt index 1ca678c..1ca678c 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/invalidID.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/invalidID.qml b/tests/auto/declarative/qmllanguage/data/invalidID.qml index 04db3eb..04db3eb 100644 --- a/tests/auto/declarative/qmlparser/data/invalidID.qml +++ b/tests/auto/declarative/qmllanguage/data/invalidID.qml diff --git a/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest.qml b/tests/auto/declarative/qmllanguage/data/lib/com/nokia/installedtest/InstalledTest.qml index d8a22a8..d8a22a8 100644 --- a/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest.qml +++ b/tests/auto/declarative/qmllanguage/data/lib/com/nokia/installedtest/InstalledTest.qml diff --git a/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest2.qml b/tests/auto/declarative/qmllanguage/data/lib/com/nokia/installedtest/InstalledTest2.qml index a0706ad..a0706ad 100644 --- a/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest2.qml +++ b/tests/auto/declarative/qmllanguage/data/lib/com/nokia/installedtest/InstalledTest2.qml diff --git a/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/qmldir b/tests/auto/declarative/qmllanguage/data/lib/com/nokia/installedtest/qmldir index ba0b42a..ba0b42a 100644 --- a/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/qmldir +++ b/tests/auto/declarative/qmllanguage/data/lib/com/nokia/installedtest/qmldir diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.1.errors.txt b/tests/auto/declarative/qmllanguage/data/listAssignment.1.errors.txt index d68d487..d68d487 100644 --- a/tests/auto/declarative/qmlparser/data/listAssignment.1.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/listAssignment.1.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.1.qml b/tests/auto/declarative/qmllanguage/data/listAssignment.1.qml index 4240425..4240425 100644 --- a/tests/auto/declarative/qmlparser/data/listAssignment.1.qml +++ b/tests/auto/declarative/qmllanguage/data/listAssignment.1.qml diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.2.errors.txt b/tests/auto/declarative/qmllanguage/data/listAssignment.2.errors.txt index 8b40aa3..8b40aa3 100644 --- a/tests/auto/declarative/qmlparser/data/listAssignment.2.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/listAssignment.2.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.2.qml b/tests/auto/declarative/qmllanguage/data/listAssignment.2.qml index e3baadb..e3baadb 100644 --- a/tests/auto/declarative/qmlparser/data/listAssignment.2.qml +++ b/tests/auto/declarative/qmllanguage/data/listAssignment.2.qml diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.3.errors.txt b/tests/auto/declarative/qmllanguage/data/listAssignment.3.errors.txt index 8c7b7e9..8c7b7e9 100644 --- a/tests/auto/declarative/qmlparser/data/listAssignment.3.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/listAssignment.3.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.3.qml b/tests/auto/declarative/qmllanguage/data/listAssignment.3.qml index 00c4c6b..00c4c6b 100644 --- a/tests/auto/declarative/qmlparser/data/listAssignment.3.qml +++ b/tests/auto/declarative/qmllanguage/data/listAssignment.3.qml diff --git a/tests/auto/declarative/qmlparser/data/listItemDeleteSelf.qml b/tests/auto/declarative/qmllanguage/data/listItemDeleteSelf.qml index fa2e831..fa2e831 100644 --- a/tests/auto/declarative/qmlparser/data/listItemDeleteSelf.qml +++ b/tests/auto/declarative/qmllanguage/data/listItemDeleteSelf.qml diff --git a/tests/auto/declarative/qmlparser/data/missingObject.errors.txt b/tests/auto/declarative/qmllanguage/data/missingObject.errors.txt index b31b562..b31b562 100644 --- a/tests/auto/declarative/qmlparser/data/missingObject.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/missingObject.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/missingObject.qml b/tests/auto/declarative/qmllanguage/data/missingObject.qml index 2f17045..2f17045 100644 --- a/tests/auto/declarative/qmlparser/data/missingObject.qml +++ b/tests/auto/declarative/qmllanguage/data/missingObject.qml diff --git a/tests/auto/declarative/qmlparser/data/missingSignal.errors.txt b/tests/auto/declarative/qmllanguage/data/missingSignal.errors.txt index e243ae5..e243ae5 100644 --- a/tests/auto/declarative/qmlparser/data/missingSignal.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/missingSignal.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/missingSignal.qml b/tests/auto/declarative/qmllanguage/data/missingSignal.qml index fd489ca..fd489ca 100644 --- a/tests/auto/declarative/qmlparser/data/missingSignal.qml +++ b/tests/auto/declarative/qmllanguage/data/missingSignal.qml diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.1.errors.txt b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.1.errors.txt index cfc6fc8..cfc6fc8 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.1.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.1.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.1.qml b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.1.qml index df7406c..df7406c 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.1.qml +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.1.qml diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.2.errors.txt b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.2.errors.txt index 8b13585..8b13585 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.2.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.2.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.2.qml b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.2.qml index 06ccd37..06ccd37 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.2.qml +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.2.qml diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.3.errors.txt b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.3.errors.txt index 8b13585..8b13585 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.3.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.3.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.3.qml b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.3.qml index 5b08608..5b08608 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.3.qml +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.3.qml diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.4.errors.txt b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.4.errors.txt index 8b13585..8b13585 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.4.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.4.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.4.qml b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.4.qml index 6579191..6579191 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.4.qml +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.4.qml diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.5.errors.txt b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.5.errors.txt index c07f2b9..c07f2b9 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.5.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.5.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.5.qml b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.5.qml index 37af057..37af057 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.5.qml +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.5.qml diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.6.errors.txt b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.6.errors.txt index c02d7bd..c02d7bd 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.6.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.6.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.6.qml b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.6.qml index 5cd55d0..5cd55d0 100644 --- a/tests/auto/declarative/qmlparser/data/nonexistantProperty.6.qml +++ b/tests/auto/declarative/qmllanguage/data/nonexistantProperty.6.qml diff --git a/tests/auto/declarative/qmlparser/data/nullDotProperty.errors.txt b/tests/auto/declarative/qmllanguage/data/nullDotProperty.errors.txt index 07a4094..07a4094 100644 --- a/tests/auto/declarative/qmlparser/data/nullDotProperty.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/nullDotProperty.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/nullDotProperty.qml b/tests/auto/declarative/qmllanguage/data/nullDotProperty.qml index 4e36779..4e36779 100644 --- a/tests/auto/declarative/qmlparser/data/nullDotProperty.qml +++ b/tests/auto/declarative/qmllanguage/data/nullDotProperty.qml diff --git a/tests/auto/declarative/qmlparser/data/propertyValueSource.qml b/tests/auto/declarative/qmllanguage/data/propertyValueSource.qml index ad71fcf..ad71fcf 100644 --- a/tests/auto/declarative/qmlparser/data/propertyValueSource.qml +++ b/tests/auto/declarative/qmllanguage/data/propertyValueSource.qml diff --git a/tests/auto/declarative/qmlparser/data/readOnly.1.errors.txt b/tests/auto/declarative/qmllanguage/data/readOnly.1.errors.txt index b8c3404..b8c3404 100644 --- a/tests/auto/declarative/qmlparser/data/readOnly.1.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/readOnly.1.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/readOnly.1.qml b/tests/auto/declarative/qmllanguage/data/readOnly.1.qml index 60757bd..60757bd 100644 --- a/tests/auto/declarative/qmlparser/data/readOnly.1.qml +++ b/tests/auto/declarative/qmllanguage/data/readOnly.1.qml diff --git a/tests/auto/declarative/qmlparser/data/readOnly.2.errors.txt b/tests/auto/declarative/qmllanguage/data/readOnly.2.errors.txt index d857a04..d857a04 100644 --- a/tests/auto/declarative/qmlparser/data/readOnly.2.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/readOnly.2.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/readOnly.2.qml b/tests/auto/declarative/qmllanguage/data/readOnly.2.qml index 8f1633c..8f1633c 100644 --- a/tests/auto/declarative/qmlparser/data/readOnly.2.qml +++ b/tests/auto/declarative/qmllanguage/data/readOnly.2.qml diff --git a/tests/auto/declarative/qmlparser/data/rootAsQmlComponent.qml b/tests/auto/declarative/qmllanguage/data/rootAsQmlComponent.qml index 8d72cd3..8d72cd3 100644 --- a/tests/auto/declarative/qmlparser/data/rootAsQmlComponent.qml +++ b/tests/auto/declarative/qmllanguage/data/rootAsQmlComponent.qml diff --git a/tests/auto/declarative/qmlparser/data/simpleBindings.qml b/tests/auto/declarative/qmllanguage/data/simpleBindings.qml index 74867b3..74867b3 100644 --- a/tests/auto/declarative/qmlparser/data/simpleBindings.qml +++ b/tests/auto/declarative/qmllanguage/data/simpleBindings.qml diff --git a/tests/auto/declarative/qmlparser/data/simpleContainer.qml b/tests/auto/declarative/qmllanguage/data/simpleContainer.qml index c3a795f..c3a795f 100644 --- a/tests/auto/declarative/qmlparser/data/simpleContainer.qml +++ b/tests/auto/declarative/qmllanguage/data/simpleContainer.qml diff --git a/tests/auto/declarative/qmlparser/data/simpleObject.qml b/tests/auto/declarative/qmllanguage/data/simpleObject.qml index 30c7823..30c7823 100644 --- a/tests/auto/declarative/qmlparser/data/simpleObject.qml +++ b/tests/auto/declarative/qmllanguage/data/simpleObject.qml diff --git a/tests/auto/declarative/qmlparser/data/subdir/Test.qml b/tests/auto/declarative/qmllanguage/data/subdir/Test.qml index c4d5905..c4d5905 100644 --- a/tests/auto/declarative/qmlparser/data/subdir/Test.qml +++ b/tests/auto/declarative/qmllanguage/data/subdir/Test.qml diff --git a/tests/auto/declarative/qmlparser/data/unregisteredObject.errors.txt b/tests/auto/declarative/qmllanguage/data/unregisteredObject.errors.txt index bc4f7f4..bc4f7f4 100644 --- a/tests/auto/declarative/qmlparser/data/unregisteredObject.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/unregisteredObject.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/unregisteredObject.qml b/tests/auto/declarative/qmllanguage/data/unregisteredObject.qml index 9498e31..9498e31 100644 --- a/tests/auto/declarative/qmlparser/data/unregisteredObject.qml +++ b/tests/auto/declarative/qmllanguage/data/unregisteredObject.qml diff --git a/tests/auto/declarative/qmlparser/data/unsupportedProperty.errors.txt b/tests/auto/declarative/qmllanguage/data/unsupportedProperty.errors.txt index 3a90a7d..3a90a7d 100644 --- a/tests/auto/declarative/qmlparser/data/unsupportedProperty.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/unsupportedProperty.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/unsupportedProperty.qml b/tests/auto/declarative/qmllanguage/data/unsupportedProperty.qml index 9f19680..9f19680 100644 --- a/tests/auto/declarative/qmlparser/data/unsupportedProperty.qml +++ b/tests/auto/declarative/qmllanguage/data/unsupportedProperty.qml diff --git a/tests/auto/declarative/qmlparser/data/valueTypes.qml b/tests/auto/declarative/qmllanguage/data/valueTypes.qml index bf325a7..bf325a7 100644 --- a/tests/auto/declarative/qmlparser/data/valueTypes.qml +++ b/tests/auto/declarative/qmllanguage/data/valueTypes.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.1.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.1.errors.txt index ba7a076..ba7a076 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.1.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.1.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.1.qml b/tests/auto/declarative/qmllanguage/data/wrongType.1.qml index 289d37f..289d37f 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.1.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.1.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.10.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.10.errors.txt index ae75b52..ae75b52 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.10.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.10.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.10.qml b/tests/auto/declarative/qmllanguage/data/wrongType.10.qml index 2cf0e50..2cf0e50 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.10.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.10.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.11.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.11.errors.txt index 23a4cda..23a4cda 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.11.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.11.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.11.qml b/tests/auto/declarative/qmllanguage/data/wrongType.11.qml index ae77ba1..ae77ba1 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.11.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.11.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.12.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.12.errors.txt index 3092100..3092100 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.12.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.12.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.12.qml b/tests/auto/declarative/qmllanguage/data/wrongType.12.qml index b7a366f..b7a366f 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.12.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.12.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.13.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.13.errors.txt index ba7a076..ba7a076 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.13.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.13.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.13.qml b/tests/auto/declarative/qmllanguage/data/wrongType.13.qml index 477aff1..477aff1 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.13.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.13.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.14.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.14.errors.txt index d621fdd..d621fdd 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.14.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.14.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.14.qml b/tests/auto/declarative/qmllanguage/data/wrongType.14.qml index 672d693..672d693 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.14.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.14.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.2.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.2.errors.txt index 9ff9f25..9ff9f25 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.2.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.2.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.2.qml b/tests/auto/declarative/qmllanguage/data/wrongType.2.qml index 34b74f7..34b74f7 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.2.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.2.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.3.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.3.errors.txt index 6d971c6..6d971c6 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.3.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.3.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.3.qml b/tests/auto/declarative/qmllanguage/data/wrongType.3.qml index 384181a..384181a 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.3.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.3.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.4.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.4.errors.txt index ef34d0e..ef34d0e 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.4.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.4.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.4.qml b/tests/auto/declarative/qmllanguage/data/wrongType.4.qml index 0787bf5..0787bf5 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.4.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.4.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.5.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.5.errors.txt index cab10bd..cab10bd 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.5.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.5.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.5.qml b/tests/auto/declarative/qmllanguage/data/wrongType.5.qml index c50ae9a..c50ae9a 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.5.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.5.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.6.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.6.errors.txt index d0a0b00..d0a0b00 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.6.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.6.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.6.qml b/tests/auto/declarative/qmllanguage/data/wrongType.6.qml index da10b78..da10b78 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.6.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.6.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.7.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.7.errors.txt index 614346b..614346b 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.7.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.7.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.7.qml b/tests/auto/declarative/qmllanguage/data/wrongType.7.qml index ddc3835..ddc3835 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.7.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.7.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.8.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.8.errors.txt index 1773c00..1773c00 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.8.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.8.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.8.qml b/tests/auto/declarative/qmllanguage/data/wrongType.8.qml index a5f6756..a5f6756 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.8.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.8.qml diff --git a/tests/auto/declarative/qmlparser/data/wrongType.9.errors.txt b/tests/auto/declarative/qmllanguage/data/wrongType.9.errors.txt index 8630975..8630975 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.9.errors.txt +++ b/tests/auto/declarative/qmllanguage/data/wrongType.9.errors.txt diff --git a/tests/auto/declarative/qmlparser/data/wrongType.9.qml b/tests/auto/declarative/qmllanguage/data/wrongType.9.qml index a3db732..a3db732 100644 --- a/tests/auto/declarative/qmlparser/data/wrongType.9.qml +++ b/tests/auto/declarative/qmllanguage/data/wrongType.9.qml diff --git a/tests/auto/declarative/qmlparser/qmlparser.pro b/tests/auto/declarative/qmllanguage/qmllanguage.pro index dda5c61..4e4be9c 100644 --- a/tests/auto/declarative/qmlparser/qmlparser.pro +++ b/tests/auto/declarative/qmllanguage/qmllanguage.pro @@ -1,8 +1,8 @@ load(qttest_p4) contains(QT_CONFIG,declarative): QT += declarative -SOURCES += tst_qmlparser.cpp \ +SOURCES += tst_qmllanguage.cpp \ testtypes.cpp -HEADERS = testtypes.h +HEADERS += testtypes.h macx:CONFIG -= app_bundle # QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage diff --git a/tests/auto/declarative/qmlparser/testtypes.cpp b/tests/auto/declarative/qmllanguage/testtypes.cpp index c11e195..c11e195 100644 --- a/tests/auto/declarative/qmlparser/testtypes.cpp +++ b/tests/auto/declarative/qmllanguage/testtypes.cpp diff --git a/tests/auto/declarative/qmlparser/testtypes.h b/tests/auto/declarative/qmllanguage/testtypes.h index f6f966f..b1da9fb 100644 --- a/tests/auto/declarative/qmlparser/testtypes.h +++ b/tests/auto/declarative/qmllanguage/testtypes.h @@ -104,7 +104,7 @@ signals: void basicParameterizedSignal(int parameter); private: - friend class tst_qmlparser; + friend class tst_qmllanguage; int m_value; MyInterface *m_interface; MyQmlObject *m_qmlobject; diff --git a/tests/auto/declarative/qmlparser/tst_qmlparser.cpp b/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp index 7f51639..1bf98df 100644 --- a/tests/auto/declarative/qmlparser/tst_qmlparser.cpp +++ b/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp @@ -7,11 +7,17 @@ #include <QtCore/qdir.h> #include "testtypes.h" -class tst_qmlparser : public QObject +/* +This test case covers QML language issues. This covers everything that does +involve evaluating ECMAScript expressions and bindings. + +Evaluation of expressions and bindings is covered in qmlecmascript +*/ +class tst_qmllanguage : public QObject { Q_OBJECT public: - tst_qmlparser() { + tst_qmllanguage() { QmlMetaType::registerCustomStringConverter(qMetaTypeId<MyCustomVariantType>(), myCustomVariantTypeConverter); QFileInfo fileInfo(__FILE__); engine.addImportPath(fileInfo.absoluteDir().filePath(QLatin1String("data/lib"))); @@ -104,7 +110,7 @@ inline QUrl TEST_FILE(const char *filename) return TEST_FILE(QLatin1String(filename)); } -void tst_qmlparser::errors_data() +void tst_qmllanguage::errors_data() { QTest::addColumn<QString>("file"); QTest::addColumn<QString>("errorFile"); @@ -166,7 +172,7 @@ void tst_qmlparser::errors_data() QTest::newRow("customParserIdNotAllowed") << "customParserIdNotAllowed.qml" << "customParserIdNotAllowed.errors.txt" << false; } -void tst_qmlparser::errors() +void tst_qmllanguage::errors() { QFETCH(QString, file); QFETCH(QString, errorFile); @@ -182,7 +188,7 @@ void tst_qmlparser::errors() VERIFY_ERRORS(errorFile.toLatin1().constData()); } -void tst_qmlparser::simpleObject() +void tst_qmllanguage::simpleObject() { QmlComponent component(&engine, TEST_FILE("simpleObject.qml")); VERIFY_ERRORS(0); @@ -190,7 +196,7 @@ void tst_qmlparser::simpleObject() QVERIFY(object != 0); } -void tst_qmlparser::simpleContainer() +void tst_qmllanguage::simpleContainer() { QmlComponent component(&engine, TEST_FILE("simpleContainer.qml")); VERIFY_ERRORS(0); @@ -199,7 +205,7 @@ void tst_qmlparser::simpleContainer() QCOMPARE(container->children()->count(),2); } -void tst_qmlparser::interfaceProperty() +void tst_qmllanguage::interfaceProperty() { QmlComponent component(&engine, TEST_FILE("interfaceProperty.qml")); VERIFY_ERRORS(0); @@ -209,7 +215,7 @@ void tst_qmlparser::interfaceProperty() QVERIFY(object->interface()->id == 913); } -void tst_qmlparser::interfaceQmlList() +void tst_qmllanguage::interfaceQmlList() { QmlComponent component(&engine, TEST_FILE("interfaceQmlList.qml")); VERIFY_ERRORS(0); @@ -220,7 +226,7 @@ void tst_qmlparser::interfaceQmlList() QVERIFY(container->qmllistAccessor().at(ii)->id == 913); } -void tst_qmlparser::interfaceQList() +void tst_qmllanguage::interfaceQList() { QmlComponent component(&engine, TEST_FILE("interfaceQList.qml")); VERIFY_ERRORS(0); @@ -231,7 +237,7 @@ void tst_qmlparser::interfaceQList() QVERIFY(container->qlistInterfaces()->at(ii)->id == 913); } -void tst_qmlparser::assignObjectToSignal() +void tst_qmllanguage::assignObjectToSignal() { QmlComponent component(&engine, TEST_FILE("assignObjectToSignal.qml")); VERIFY_ERRORS(0); @@ -241,7 +247,7 @@ void tst_qmlparser::assignObjectToSignal() emit object->basicSignal(); } -void tst_qmlparser::assignObjectToVariant() +void tst_qmllanguage::assignObjectToVariant() { QmlComponent component(&engine, TEST_FILE("assignObjectToVariant.qml")); VERIFY_ERRORS(0); @@ -251,7 +257,7 @@ void tst_qmlparser::assignObjectToVariant() QVERIFY(v.userType() == qMetaTypeId<QObject *>()); } -void tst_qmlparser::assignLiteralSignalProperty() +void tst_qmllanguage::assignLiteralSignalProperty() { QmlComponent component(&engine, TEST_FILE("assignLiteralSignalProperty.qml")); VERIFY_ERRORS(0); @@ -261,7 +267,7 @@ void tst_qmlparser::assignLiteralSignalProperty() } // Test is an external component can be loaded and assigned (to a qlist) -void tst_qmlparser::assignQmlComponent() +void tst_qmllanguage::assignQmlComponent() { QmlComponent component(&engine, TEST_FILE("assignQmlComponent.qml")); VERIFY_ERRORS(0); @@ -274,7 +280,7 @@ void tst_qmlparser::assignQmlComponent() } // Test literal assignment to all the basic types -void tst_qmlparser::assignBasicTypes() +void tst_qmllanguage::assignBasicTypes() { QmlComponent component(&engine, TEST_FILE("assignBasicTypes.qml")); VERIFY_ERRORS(0); @@ -306,7 +312,7 @@ void tst_qmlparser::assignBasicTypes() } // Test edge case type assignments -void tst_qmlparser::assignTypeExtremes() +void tst_qmllanguage::assignTypeExtremes() { QmlComponent component(&engine, TEST_FILE("assignTypeExtremes.qml")); VERIFY_ERRORS(0); @@ -317,7 +323,7 @@ void tst_qmlparser::assignTypeExtremes() } // Tests that custom parser types can be instantiated -void tst_qmlparser::customParserTypes() +void tst_qmllanguage::customParserTypes() { QmlComponent component(&engine, TEST_FILE("customParserTypes.qml")); VERIFY_ERRORS(0); @@ -327,7 +333,7 @@ void tst_qmlparser::customParserTypes() } // Tests that the root item can be a custom component -void tst_qmlparser::rootAsQmlComponent() +void tst_qmllanguage::rootAsQmlComponent() { QmlComponent component(&engine, TEST_FILE("rootAsQmlComponent.qml")); VERIFY_ERRORS(0); @@ -338,7 +344,7 @@ void tst_qmlparser::rootAsQmlComponent() } // Tests that components can be specified inline -void tst_qmlparser::inlineQmlComponents() +void tst_qmllanguage::inlineQmlComponents() { QmlComponent component(&engine, TEST_FILE("inlineQmlComponents.qml")); VERIFY_ERRORS(0); @@ -353,7 +359,7 @@ void tst_qmlparser::inlineQmlComponents() } // Tests that types that have an id property have it set -void tst_qmlparser::idProperty() +void tst_qmllanguage::idProperty() { QmlComponent component(&engine, TEST_FILE("idProperty.qml")); VERIFY_ERRORS(0); @@ -368,7 +374,7 @@ void tst_qmlparser::idProperty() } // Tests that signals can be assigned to -void tst_qmlparser::assignSignal() +void tst_qmllanguage::assignSignal() { QmlComponent component(&engine, TEST_FILE("assignSignal.qml")); VERIFY_ERRORS(0); @@ -381,7 +387,7 @@ void tst_qmlparser::assignSignal() } // Tests the creation and assignment of dynamic properties -void tst_qmlparser::dynamicProperties() +void tst_qmllanguage::dynamicProperties() { QmlComponent component(&engine, TEST_FILE("dynamicProperties.qml")); VERIFY_ERRORS(0); @@ -399,7 +405,7 @@ void tst_qmlparser::dynamicProperties() } // Tests the declaration of dynamic signals and slots -void tst_qmlparser::dynamicSignalsAndSlots() +void tst_qmllanguage::dynamicSignalsAndSlots() { QmlComponent component(&engine, TEST_FILE("dynamicSignalsAndSlots.qml")); VERIFY_ERRORS(0); @@ -411,7 +417,7 @@ void tst_qmlparser::dynamicSignalsAndSlots() QVERIFY(object->metaObject()->indexOfMethod("slot2()") != -1); } -void tst_qmlparser::simpleBindings() +void tst_qmllanguage::simpleBindings() { QmlComponent component(&engine, TEST_FILE("simpleBindings.qml")); VERIFY_ERRORS(0); @@ -424,7 +430,7 @@ void tst_qmlparser::simpleBindings() QCOMPARE(object->property("objectProperty"), QVariant::fromValue(object)); } -void tst_qmlparser::autoComponentCreation() +void tst_qmllanguage::autoComponentCreation() { QmlComponent component(&engine, TEST_FILE("autoComponentCreation.qml")); VERIFY_ERRORS(0); @@ -436,7 +442,7 @@ void tst_qmlparser::autoComponentCreation() QCOMPARE(child->realProperty(), qreal(9)); } -void tst_qmlparser::propertyValueSource() +void tst_qmllanguage::propertyValueSource() { QmlComponent component(&engine, TEST_FILE("propertyValueSource.qml")); VERIFY_ERRORS(0); @@ -459,7 +465,7 @@ void tst_qmlparser::propertyValueSource() QCOMPARE(valueSource->prop.name(), QString(QLatin1String("intProperty"))); } -void tst_qmlparser::attachedProperties() +void tst_qmllanguage::attachedProperties() { QmlComponent component(&engine, TEST_FILE("attachedProperties.qml")); VERIFY_ERRORS(0); @@ -471,7 +477,7 @@ void tst_qmlparser::attachedProperties() } // Tests non-static object properties -void tst_qmlparser::dynamicObjects() +void tst_qmllanguage::dynamicObjects() { QmlComponent component(&engine, TEST_FILE("dynamicObject.1.qml")); VERIFY_ERRORS(0); @@ -480,7 +486,7 @@ void tst_qmlparser::dynamicObjects() } // Tests the registration of custom variant string converters -void tst_qmlparser::customVariantTypes() +void tst_qmllanguage::customVariantTypes() { QmlComponent component(&engine, TEST_FILE("customVariantTypes.qml")); VERIFY_ERRORS(0); @@ -489,7 +495,7 @@ void tst_qmlparser::customVariantTypes() QCOMPARE(object->customType().a, 10); } -void tst_qmlparser::valueTypes() +void tst_qmllanguage::valueTypes() { QmlComponent component(&engine, TEST_FILE("valueTypes.qml")); VERIFY_ERRORS(0); @@ -515,7 +521,7 @@ void tst_qmlparser::valueTypes() QCOMPARE(p2.read(), QVariant(13)); } -void tst_qmlparser::cppnamespace() +void tst_qmllanguage::cppnamespace() { QmlComponent component(&engine, TEST_FILE("cppnamespace.qml")); VERIFY_ERRORS(0); @@ -524,7 +530,7 @@ void tst_qmlparser::cppnamespace() delete object; } -void tst_qmlparser::aliasProperties() +void tst_qmllanguage::aliasProperties() { // Simple "int" alias { @@ -607,7 +613,7 @@ public: }; // Check that first child of qml is of given type. Empty type insists on error. -void tst_qmlparser::testType(const QString& qml, const QString& type) +void tst_qmllanguage::testType(const QString& qml, const QString& type) { QmlComponent component(&engine, qml.toUtf8(), TEST_FILE("empty.qml")); // just a file for relative local imports @@ -630,7 +636,7 @@ QML_DEFINE_TYPE(com.nokia.Test, 1, 8, 9, Test, TestType2) QML_DEFINE_TYPE(com.nokia.Test, 1, 12, 13, Test, TestType2) QML_DEFINE_TYPE(com.nokia.Test, 1, 9, 11, OldTest, TestType) -void tst_qmlparser::importsBuiltin_data() +void tst_qmllanguage::importsBuiltin_data() { QTest::addColumn<QString>("qml"); QTest::addColumn<QString>("type"); @@ -726,14 +732,14 @@ void tst_qmlparser::importsBuiltin_data() << ""; } -void tst_qmlparser::importsBuiltin() +void tst_qmllanguage::importsBuiltin() { QFETCH(QString, qml); QFETCH(QString, type); testType(qml,type); } -void tst_qmlparser::importsLocal_data() +void tst_qmllanguage::importsLocal_data() { QTest::addColumn<QString>("qml"); QTest::addColumn<QString>("type"); @@ -758,14 +764,14 @@ void tst_qmlparser::importsLocal_data() << "TestType"; } -void tst_qmlparser::importsLocal() +void tst_qmllanguage::importsLocal() { QFETCH(QString, qml); QFETCH(QString, type); testType(qml,type); } -void tst_qmlparser::importsInstalled_data() +void tst_qmllanguage::importsInstalled_data() { QTest::addColumn<QString>("qml"); QTest::addColumn<QString>("type"); @@ -781,7 +787,7 @@ void tst_qmlparser::importsInstalled_data() << "QFxText"; } -void tst_qmlparser::importsInstalled() +void tst_qmllanguage::importsInstalled() { QFETCH(QString, qml); QFETCH(QString, type); @@ -789,7 +795,7 @@ void tst_qmlparser::importsInstalled() } -void tst_qmlparser::importsOrder_data() +void tst_qmllanguage::importsOrder_data() { QTest::addColumn<QString>("qml"); QTest::addColumn<QString>("type"); @@ -840,18 +846,18 @@ void tst_qmlparser::importsOrder_data() << "QFxImage"; } -void tst_qmlparser::importsOrder() +void tst_qmllanguage::importsOrder() { QFETCH(QString, qml); QFETCH(QString, type); testType(qml,type); } -void tst_qmlparser::crash1() +void tst_qmllanguage::crash1() { QmlComponent component(&engine, "Component {}"); } -QTEST_MAIN(tst_qmlparser) +QTEST_MAIN(tst_qmllanguage) -#include "tst_qmlparser.moc" +#include "tst_qmllanguage.moc" |