From 4d89a76ee9d4756eb1d1171dc620a202234a9fc9 Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Wed, 23 Sep 2009 11:32:45 +1000 Subject: Move test data into data subdir --- tests/auto/declarative/qmlparser/Alias.qml | 8 ----- tests/auto/declarative/qmlparser/MyComponent.qml | 6 ---- .../declarative/qmlparser/MyContainerComponent.qml | 5 --- tests/auto/declarative/qmlparser/alias.1.qml | 8 ----- tests/auto/declarative/qmlparser/alias.2.qml | 8 ----- tests/auto/declarative/qmlparser/alias.3.qml | 10 ------ .../declarative/qmlparser/assignBasicTypes.qml | 26 --------------- .../qmlparser/assignLiteralSignalProperty.qml | 4 --- .../declarative/qmlparser/assignObjectToSignal.qml | 4 --- .../qmlparser/assignObjectToVariant.qml | 6 ---- .../declarative/qmlparser/assignQmlComponent.qml | 4 --- tests/auto/declarative/qmlparser/assignSignal.qml | 5 --- .../declarative/qmlparser/assignTypeExtremes.qml | 5 --- .../declarative/qmlparser/attachedProperties.qml | 5 --- .../qmlparser/autoComponentCreation.qml | 4 --- tests/auto/declarative/qmlparser/cppnamespace.qml | 4 --- .../qmlparser/customParserIdNotAllowed.errors.txt | 1 - .../qmlparser/customParserIdNotAllowed.qml | 5 --- .../declarative/qmlparser/customParserTypes.qml | 5 --- .../declarative/qmlparser/customVariantTypes.qml | 4 --- tests/auto/declarative/qmlparser/data/Alias.qml | 8 +++++ .../declarative/qmlparser/data/MyComponent.qml | 6 ++++ .../qmlparser/data/MyContainerComponent.qml | 5 +++ tests/auto/declarative/qmlparser/data/alias.1.qml | 8 +++++ tests/auto/declarative/qmlparser/data/alias.2.qml | 8 +++++ tests/auto/declarative/qmlparser/data/alias.3.qml | 10 ++++++ .../qmlparser/data/assignBasicTypes.qml | 26 +++++++++++++++ .../qmlparser/data/assignLiteralSignalProperty.qml | 4 +++ .../qmlparser/data/assignObjectToSignal.qml | 4 +++ .../qmlparser/data/assignObjectToVariant.qml | 6 ++++ .../qmlparser/data/assignQmlComponent.qml | 4 +++ .../declarative/qmlparser/data/assignSignal.qml | 5 +++ .../qmlparser/data/assignTypeExtremes.qml | 5 +++ .../qmlparser/data/attachedProperties.qml | 5 +++ .../qmlparser/data/autoComponentCreation.qml | 4 +++ .../declarative/qmlparser/data/cppnamespace.qml | 4 +++ .../data/customParserIdNotAllowed.errors.txt | 1 + .../qmlparser/data/customParserIdNotAllowed.qml | 5 +++ .../qmlparser/data/customParserTypes.qml | 5 +++ .../qmlparser/data/customVariantTypes.qml | 4 +++ .../qmlparser/data/duplicateIDs.errors.txt | 1 + .../declarative/qmlparser/data/duplicateIDs.qml | 6 ++++ .../declarative/qmlparser/data/dynamicObject.1.qml | 8 +++++ .../qmlparser/data/dynamicProperties.qml | 13 ++++++++ .../qmlparser/data/dynamicSignalsAndSlots.qml | 7 ++++ .../declarative/qmlparser/data/empty.errors.txt | 2 ++ tests/auto/declarative/qmlparser/data/empty.qml | 0 .../qmlparser/data/failingComponent.errors.txt | 1 + .../qmlparser/data/failingComponentTest.qml | 4 +++ .../qmlparser/data/fakeDotProperty.errors.txt | 1 + .../declarative/qmlparser/data/fakeDotProperty.qml | 4 +++ .../qmlparser/data/finalOverride.errors.txt | 1 + .../declarative/qmlparser/data/finalOverride.qml | 4 +++ .../auto/declarative/qmlparser/data/idProperty.qml | 8 +++++ .../data/importNamespaceConflict.errors.txt | 1 + .../qmlparser/data/importNamespaceConflict.qml | 4 +++ .../data/importVersionMissingBuiltIn.errors.txt | 1 + .../qmlparser/data/importVersionMissingBuiltIn.qml | 7 ++++ .../data/importVersionMissingInstalled.errors.txt | 1 + .../data/importVersionMissingInstalled.qml | 3 ++ .../qmlparser/data/inlineQmlComponents.qml | 10 ++++++ .../qmlparser/data/interfaceProperty.qml | 5 +++ .../declarative/qmlparser/data/interfaceQList.qml | 7 ++++ .../qmlparser/data/interfaceQmlList.qml | 7 ++++ .../qmlparser/data/invalidID.2.errors.txt | 2 ++ .../declarative/qmlparser/data/invalidID.2.qml | 5 +++ .../qmlparser/data/invalidID.3.errors.txt | 1 + .../declarative/qmlparser/data/invalidID.3.qml | 5 +++ .../qmlparser/data/invalidID.4.errors.txt | 1 + .../declarative/qmlparser/data/invalidID.4.qml | 6 ++++ .../qmlparser/data/invalidID.5.errors.txt | 1 + .../declarative/qmlparser/data/invalidID.5.qml | 6 ++++ .../qmlparser/data/invalidID.6.errors.txt | 1 + .../declarative/qmlparser/data/invalidID.6.qml | 5 +++ .../qmlparser/data/invalidID.errors.txt | 1 + .../auto/declarative/qmlparser/data/invalidID.qml | 4 +++ .../lib/com/nokia/installedtest/InstalledTest.qml | 2 ++ .../lib/com/nokia/installedtest/InstalledTest2.qml | 2 ++ .../data/lib/com/nokia/installedtest/qmldir | 3 ++ .../qmlparser/data/listAssignment.1.errors.txt | 1 + .../qmlparser/data/listAssignment.1.qml | 4 +++ .../qmlparser/data/listAssignment.2.errors.txt | 2 ++ .../qmlparser/data/listAssignment.2.qml | 4 +++ .../qmlparser/data/listAssignment.3.errors.txt | 1 + .../qmlparser/data/listAssignment.3.qml | 6 ++++ .../qmlparser/data/listItemDeleteSelf.qml | 38 ++++++++++++++++++++++ .../qmlparser/data/missingObject.errors.txt | 1 + .../declarative/qmlparser/data/missingObject.qml | 1 + .../qmlparser/data/missingSignal.errors.txt | 1 + .../declarative/qmlparser/data/missingSignal.qml | 5 +++ .../data/nonexistantProperty.1.errors.txt | 1 + .../qmlparser/data/nonexistantProperty.1.qml | 2 ++ .../data/nonexistantProperty.2.errors.txt | 1 + .../qmlparser/data/nonexistantProperty.2.qml | 4 +++ .../data/nonexistantProperty.3.errors.txt | 1 + .../qmlparser/data/nonexistantProperty.3.qml | 4 +++ .../data/nonexistantProperty.4.errors.txt | 1 + .../qmlparser/data/nonexistantProperty.4.qml | 4 +++ .../data/nonexistantProperty.5.errors.txt | 1 + .../qmlparser/data/nonexistantProperty.5.qml | 4 +++ .../data/nonexistantProperty.6.errors.txt | 1 + .../qmlparser/data/nonexistantProperty.6.qml | 4 +++ .../qmlparser/data/nullDotProperty.errors.txt | 1 + .../declarative/qmlparser/data/nullDotProperty.qml | 4 +++ .../qmlparser/data/propertyValueSource.qml | 4 +++ .../qmlparser/data/readOnly.1.errors.txt | 1 + .../auto/declarative/qmlparser/data/readOnly.1.qml | 4 +++ .../qmlparser/data/readOnly.2.errors.txt | 1 + .../auto/declarative/qmlparser/data/readOnly.2.qml | 4 +++ .../qmlparser/data/rootAsQmlComponent.qml | 6 ++++ .../declarative/qmlparser/data/simpleBindings.qml | 18 ++++++++++ .../declarative/qmlparser/data/simpleContainer.qml | 5 +++ .../declarative/qmlparser/data/simpleObject.qml | 2 ++ .../declarative/qmlparser/data/subdir/Test.qml | 2 ++ .../qmlparser/data/unregisteredObject.errors.txt | 1 + .../qmlparser/data/unregisteredObject.qml | 2 ++ .../qmlparser/data/unsupportedProperty.errors.txt | 1 + .../qmlparser/data/unsupportedProperty.qml | 4 +++ .../auto/declarative/qmlparser/data/valueTypes.qml | 13 ++++++++ .../qmlparser/data/wrongType.1.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.1.qml | 4 +++ .../qmlparser/data/wrongType.10.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.10.qml | 5 +++ .../qmlparser/data/wrongType.11.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.11.qml | 5 +++ .../qmlparser/data/wrongType.12.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.12.qml | 5 +++ .../qmlparser/data/wrongType.13.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.13.qml | 4 +++ .../qmlparser/data/wrongType.14.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.14.qml | 5 +++ .../qmlparser/data/wrongType.2.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.2.qml | 4 +++ .../qmlparser/data/wrongType.3.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.3.qml | 4 +++ .../qmlparser/data/wrongType.4.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.4.qml | 4 +++ .../qmlparser/data/wrongType.5.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.5.qml | 5 +++ .../qmlparser/data/wrongType.6.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.6.qml | 5 +++ .../qmlparser/data/wrongType.7.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.7.qml | 5 +++ .../qmlparser/data/wrongType.8.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.8.qml | 5 +++ .../qmlparser/data/wrongType.9.errors.txt | 1 + .../declarative/qmlparser/data/wrongType.9.qml | 5 +++ .../declarative/qmlparser/duplicateIDs.errors.txt | 1 - tests/auto/declarative/qmlparser/duplicateIDs.qml | 6 ---- .../auto/declarative/qmlparser/dynamicObject.1.qml | 8 ----- .../declarative/qmlparser/dynamicProperties.qml | 13 -------- .../qmlparser/dynamicSignalsAndSlots.qml | 7 ---- tests/auto/declarative/qmlparser/empty.errors.txt | 2 -- tests/auto/declarative/qmlparser/empty.qml | 0 .../qmlparser/failingComponent.errors.txt | 1 - .../declarative/qmlparser/failingComponentTest.qml | 4 --- .../qmlparser/fakeDotProperty.errors.txt | 1 - .../auto/declarative/qmlparser/fakeDotProperty.qml | 4 --- .../declarative/qmlparser/finalOverride.errors.txt | 1 - tests/auto/declarative/qmlparser/finalOverride.qml | 4 --- tests/auto/declarative/qmlparser/idProperty.qml | 8 ----- .../qmlparser/importNamespaceConflict.errors.txt | 1 - .../qmlparser/importNamespaceConflict.qml | 4 --- .../importVersionMissingBuiltIn.errors.txt | 1 - .../qmlparser/importVersionMissingBuiltIn.qml | 7 ---- .../importVersionMissingInstalled.errors.txt | 1 - .../qmlparser/importVersionMissingInstalled.qml | 3 -- .../declarative/qmlparser/inlineQmlComponents.qml | 10 ------ .../declarative/qmlparser/interfaceProperty.qml | 5 --- .../auto/declarative/qmlparser/interfaceQList.qml | 7 ---- .../declarative/qmlparser/interfaceQmlList.qml | 7 ---- .../declarative/qmlparser/invalidID.2.errors.txt | 2 -- tests/auto/declarative/qmlparser/invalidID.2.qml | 5 --- .../declarative/qmlparser/invalidID.3.errors.txt | 1 - tests/auto/declarative/qmlparser/invalidID.3.qml | 5 --- .../declarative/qmlparser/invalidID.4.errors.txt | 1 - tests/auto/declarative/qmlparser/invalidID.4.qml | 6 ---- .../declarative/qmlparser/invalidID.5.errors.txt | 1 - tests/auto/declarative/qmlparser/invalidID.5.qml | 6 ---- .../declarative/qmlparser/invalidID.6.errors.txt | 1 - tests/auto/declarative/qmlparser/invalidID.6.qml | 5 --- .../declarative/qmlparser/invalidID.errors.txt | 1 - tests/auto/declarative/qmlparser/invalidID.qml | 4 --- .../lib/com/nokia/installedtest/InstalledTest.qml | 2 -- .../lib/com/nokia/installedtest/InstalledTest2.qml | 2 -- .../qmlparser/lib/com/nokia/installedtest/qmldir | 3 -- .../qmlparser/listAssignment.1.errors.txt | 1 - .../declarative/qmlparser/listAssignment.1.qml | 4 --- .../qmlparser/listAssignment.2.errors.txt | 2 -- .../declarative/qmlparser/listAssignment.2.qml | 4 --- .../qmlparser/listAssignment.3.errors.txt | 1 - .../declarative/qmlparser/listAssignment.3.qml | 6 ---- .../declarative/qmlparser/listItemDeleteSelf.qml | 38 ---------------------- .../declarative/qmlparser/missingObject.errors.txt | 1 - tests/auto/declarative/qmlparser/missingObject.qml | 1 - .../declarative/qmlparser/missingSignal.errors.txt | 1 - tests/auto/declarative/qmlparser/missingSignal.qml | 5 --- .../qmlparser/nonexistantProperty.1.errors.txt | 1 - .../qmlparser/nonexistantProperty.1.qml | 2 -- .../qmlparser/nonexistantProperty.2.errors.txt | 1 - .../qmlparser/nonexistantProperty.2.qml | 4 --- .../qmlparser/nonexistantProperty.3.errors.txt | 1 - .../qmlparser/nonexistantProperty.3.qml | 4 --- .../qmlparser/nonexistantProperty.4.errors.txt | 1 - .../qmlparser/nonexistantProperty.4.qml | 4 --- .../qmlparser/nonexistantProperty.5.errors.txt | 1 - .../qmlparser/nonexistantProperty.5.qml | 4 --- .../qmlparser/nonexistantProperty.6.errors.txt | 1 - .../qmlparser/nonexistantProperty.6.qml | 4 --- .../qmlparser/nullDotProperty.errors.txt | 1 - .../auto/declarative/qmlparser/nullDotProperty.qml | 4 --- .../declarative/qmlparser/propertyValueSource.qml | 4 --- .../declarative/qmlparser/readOnly.1.errors.txt | 1 - tests/auto/declarative/qmlparser/readOnly.1.qml | 4 --- .../declarative/qmlparser/readOnly.2.errors.txt | 1 - tests/auto/declarative/qmlparser/readOnly.2.qml | 4 --- .../declarative/qmlparser/rootAsQmlComponent.qml | 6 ---- .../auto/declarative/qmlparser/simpleBindings.qml | 18 ---------- .../auto/declarative/qmlparser/simpleContainer.qml | 5 --- tests/auto/declarative/qmlparser/simpleObject.qml | 2 -- tests/auto/declarative/qmlparser/subdir/Test.qml | 2 -- tests/auto/declarative/qmlparser/tst_qmlparser.cpp | 6 ++-- .../qmlparser/unregisteredObject.errors.txt | 1 - .../declarative/qmlparser/unregisteredObject.qml | 2 -- .../qmlparser/unsupportedProperty.errors.txt | 1 - .../declarative/qmlparser/unsupportedProperty.qml | 4 --- tests/auto/declarative/qmlparser/valueTypes.qml | 13 -------- .../declarative/qmlparser/wrongType.1.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.1.qml | 4 --- .../declarative/qmlparser/wrongType.10.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.10.qml | 5 --- .../declarative/qmlparser/wrongType.11.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.11.qml | 5 --- .../declarative/qmlparser/wrongType.12.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.12.qml | 5 --- .../declarative/qmlparser/wrongType.13.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.13.qml | 4 --- .../declarative/qmlparser/wrongType.14.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.14.qml | 5 --- .../declarative/qmlparser/wrongType.2.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.2.qml | 4 --- .../declarative/qmlparser/wrongType.3.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.3.qml | 4 --- .../declarative/qmlparser/wrongType.4.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.4.qml | 4 --- .../declarative/qmlparser/wrongType.5.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.5.qml | 5 --- .../declarative/qmlparser/wrongType.6.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.6.qml | 5 --- .../declarative/qmlparser/wrongType.7.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.7.qml | 5 --- .../declarative/qmlparser/wrongType.8.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.8.qml | 5 --- .../declarative/qmlparser/wrongType.9.errors.txt | 1 - tests/auto/declarative/qmlparser/wrongType.9.qml | 5 --- 255 files changed, 525 insertions(+), 525 deletions(-) delete mode 100644 tests/auto/declarative/qmlparser/Alias.qml delete mode 100644 tests/auto/declarative/qmlparser/MyComponent.qml delete mode 100644 tests/auto/declarative/qmlparser/MyContainerComponent.qml delete mode 100644 tests/auto/declarative/qmlparser/alias.1.qml delete mode 100644 tests/auto/declarative/qmlparser/alias.2.qml delete mode 100644 tests/auto/declarative/qmlparser/alias.3.qml delete mode 100644 tests/auto/declarative/qmlparser/assignBasicTypes.qml delete mode 100644 tests/auto/declarative/qmlparser/assignLiteralSignalProperty.qml delete mode 100644 tests/auto/declarative/qmlparser/assignObjectToSignal.qml delete mode 100644 tests/auto/declarative/qmlparser/assignObjectToVariant.qml delete mode 100644 tests/auto/declarative/qmlparser/assignQmlComponent.qml delete mode 100644 tests/auto/declarative/qmlparser/assignSignal.qml delete mode 100644 tests/auto/declarative/qmlparser/assignTypeExtremes.qml delete mode 100644 tests/auto/declarative/qmlparser/attachedProperties.qml delete mode 100644 tests/auto/declarative/qmlparser/autoComponentCreation.qml delete mode 100644 tests/auto/declarative/qmlparser/cppnamespace.qml delete mode 100644 tests/auto/declarative/qmlparser/customParserIdNotAllowed.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/customParserIdNotAllowed.qml delete mode 100644 tests/auto/declarative/qmlparser/customParserTypes.qml delete mode 100644 tests/auto/declarative/qmlparser/customVariantTypes.qml create mode 100644 tests/auto/declarative/qmlparser/data/Alias.qml create mode 100644 tests/auto/declarative/qmlparser/data/MyComponent.qml create mode 100644 tests/auto/declarative/qmlparser/data/MyContainerComponent.qml create mode 100644 tests/auto/declarative/qmlparser/data/alias.1.qml create mode 100644 tests/auto/declarative/qmlparser/data/alias.2.qml create mode 100644 tests/auto/declarative/qmlparser/data/alias.3.qml create mode 100644 tests/auto/declarative/qmlparser/data/assignBasicTypes.qml create mode 100644 tests/auto/declarative/qmlparser/data/assignLiteralSignalProperty.qml create mode 100644 tests/auto/declarative/qmlparser/data/assignObjectToSignal.qml create mode 100644 tests/auto/declarative/qmlparser/data/assignObjectToVariant.qml create mode 100644 tests/auto/declarative/qmlparser/data/assignQmlComponent.qml create mode 100644 tests/auto/declarative/qmlparser/data/assignSignal.qml create mode 100644 tests/auto/declarative/qmlparser/data/assignTypeExtremes.qml create mode 100644 tests/auto/declarative/qmlparser/data/attachedProperties.qml create mode 100644 tests/auto/declarative/qmlparser/data/autoComponentCreation.qml create mode 100644 tests/auto/declarative/qmlparser/data/cppnamespace.qml create mode 100644 tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.qml create mode 100644 tests/auto/declarative/qmlparser/data/customParserTypes.qml create mode 100644 tests/auto/declarative/qmlparser/data/customVariantTypes.qml create mode 100644 tests/auto/declarative/qmlparser/data/duplicateIDs.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/duplicateIDs.qml create mode 100644 tests/auto/declarative/qmlparser/data/dynamicObject.1.qml create mode 100644 tests/auto/declarative/qmlparser/data/dynamicProperties.qml create mode 100644 tests/auto/declarative/qmlparser/data/dynamicSignalsAndSlots.qml create mode 100644 tests/auto/declarative/qmlparser/data/empty.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/empty.qml create mode 100644 tests/auto/declarative/qmlparser/data/failingComponent.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/failingComponentTest.qml create mode 100644 tests/auto/declarative/qmlparser/data/fakeDotProperty.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/fakeDotProperty.qml create mode 100644 tests/auto/declarative/qmlparser/data/finalOverride.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/finalOverride.qml create mode 100644 tests/auto/declarative/qmlparser/data/idProperty.qml create mode 100644 tests/auto/declarative/qmlparser/data/importNamespaceConflict.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/importNamespaceConflict.qml create mode 100644 tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.qml create mode 100644 tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.qml create mode 100644 tests/auto/declarative/qmlparser/data/inlineQmlComponents.qml create mode 100644 tests/auto/declarative/qmlparser/data/interfaceProperty.qml create mode 100644 tests/auto/declarative/qmlparser/data/interfaceQList.qml create mode 100644 tests/auto/declarative/qmlparser/data/interfaceQmlList.qml create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.2.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.2.qml create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.3.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.3.qml create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.4.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.4.qml create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.5.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.5.qml create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.6.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.6.qml create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/invalidID.qml create mode 100644 tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest.qml create mode 100644 tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest2.qml create mode 100644 tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/qmldir create mode 100644 tests/auto/declarative/qmlparser/data/listAssignment.1.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/listAssignment.1.qml create mode 100644 tests/auto/declarative/qmlparser/data/listAssignment.2.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/listAssignment.2.qml create mode 100644 tests/auto/declarative/qmlparser/data/listAssignment.3.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/listAssignment.3.qml create mode 100644 tests/auto/declarative/qmlparser/data/listItemDeleteSelf.qml create mode 100644 tests/auto/declarative/qmlparser/data/missingObject.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/missingObject.qml create mode 100644 tests/auto/declarative/qmlparser/data/missingSignal.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/missingSignal.qml create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.1.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.1.qml create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.2.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.2.qml create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.3.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.3.qml create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.4.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.4.qml create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.5.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.5.qml create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.6.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/nonexistantProperty.6.qml create mode 100644 tests/auto/declarative/qmlparser/data/nullDotProperty.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/nullDotProperty.qml create mode 100644 tests/auto/declarative/qmlparser/data/propertyValueSource.qml create mode 100644 tests/auto/declarative/qmlparser/data/readOnly.1.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/readOnly.1.qml create mode 100644 tests/auto/declarative/qmlparser/data/readOnly.2.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/readOnly.2.qml create mode 100644 tests/auto/declarative/qmlparser/data/rootAsQmlComponent.qml create mode 100644 tests/auto/declarative/qmlparser/data/simpleBindings.qml create mode 100644 tests/auto/declarative/qmlparser/data/simpleContainer.qml create mode 100644 tests/auto/declarative/qmlparser/data/simpleObject.qml create mode 100644 tests/auto/declarative/qmlparser/data/subdir/Test.qml create mode 100644 tests/auto/declarative/qmlparser/data/unregisteredObject.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/unregisteredObject.qml create mode 100644 tests/auto/declarative/qmlparser/data/unsupportedProperty.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/unsupportedProperty.qml create mode 100644 tests/auto/declarative/qmlparser/data/valueTypes.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.1.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.1.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.10.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.10.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.11.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.11.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.12.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.12.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.13.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.13.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.14.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.14.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.2.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.2.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.3.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.3.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.4.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.4.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.5.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.5.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.6.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.6.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.7.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.7.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.8.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.8.qml create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.9.errors.txt create mode 100644 tests/auto/declarative/qmlparser/data/wrongType.9.qml delete mode 100644 tests/auto/declarative/qmlparser/duplicateIDs.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/duplicateIDs.qml delete mode 100644 tests/auto/declarative/qmlparser/dynamicObject.1.qml delete mode 100644 tests/auto/declarative/qmlparser/dynamicProperties.qml delete mode 100644 tests/auto/declarative/qmlparser/dynamicSignalsAndSlots.qml delete mode 100644 tests/auto/declarative/qmlparser/empty.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/empty.qml delete mode 100644 tests/auto/declarative/qmlparser/failingComponent.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/failingComponentTest.qml delete mode 100644 tests/auto/declarative/qmlparser/fakeDotProperty.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/fakeDotProperty.qml delete mode 100644 tests/auto/declarative/qmlparser/finalOverride.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/finalOverride.qml delete mode 100644 tests/auto/declarative/qmlparser/idProperty.qml delete mode 100644 tests/auto/declarative/qmlparser/importNamespaceConflict.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/importNamespaceConflict.qml delete mode 100644 tests/auto/declarative/qmlparser/importVersionMissingBuiltIn.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/importVersionMissingBuiltIn.qml delete mode 100644 tests/auto/declarative/qmlparser/importVersionMissingInstalled.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/importVersionMissingInstalled.qml delete mode 100644 tests/auto/declarative/qmlparser/inlineQmlComponents.qml delete mode 100644 tests/auto/declarative/qmlparser/interfaceProperty.qml delete mode 100644 tests/auto/declarative/qmlparser/interfaceQList.qml delete mode 100644 tests/auto/declarative/qmlparser/interfaceQmlList.qml delete mode 100644 tests/auto/declarative/qmlparser/invalidID.2.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/invalidID.2.qml delete mode 100644 tests/auto/declarative/qmlparser/invalidID.3.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/invalidID.3.qml delete mode 100644 tests/auto/declarative/qmlparser/invalidID.4.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/invalidID.4.qml delete mode 100644 tests/auto/declarative/qmlparser/invalidID.5.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/invalidID.5.qml delete mode 100644 tests/auto/declarative/qmlparser/invalidID.6.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/invalidID.6.qml delete mode 100644 tests/auto/declarative/qmlparser/invalidID.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/invalidID.qml delete mode 100644 tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/InstalledTest.qml delete mode 100644 tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/InstalledTest2.qml delete mode 100644 tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/qmldir delete mode 100644 tests/auto/declarative/qmlparser/listAssignment.1.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/listAssignment.1.qml delete mode 100644 tests/auto/declarative/qmlparser/listAssignment.2.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/listAssignment.2.qml delete mode 100644 tests/auto/declarative/qmlparser/listAssignment.3.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/listAssignment.3.qml delete mode 100644 tests/auto/declarative/qmlparser/listItemDeleteSelf.qml delete mode 100644 tests/auto/declarative/qmlparser/missingObject.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/missingObject.qml delete mode 100644 tests/auto/declarative/qmlparser/missingSignal.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/missingSignal.qml delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.1.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.1.qml delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.2.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.2.qml delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.3.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.3.qml delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.4.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.4.qml delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.5.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.5.qml delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.6.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/nonexistantProperty.6.qml delete mode 100644 tests/auto/declarative/qmlparser/nullDotProperty.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/nullDotProperty.qml delete mode 100644 tests/auto/declarative/qmlparser/propertyValueSource.qml delete mode 100644 tests/auto/declarative/qmlparser/readOnly.1.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/readOnly.1.qml delete mode 100644 tests/auto/declarative/qmlparser/readOnly.2.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/readOnly.2.qml delete mode 100644 tests/auto/declarative/qmlparser/rootAsQmlComponent.qml delete mode 100644 tests/auto/declarative/qmlparser/simpleBindings.qml delete mode 100644 tests/auto/declarative/qmlparser/simpleContainer.qml delete mode 100644 tests/auto/declarative/qmlparser/simpleObject.qml delete mode 100644 tests/auto/declarative/qmlparser/subdir/Test.qml delete mode 100644 tests/auto/declarative/qmlparser/unregisteredObject.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/unregisteredObject.qml delete mode 100644 tests/auto/declarative/qmlparser/unsupportedProperty.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/unsupportedProperty.qml delete mode 100644 tests/auto/declarative/qmlparser/valueTypes.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.1.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.1.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.10.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.10.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.11.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.11.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.12.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.12.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.13.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.13.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.14.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.14.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.2.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.2.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.3.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.3.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.4.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.4.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.5.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.5.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.6.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.6.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.7.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.7.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.8.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.8.qml delete mode 100644 tests/auto/declarative/qmlparser/wrongType.9.errors.txt delete mode 100644 tests/auto/declarative/qmlparser/wrongType.9.qml diff --git a/tests/auto/declarative/qmlparser/Alias.qml b/tests/auto/declarative/qmlparser/Alias.qml deleted file mode 100644 index 8264e0d..0000000 --- a/tests/auto/declarative/qmlparser/Alias.qml +++ /dev/null @@ -1,8 +0,0 @@ -import Qt 4.6 - -Object { - id: Root - property int value: 1892 - property alias aliasValue: Root.value -} - diff --git a/tests/auto/declarative/qmlparser/MyComponent.qml b/tests/auto/declarative/qmlparser/MyComponent.qml deleted file mode 100644 index 1a23277..0000000 --- a/tests/auto/declarative/qmlparser/MyComponent.qml +++ /dev/null @@ -1,6 +0,0 @@ -import Test 1.0 - -MyQmlObject { - property real x; - property real y; -} diff --git a/tests/auto/declarative/qmlparser/MyContainerComponent.qml b/tests/auto/declarative/qmlparser/MyContainerComponent.qml deleted file mode 100644 index 61f54c5..0000000 --- a/tests/auto/declarative/qmlparser/MyContainerComponent.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 - -MyContainer { - property int x -} diff --git a/tests/auto/declarative/qmlparser/alias.1.qml b/tests/auto/declarative/qmlparser/alias.1.qml deleted file mode 100644 index 492d99a..0000000 --- a/tests/auto/declarative/qmlparser/alias.1.qml +++ /dev/null @@ -1,8 +0,0 @@ -import Test 1.0 -import Qt 4.6 - -Object { - id: Root - property int value: 10 - property alias valueAlias: Root.value -} diff --git a/tests/auto/declarative/qmlparser/alias.2.qml b/tests/auto/declarative/qmlparser/alias.2.qml deleted file mode 100644 index aa4d103..0000000 --- a/tests/auto/declarative/qmlparser/alias.2.qml +++ /dev/null @@ -1,8 +0,0 @@ -import Test 1.0 - -MyQmlObject { - id: Root - property alias aliasObject: Root.qmlobjectProperty - - qmlobjectProperty: MyQmlObject { value : 10 } -} diff --git a/tests/auto/declarative/qmlparser/alias.3.qml b/tests/auto/declarative/qmlparser/alias.3.qml deleted file mode 100644 index e25fbae..0000000 --- a/tests/auto/declarative/qmlparser/alias.3.qml +++ /dev/null @@ -1,10 +0,0 @@ -import Qt 4.6 - -Object { - property var other - other: Alias { id: MyAliasObject } - - property alias value: MyAliasObject.aliasValue - property alias value2: MyAliasObject.value -} - diff --git a/tests/auto/declarative/qmlparser/assignBasicTypes.qml b/tests/auto/declarative/qmlparser/assignBasicTypes.qml deleted file mode 100644 index cef9f8d..0000000 --- a/tests/auto/declarative/qmlparser/assignBasicTypes.qml +++ /dev/null @@ -1,26 +0,0 @@ -import Test 1.0 -MyTypeObject { - flagProperty: "FlagVal1 | FlagVal3" - enumProperty: "EnumVal2" - stringProperty: "Hello World!" - uintProperty: 10 - intProperty: -19 - realProperty: 23.2 - doubleProperty: -19.7 - colorProperty: "red" - dateProperty: "1982-11-25" - timeProperty: "11:11:31" - timeProperty: "11:11:32" - timeProperty: "11:11:32" - dateTimeProperty: "2009-05-12T13:22:01" - pointProperty: "99,13" - pointFProperty: "-10.1,12.3" - sizeProperty: "99x13" - sizeFProperty: "0.1x0.2" - rectProperty: "9,7,100x200" - rectFProperty: "1000.1,-10.9,400x90.99" - boolProperty: true - variantProperty: "Hello World!" - - objectProperty: MyTypeObject { intProperty: 8 } -} diff --git a/tests/auto/declarative/qmlparser/assignLiteralSignalProperty.qml b/tests/auto/declarative/qmlparser/assignLiteralSignalProperty.qml deleted file mode 100644 index 399fcea..0000000 --- a/tests/auto/declarative/qmlparser/assignLiteralSignalProperty.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - onLiteralSignal: 10 -} diff --git a/tests/auto/declarative/qmlparser/assignObjectToSignal.qml b/tests/auto/declarative/qmlparser/assignObjectToSignal.qml deleted file mode 100644 index 789cc66..0000000 --- a/tests/auto/declarative/qmlparser/assignObjectToSignal.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - onBasicSignal: MyQmlObject {} -} diff --git a/tests/auto/declarative/qmlparser/assignObjectToVariant.qml b/tests/auto/declarative/qmlparser/assignObjectToVariant.qml deleted file mode 100644 index 28c68c4..0000000 --- a/tests/auto/declarative/qmlparser/assignObjectToVariant.qml +++ /dev/null @@ -1,6 +0,0 @@ -import Test 1.0 -import Qt 4.6 -Object { - property var a; - a: MyQmlObject {} -} diff --git a/tests/auto/declarative/qmlparser/assignQmlComponent.qml b/tests/auto/declarative/qmlparser/assignQmlComponent.qml deleted file mode 100644 index 20bdc55..0000000 --- a/tests/auto/declarative/qmlparser/assignQmlComponent.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyContainer { - MyComponent { x: 10; y: 11; } -} diff --git a/tests/auto/declarative/qmlparser/assignSignal.qml b/tests/auto/declarative/qmlparser/assignSignal.qml deleted file mode 100644 index 3abc04d..0000000 --- a/tests/auto/declarative/qmlparser/assignSignal.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyQmlObject { - onBasicSignal: basicSlot() - onBasicParameterizedSignal: basicSlot(parameter) -} diff --git a/tests/auto/declarative/qmlparser/assignTypeExtremes.qml b/tests/auto/declarative/qmlparser/assignTypeExtremes.qml deleted file mode 100644 index 60ede52..0000000 --- a/tests/auto/declarative/qmlparser/assignTypeExtremes.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyTypeObject { - uintProperty: 4000000000 - intProperty: -2000000000 -} diff --git a/tests/auto/declarative/qmlparser/attachedProperties.qml b/tests/auto/declarative/qmlparser/attachedProperties.qml deleted file mode 100644 index 8343754..0000000 --- a/tests/auto/declarative/qmlparser/attachedProperties.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -import Qt 4.6 -Object { - MyQmlObject.value: 10 -} diff --git a/tests/auto/declarative/qmlparser/autoComponentCreation.qml b/tests/auto/declarative/qmlparser/autoComponentCreation.qml deleted file mode 100644 index 5d00144..0000000 --- a/tests/auto/declarative/qmlparser/autoComponentCreation.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyTypeObject { - componentProperty : MyTypeObject { realProperty: 9 } -} diff --git a/tests/auto/declarative/qmlparser/cppnamespace.qml b/tests/auto/declarative/qmlparser/cppnamespace.qml deleted file mode 100644 index e1daf3b..0000000 --- a/tests/auto/declarative/qmlparser/cppnamespace.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 - -MyNamespacedType { -} diff --git a/tests/auto/declarative/qmlparser/customParserIdNotAllowed.errors.txt b/tests/auto/declarative/qmlparser/customParserIdNotAllowed.errors.txt deleted file mode 100644 index d28c0bd..0000000 --- a/tests/auto/declarative/qmlparser/customParserIdNotAllowed.errors.txt +++ /dev/null @@ -1 +0,0 @@ -4:19:Cannot use reserved "id" property in ListModel diff --git a/tests/auto/declarative/qmlparser/customParserIdNotAllowed.qml b/tests/auto/declarative/qmlparser/customParserIdNotAllowed.qml deleted file mode 100644 index e607768..0000000 --- a/tests/auto/declarative/qmlparser/customParserIdNotAllowed.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Qt 4.6 -ListModel { - ListElement { a: 10 } - ListElement { id: Foo; a: 12 } -} diff --git a/tests/auto/declarative/qmlparser/customParserTypes.qml b/tests/auto/declarative/qmlparser/customParserTypes.qml deleted file mode 100644 index cf2f272..0000000 --- a/tests/auto/declarative/qmlparser/customParserTypes.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Qt 4.6 -ListModel { - ListElement { a: 10 } - ListElement { a: 12 } -} diff --git a/tests/auto/declarative/qmlparser/customVariantTypes.qml b/tests/auto/declarative/qmlparser/customVariantTypes.qml deleted file mode 100644 index 0263ed2..0000000 --- a/tests/auto/declarative/qmlparser/customVariantTypes.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - customType: "10" -} diff --git a/tests/auto/declarative/qmlparser/data/Alias.qml b/tests/auto/declarative/qmlparser/data/Alias.qml new file mode 100644 index 0000000..8264e0d --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/Alias.qml @@ -0,0 +1,8 @@ +import Qt 4.6 + +Object { + id: Root + property int value: 1892 + property alias aliasValue: Root.value +} + diff --git a/tests/auto/declarative/qmlparser/data/MyComponent.qml b/tests/auto/declarative/qmlparser/data/MyComponent.qml new file mode 100644 index 0000000..1a23277 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/MyComponent.qml @@ -0,0 +1,6 @@ +import Test 1.0 + +MyQmlObject { + property real x; + property real y; +} diff --git a/tests/auto/declarative/qmlparser/data/MyContainerComponent.qml b/tests/auto/declarative/qmlparser/data/MyContainerComponent.qml new file mode 100644 index 0000000..61f54c5 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/MyContainerComponent.qml @@ -0,0 +1,5 @@ +import Test 1.0 + +MyContainer { + property int x +} diff --git a/tests/auto/declarative/qmlparser/data/alias.1.qml b/tests/auto/declarative/qmlparser/data/alias.1.qml new file mode 100644 index 0000000..492d99a --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/alias.1.qml @@ -0,0 +1,8 @@ +import Test 1.0 +import Qt 4.6 + +Object { + id: Root + property int value: 10 + property alias valueAlias: Root.value +} diff --git a/tests/auto/declarative/qmlparser/data/alias.2.qml b/tests/auto/declarative/qmlparser/data/alias.2.qml new file mode 100644 index 0000000..aa4d103 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/alias.2.qml @@ -0,0 +1,8 @@ +import Test 1.0 + +MyQmlObject { + id: Root + property alias aliasObject: Root.qmlobjectProperty + + qmlobjectProperty: MyQmlObject { value : 10 } +} diff --git a/tests/auto/declarative/qmlparser/data/alias.3.qml b/tests/auto/declarative/qmlparser/data/alias.3.qml new file mode 100644 index 0000000..e25fbae --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/alias.3.qml @@ -0,0 +1,10 @@ +import Qt 4.6 + +Object { + property var other + other: Alias { id: MyAliasObject } + + property alias value: MyAliasObject.aliasValue + property alias value2: MyAliasObject.value +} + diff --git a/tests/auto/declarative/qmlparser/data/assignBasicTypes.qml b/tests/auto/declarative/qmlparser/data/assignBasicTypes.qml new file mode 100644 index 0000000..cef9f8d --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/assignBasicTypes.qml @@ -0,0 +1,26 @@ +import Test 1.0 +MyTypeObject { + flagProperty: "FlagVal1 | FlagVal3" + enumProperty: "EnumVal2" + stringProperty: "Hello World!" + uintProperty: 10 + intProperty: -19 + realProperty: 23.2 + doubleProperty: -19.7 + colorProperty: "red" + dateProperty: "1982-11-25" + timeProperty: "11:11:31" + timeProperty: "11:11:32" + timeProperty: "11:11:32" + dateTimeProperty: "2009-05-12T13:22:01" + pointProperty: "99,13" + pointFProperty: "-10.1,12.3" + sizeProperty: "99x13" + sizeFProperty: "0.1x0.2" + rectProperty: "9,7,100x200" + rectFProperty: "1000.1,-10.9,400x90.99" + boolProperty: true + variantProperty: "Hello World!" + + objectProperty: MyTypeObject { intProperty: 8 } +} diff --git a/tests/auto/declarative/qmlparser/data/assignLiteralSignalProperty.qml b/tests/auto/declarative/qmlparser/data/assignLiteralSignalProperty.qml new file mode 100644 index 0000000..399fcea --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/assignLiteralSignalProperty.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + onLiteralSignal: 10 +} diff --git a/tests/auto/declarative/qmlparser/data/assignObjectToSignal.qml b/tests/auto/declarative/qmlparser/data/assignObjectToSignal.qml new file mode 100644 index 0000000..789cc66 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/assignObjectToSignal.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + onBasicSignal: MyQmlObject {} +} diff --git a/tests/auto/declarative/qmlparser/data/assignObjectToVariant.qml b/tests/auto/declarative/qmlparser/data/assignObjectToVariant.qml new file mode 100644 index 0000000..28c68c4 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/assignObjectToVariant.qml @@ -0,0 +1,6 @@ +import Test 1.0 +import Qt 4.6 +Object { + property var a; + a: MyQmlObject {} +} diff --git a/tests/auto/declarative/qmlparser/data/assignQmlComponent.qml b/tests/auto/declarative/qmlparser/data/assignQmlComponent.qml new file mode 100644 index 0000000..20bdc55 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/assignQmlComponent.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyContainer { + MyComponent { x: 10; y: 11; } +} diff --git a/tests/auto/declarative/qmlparser/data/assignSignal.qml b/tests/auto/declarative/qmlparser/data/assignSignal.qml new file mode 100644 index 0000000..3abc04d --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/assignSignal.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyQmlObject { + onBasicSignal: basicSlot() + onBasicParameterizedSignal: basicSlot(parameter) +} diff --git a/tests/auto/declarative/qmlparser/data/assignTypeExtremes.qml b/tests/auto/declarative/qmlparser/data/assignTypeExtremes.qml new file mode 100644 index 0000000..60ede52 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/assignTypeExtremes.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyTypeObject { + uintProperty: 4000000000 + intProperty: -2000000000 +} diff --git a/tests/auto/declarative/qmlparser/data/attachedProperties.qml b/tests/auto/declarative/qmlparser/data/attachedProperties.qml new file mode 100644 index 0000000..8343754 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/attachedProperties.qml @@ -0,0 +1,5 @@ +import Test 1.0 +import Qt 4.6 +Object { + MyQmlObject.value: 10 +} diff --git a/tests/auto/declarative/qmlparser/data/autoComponentCreation.qml b/tests/auto/declarative/qmlparser/data/autoComponentCreation.qml new file mode 100644 index 0000000..5d00144 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/autoComponentCreation.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyTypeObject { + componentProperty : MyTypeObject { realProperty: 9 } +} diff --git a/tests/auto/declarative/qmlparser/data/cppnamespace.qml b/tests/auto/declarative/qmlparser/data/cppnamespace.qml new file mode 100644 index 0000000..e1daf3b --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/cppnamespace.qml @@ -0,0 +1,4 @@ +import Test 1.0 + +MyNamespacedType { +} diff --git a/tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.errors.txt b/tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.errors.txt new file mode 100644 index 0000000..d28c0bd --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.errors.txt @@ -0,0 +1 @@ +4:19:Cannot use reserved "id" property in ListModel diff --git a/tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.qml b/tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.qml new file mode 100644 index 0000000..e607768 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/customParserIdNotAllowed.qml @@ -0,0 +1,5 @@ +import Qt 4.6 +ListModel { + ListElement { a: 10 } + ListElement { id: Foo; a: 12 } +} diff --git a/tests/auto/declarative/qmlparser/data/customParserTypes.qml b/tests/auto/declarative/qmlparser/data/customParserTypes.qml new file mode 100644 index 0000000..cf2f272 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/customParserTypes.qml @@ -0,0 +1,5 @@ +import Qt 4.6 +ListModel { + ListElement { a: 10 } + ListElement { a: 12 } +} diff --git a/tests/auto/declarative/qmlparser/data/customVariantTypes.qml b/tests/auto/declarative/qmlparser/data/customVariantTypes.qml new file mode 100644 index 0000000..0263ed2 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/customVariantTypes.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + customType: "10" +} diff --git a/tests/auto/declarative/qmlparser/data/duplicateIDs.errors.txt b/tests/auto/declarative/qmlparser/data/duplicateIDs.errors.txt new file mode 100644 index 0000000..66241cf --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/duplicateIDs.errors.txt @@ -0,0 +1 @@ +4:19:id is not unique diff --git a/tests/auto/declarative/qmlparser/data/duplicateIDs.qml b/tests/auto/declarative/qmlparser/data/duplicateIDs.qml new file mode 100644 index 0000000..9605b5b --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/duplicateIDs.qml @@ -0,0 +1,6 @@ +import Test 1.0 +MyContainer { + MyQmlObject { id: MyID } + MyQmlObject { id: MyID } +} + diff --git a/tests/auto/declarative/qmlparser/data/dynamicObject.1.qml b/tests/auto/declarative/qmlparser/data/dynamicObject.1.qml new file mode 100644 index 0000000..85d1052 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/dynamicObject.1.qml @@ -0,0 +1,8 @@ +import Test 1.0 +import Qt 4.6 +PropertyChanges { + propa: a + 10 + propb: Math.min(a, 10) + propc: MyPropertyValueSource {} + onPropA: a +} diff --git a/tests/auto/declarative/qmlparser/data/dynamicProperties.qml b/tests/auto/declarative/qmlparser/data/dynamicProperties.qml new file mode 100644 index 0000000..f93e446 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/dynamicProperties.qml @@ -0,0 +1,13 @@ +import Test 1.0 +import Qt 4.6 +Object { + default property int intProperty : 10 + property bool boolProperty: false + property double doubleProperty: -10.1 + property real realProperty: -19.9 + property string stringProperty: "Hello World!" + property color colorProperty: "red" + property date dateProperty: "1945-09-02" + property var varProperty: "Hello World!" + property variant variantProperty: 12 +} diff --git a/tests/auto/declarative/qmlparser/data/dynamicSignalsAndSlots.qml b/tests/auto/declarative/qmlparser/data/dynamicSignalsAndSlots.qml new file mode 100644 index 0000000..b0ca970 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/dynamicSignalsAndSlots.qml @@ -0,0 +1,7 @@ +import Qt 4.6 +Object { + signal signal1 + function slot1() {} + signal signal2 + function slot2() {} +} diff --git a/tests/auto/declarative/qmlparser/data/empty.errors.txt b/tests/auto/declarative/qmlparser/data/empty.errors.txt new file mode 100644 index 0000000..d416e76 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/empty.errors.txt @@ -0,0 +1,2 @@ +0:0:Expected token `numeric literal' +0:0:Expected a qualified name id diff --git a/tests/auto/declarative/qmlparser/data/empty.qml b/tests/auto/declarative/qmlparser/data/empty.qml new file mode 100644 index 0000000..e69de29 diff --git a/tests/auto/declarative/qmlparser/data/failingComponent.errors.txt b/tests/auto/declarative/qmlparser/data/failingComponent.errors.txt new file mode 100644 index 0000000..0cf0ef3 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/failingComponent.errors.txt @@ -0,0 +1 @@ +3:5:Type FailingComponent unavailable diff --git a/tests/auto/declarative/qmlparser/data/failingComponentTest.qml b/tests/auto/declarative/qmlparser/data/failingComponentTest.qml new file mode 100644 index 0000000..74a6acf --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/failingComponentTest.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyContainer { + FailingComponent {} +} diff --git a/tests/auto/declarative/qmlparser/data/fakeDotProperty.errors.txt b/tests/auto/declarative/qmlparser/data/fakeDotProperty.errors.txt new file mode 100644 index 0000000..e56ad3a --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/fakeDotProperty.errors.txt @@ -0,0 +1 @@ +3:5:Invalid property access diff --git a/tests/auto/declarative/qmlparser/data/fakeDotProperty.qml b/tests/auto/declarative/qmlparser/data/fakeDotProperty.qml new file mode 100644 index 0000000..d971eee --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/fakeDotProperty.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + value.something: "hello" +} diff --git a/tests/auto/declarative/qmlparser/data/finalOverride.errors.txt b/tests/auto/declarative/qmlparser/data/finalOverride.errors.txt new file mode 100644 index 0000000..49e06cb --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/finalOverride.errors.txt @@ -0,0 +1 @@ +3:5:Cannot override FINAL property diff --git a/tests/auto/declarative/qmlparser/data/finalOverride.qml b/tests/auto/declarative/qmlparser/data/finalOverride.qml new file mode 100644 index 0000000..a84393a --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/finalOverride.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + property int value: 10 +} diff --git a/tests/auto/declarative/qmlparser/data/idProperty.qml b/tests/auto/declarative/qmlparser/data/idProperty.qml new file mode 100644 index 0000000..a413c0b --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/idProperty.qml @@ -0,0 +1,8 @@ +import Test 1.0 +MyContainer { + property var object : MyObjectId + + MyTypeObject { + id: "MyObjectId" + } +} diff --git a/tests/auto/declarative/qmlparser/data/importNamespaceConflict.errors.txt b/tests/auto/declarative/qmlparser/data/importNamespaceConflict.errors.txt new file mode 100644 index 0000000..231998d --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/importNamespaceConflict.errors.txt @@ -0,0 +1 @@ +4:1:Namespace Rectangle cannot be used as a type diff --git a/tests/auto/declarative/qmlparser/data/importNamespaceConflict.qml b/tests/auto/declarative/qmlparser/data/importNamespaceConflict.qml new file mode 100644 index 0000000..cd112af --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/importNamespaceConflict.qml @@ -0,0 +1,4 @@ +import Test 1.0 as Rectangle +import Qt 4.6 + +Rectangle { } diff --git a/tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.errors.txt b/tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.errors.txt new file mode 100644 index 0000000..2235cbc --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.errors.txt @@ -0,0 +1 @@ +SHOULD GIVE AN ERROR ABOUT MISSING VERSION diff --git a/tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.qml b/tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.qml new file mode 100644 index 0000000..23ed566 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/importVersionMissingBuiltIn.qml @@ -0,0 +1,7 @@ +import Test as S + +S.MyQmlObject { + property real x; + property real y; +} + diff --git a/tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.errors.txt b/tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.errors.txt new file mode 100644 index 0000000..2235cbc --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.errors.txt @@ -0,0 +1 @@ +SHOULD GIVE AN ERROR ABOUT MISSING VERSION diff --git a/tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.qml b/tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.qml new file mode 100644 index 0000000..97ec222 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/importVersionMissingInstalled.qml @@ -0,0 +1,3 @@ +import com.nokia.installedtest as T + +T.InstalledTest {} diff --git a/tests/auto/declarative/qmlparser/data/inlineQmlComponents.qml b/tests/auto/declarative/qmlparser/data/inlineQmlComponents.qml new file mode 100644 index 0000000..79ceda6 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/inlineQmlComponents.qml @@ -0,0 +1,10 @@ +import Test 1.0 +import Qt 4.6 +MyContainer { + Component { + id: MyComponent + MyQmlObject { + value: 11 + } + } +} diff --git a/tests/auto/declarative/qmlparser/data/interfaceProperty.qml b/tests/auto/declarative/qmlparser/data/interfaceProperty.qml new file mode 100644 index 0000000..70879ff --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/interfaceProperty.qml @@ -0,0 +1,5 @@ +import Test 1.0 +import Qt 4.6 +MyQmlObject { + interfaceProperty: MyQmlObject {} +} diff --git a/tests/auto/declarative/qmlparser/data/interfaceQList.qml b/tests/auto/declarative/qmlparser/data/interfaceQList.qml new file mode 100644 index 0000000..c87dfae --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/interfaceQList.qml @@ -0,0 +1,7 @@ +import Test 1.0 +MyContainer { + qlistInterfaces: [ + MyQmlObject {}, + MyQmlObject {} + ] +} diff --git a/tests/auto/declarative/qmlparser/data/interfaceQmlList.qml b/tests/auto/declarative/qmlparser/data/interfaceQmlList.qml new file mode 100644 index 0000000..8392bea --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/interfaceQmlList.qml @@ -0,0 +1,7 @@ +import Test 1.0 +MyContainer { + qmllistInterfaces: [ + MyQmlObject {}, + MyQmlObject {} + ] +} diff --git a/tests/auto/declarative/qmlparser/data/invalidID.2.errors.txt b/tests/auto/declarative/qmlparser/data/invalidID.2.errors.txt new file mode 100644 index 0000000..56e3eeb --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.2.errors.txt @@ -0,0 +1,2 @@ +3:5:"" is not a valid object id + diff --git a/tests/auto/declarative/qmlparser/data/invalidID.2.qml b/tests/auto/declarative/qmlparser/data/invalidID.2.qml new file mode 100644 index 0000000..4fb3b29 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.2.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyQmlObject { + id: "" +} + diff --git a/tests/auto/declarative/qmlparser/data/invalidID.3.errors.txt b/tests/auto/declarative/qmlparser/data/invalidID.3.errors.txt new file mode 100644 index 0000000..bb811cf --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.3.errors.txt @@ -0,0 +1 @@ +3:5:Invalid use of id property diff --git a/tests/auto/declarative/qmlparser/data/invalidID.3.qml b/tests/auto/declarative/qmlparser/data/invalidID.3.qml new file mode 100644 index 0000000..6684172 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.3.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyQmlObject { + id.other: 10 +} + diff --git a/tests/auto/declarative/qmlparser/data/invalidID.4.errors.txt b/tests/auto/declarative/qmlparser/data/invalidID.4.errors.txt new file mode 100644 index 0000000..cfe8756 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.4.errors.txt @@ -0,0 +1 @@ +4:5:Invalid use of id property diff --git a/tests/auto/declarative/qmlparser/data/invalidID.4.qml b/tests/auto/declarative/qmlparser/data/invalidID.4.qml new file mode 100644 index 0000000..1f15fce --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.4.qml @@ -0,0 +1,6 @@ +import Test 1.0 +MyQmlObject { + id: Hello + id: World +} + diff --git a/tests/auto/declarative/qmlparser/data/invalidID.5.errors.txt b/tests/auto/declarative/qmlparser/data/invalidID.5.errors.txt new file mode 100644 index 0000000..b0a63a0 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.5.errors.txt @@ -0,0 +1 @@ +4:9:id conflicts with namespace prefix diff --git a/tests/auto/declarative/qmlparser/data/invalidID.5.qml b/tests/auto/declarative/qmlparser/data/invalidID.5.qml new file mode 100644 index 0000000..0545b0d --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.5.qml @@ -0,0 +1,6 @@ +import Test 1.0 +import Test 1.0 as Hello +MyQmlObject { + id: Hello +} + diff --git a/tests/auto/declarative/qmlparser/data/invalidID.6.errors.txt b/tests/auto/declarative/qmlparser/data/invalidID.6.errors.txt new file mode 100644 index 0000000..861e3d7 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.6.errors.txt @@ -0,0 +1 @@ +3:9:id conflicts with type name diff --git a/tests/auto/declarative/qmlparser/data/invalidID.6.qml b/tests/auto/declarative/qmlparser/data/invalidID.6.qml new file mode 100644 index 0000000..ea34007 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.6.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyQmlObject { + id: MyQmlObject +} + diff --git a/tests/auto/declarative/qmlparser/data/invalidID.errors.txt b/tests/auto/declarative/qmlparser/data/invalidID.errors.txt new file mode 100644 index 0000000..1ca678c --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.errors.txt @@ -0,0 +1 @@ +3:5:"1" is not a valid object id diff --git a/tests/auto/declarative/qmlparser/data/invalidID.qml b/tests/auto/declarative/qmlparser/data/invalidID.qml new file mode 100644 index 0000000..04db3eb --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/invalidID.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + id: 1 +} diff --git a/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest.qml b/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest.qml new file mode 100644 index 0000000..d8a22a8 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest.qml @@ -0,0 +1,2 @@ +import Qt 4.6 +Rectangle {} diff --git a/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest2.qml b/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest2.qml new file mode 100644 index 0000000..a0706ad --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/InstalledTest2.qml @@ -0,0 +1,2 @@ +import Qt 4.6 +Text {} diff --git a/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/qmldir b/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/qmldir new file mode 100644 index 0000000..ba0b42a --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/lib/com/nokia/installedtest/qmldir @@ -0,0 +1,3 @@ +InstalledTest 1.0-3 InstalledTest.qml +InstalledTest 1.4 InstalledTest2.qml +Rectangle 1.5 InstalledTest2.qml diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.1.errors.txt b/tests/auto/declarative/qmlparser/data/listAssignment.1.errors.txt new file mode 100644 index 0000000..d68d487 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/listAssignment.1.errors.txt @@ -0,0 +1 @@ +3:24:Cannot assign primitives to lists diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.1.qml b/tests/auto/declarative/qmlparser/data/listAssignment.1.qml new file mode 100644 index 0000000..4240425 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/listAssignment.1.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyContainer { + qmllistInterfaces: 1 +} diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.2.errors.txt b/tests/auto/declarative/qmlparser/data/listAssignment.2.errors.txt new file mode 100644 index 0000000..8b40aa3 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/listAssignment.2.errors.txt @@ -0,0 +1,2 @@ +3:15:Cannot assign primitives to lists + diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.2.qml b/tests/auto/declarative/qmlparser/data/listAssignment.2.qml new file mode 100644 index 0000000..e3baadb --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/listAssignment.2.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyContainer { + children: 2 +} diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.3.errors.txt b/tests/auto/declarative/qmlparser/data/listAssignment.3.errors.txt new file mode 100644 index 0000000..8c7b7e9 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/listAssignment.3.errors.txt @@ -0,0 +1 @@ +4:15:Can only assign one binding to lists diff --git a/tests/auto/declarative/qmlparser/data/listAssignment.3.qml b/tests/auto/declarative/qmlparser/data/listAssignment.3.qml new file mode 100644 index 0000000..00c4c6b --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/listAssignment.3.qml @@ -0,0 +1,6 @@ +import Test 1.0 +MyContainer { + children: childBinding.expression + children: childBinding2.expression +} + diff --git a/tests/auto/declarative/qmlparser/data/listItemDeleteSelf.qml b/tests/auto/declarative/qmlparser/data/listItemDeleteSelf.qml new file mode 100644 index 0000000..fa2e831 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/listItemDeleteSelf.qml @@ -0,0 +1,38 @@ +import Qt 4.6 + +Item { + ListModel { + id: FruitModel + ListElement { + name: "Apple" + cost: 2.45 + } + ListElement { + name: "Orange" + cost: 3.25 + } + ListElement { + name: "Banana" + cost: 1.95 + } + } + + Component { + id: FruitDelegate + Item { + width: 200; height: 50 + Text { text: name } + Text { text: '$'+cost; anchors.right: parent.right } + MouseRegion { + anchors.fill: parent + onClicked: FruitModel.remove(index) + } + } + } + + ListView { + model: FruitModel + delegate: FruitDelegate + anchors.fill: parent + } +} diff --git a/tests/auto/declarative/qmlparser/data/missingObject.errors.txt b/tests/auto/declarative/qmlparser/data/missingObject.errors.txt new file mode 100644 index 0000000..b31b562 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/missingObject.errors.txt @@ -0,0 +1 @@ +1:10:Expected token `{' diff --git a/tests/auto/declarative/qmlparser/data/missingObject.qml b/tests/auto/declarative/qmlparser/data/missingObject.qml new file mode 100644 index 0000000..2f17045 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/missingObject.qml @@ -0,0 +1 @@ +something: 24 diff --git a/tests/auto/declarative/qmlparser/data/missingSignal.errors.txt b/tests/auto/declarative/qmlparser/data/missingSignal.errors.txt new file mode 100644 index 0000000..e243ae5 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/missingSignal.errors.txt @@ -0,0 +1 @@ +4:5:Cannot assign to non-existant property "onClicked" diff --git a/tests/auto/declarative/qmlparser/data/missingSignal.qml b/tests/auto/declarative/qmlparser/data/missingSignal.qml new file mode 100644 index 0000000..fd489ca --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/missingSignal.qml @@ -0,0 +1,5 @@ +import Test 1.0 +import Qt 4.6 +Object { + onClicked: print("Hello world!") +} diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.1.errors.txt b/tests/auto/declarative/qmlparser/data/nonexistantProperty.1.errors.txt new file mode 100644 index 0000000..cfc6fc8 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.1.errors.txt @@ -0,0 +1 @@ +2:15:Cannot assign to non-existant property "something" diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.1.qml b/tests/auto/declarative/qmlparser/data/nonexistantProperty.1.qml new file mode 100644 index 0000000..df7406c --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.1.qml @@ -0,0 +1,2 @@ +import Test 1.0 +MyQmlObject { something: 24 } diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.2.errors.txt b/tests/auto/declarative/qmlparser/data/nonexistantProperty.2.errors.txt new file mode 100644 index 0000000..8b13585 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.2.errors.txt @@ -0,0 +1 @@ +3:5:Cannot assign to non-existant property "something" diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.2.qml b/tests/auto/declarative/qmlparser/data/nonexistantProperty.2.qml new file mode 100644 index 0000000..06ccd37 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.2.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + something: 24 +} diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.3.errors.txt b/tests/auto/declarative/qmlparser/data/nonexistantProperty.3.errors.txt new file mode 100644 index 0000000..8b13585 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.3.errors.txt @@ -0,0 +1 @@ +3:5:Cannot assign to non-existant property "something" diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.3.qml b/tests/auto/declarative/qmlparser/data/nonexistantProperty.3.qml new file mode 100644 index 0000000..5b08608 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.3.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + something: 1 + 1 +} diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.4.errors.txt b/tests/auto/declarative/qmlparser/data/nonexistantProperty.4.errors.txt new file mode 100644 index 0000000..8b13585 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.4.errors.txt @@ -0,0 +1 @@ +3:5:Cannot assign to non-existant property "something" diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.4.qml b/tests/auto/declarative/qmlparser/data/nonexistantProperty.4.qml new file mode 100644 index 0000000..6579191 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.4.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + something: ; +} diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.5.errors.txt b/tests/auto/declarative/qmlparser/data/nonexistantProperty.5.errors.txt new file mode 100644 index 0000000..c07f2b9 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.5.errors.txt @@ -0,0 +1 @@ +3:5:Expected a qualified name id diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.5.qml b/tests/auto/declarative/qmlparser/data/nonexistantProperty.5.qml new file mode 100644 index 0000000..37af057 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.5.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + 24 +} diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.6.errors.txt b/tests/auto/declarative/qmlparser/data/nonexistantProperty.6.errors.txt new file mode 100644 index 0000000..c02d7bd --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.6.errors.txt @@ -0,0 +1 @@ +3:5:Cannot assign to non-existant default property diff --git a/tests/auto/declarative/qmlparser/data/nonexistantProperty.6.qml b/tests/auto/declarative/qmlparser/data/nonexistantProperty.6.qml new file mode 100644 index 0000000..5cd55d0 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nonexistantProperty.6.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + MyQmlObject {} +} diff --git a/tests/auto/declarative/qmlparser/data/nullDotProperty.errors.txt b/tests/auto/declarative/qmlparser/data/nullDotProperty.errors.txt new file mode 100644 index 0000000..07a4094 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nullDotProperty.errors.txt @@ -0,0 +1 @@ +3:-1:Cannot set properties on obj as it is null diff --git a/tests/auto/declarative/qmlparser/data/nullDotProperty.qml b/tests/auto/declarative/qmlparser/data/nullDotProperty.qml new file mode 100644 index 0000000..4e36779 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/nullDotProperty.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyDotPropertyObject { + obj.value: 1 +} diff --git a/tests/auto/declarative/qmlparser/data/propertyValueSource.qml b/tests/auto/declarative/qmlparser/data/propertyValueSource.qml new file mode 100644 index 0000000..ad71fcf --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/propertyValueSource.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyTypeObject { + intProperty : MyPropertyValueSource {} +} diff --git a/tests/auto/declarative/qmlparser/data/readOnly.1.errors.txt b/tests/auto/declarative/qmlparser/data/readOnly.1.errors.txt new file mode 100644 index 0000000..b8c3404 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/readOnly.1.errors.txt @@ -0,0 +1 @@ +3:21:Invalid property assignment: "readOnlyString" is a read-only property diff --git a/tests/auto/declarative/qmlparser/data/readOnly.1.qml b/tests/auto/declarative/qmlparser/data/readOnly.1.qml new file mode 100644 index 0000000..60757bd --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/readOnly.1.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + readOnlyString: "Hello World" +} diff --git a/tests/auto/declarative/qmlparser/data/readOnly.2.errors.txt b/tests/auto/declarative/qmlparser/data/readOnly.2.errors.txt new file mode 100644 index 0000000..d857a04 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/readOnly.2.errors.txt @@ -0,0 +1 @@ +3:5:Invalid property assignment: "readOnlyString" is a read-only property diff --git a/tests/auto/declarative/qmlparser/data/readOnly.2.qml b/tests/auto/declarative/qmlparser/data/readOnly.2.qml new file mode 100644 index 0000000..8f1633c --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/readOnly.2.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + readOnlyString: "Hello" + "World" +} diff --git a/tests/auto/declarative/qmlparser/data/rootAsQmlComponent.qml b/tests/auto/declarative/qmlparser/data/rootAsQmlComponent.qml new file mode 100644 index 0000000..8d72cd3 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/rootAsQmlComponent.qml @@ -0,0 +1,6 @@ +import Test 1.0 +MyContainerComponent { + x: 11 + MyQmlObject {} + MyQmlObject {} +} diff --git a/tests/auto/declarative/qmlparser/data/simpleBindings.qml b/tests/auto/declarative/qmlparser/data/simpleBindings.qml new file mode 100644 index 0000000..74867b3 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/simpleBindings.qml @@ -0,0 +1,18 @@ +import Test 1.0 +MyTypeObject { + id: Me + property int v1: 10 + property int v2: 11 + + property int value1 + property int value2 + property int value3 + property int value4 + + value1: v1 + value2: Me.v1 + value3: v1 + v2 + value4: Math.min(v1, v2) + + objectProperty: Me +} diff --git a/tests/auto/declarative/qmlparser/data/simpleContainer.qml b/tests/auto/declarative/qmlparser/data/simpleContainer.qml new file mode 100644 index 0000000..c3a795f --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/simpleContainer.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyContainer { + MyQmlObject {} + MyQmlObject {} +} diff --git a/tests/auto/declarative/qmlparser/data/simpleObject.qml b/tests/auto/declarative/qmlparser/data/simpleObject.qml new file mode 100644 index 0000000..30c7823 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/simpleObject.qml @@ -0,0 +1,2 @@ +import Test 1.0 +MyQmlObject {} diff --git a/tests/auto/declarative/qmlparser/data/subdir/Test.qml b/tests/auto/declarative/qmlparser/data/subdir/Test.qml new file mode 100644 index 0000000..c4d5905 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/subdir/Test.qml @@ -0,0 +1,2 @@ +import Qt 4.6 +Rectangle { } diff --git a/tests/auto/declarative/qmlparser/data/unregisteredObject.errors.txt b/tests/auto/declarative/qmlparser/data/unregisteredObject.errors.txt new file mode 100644 index 0000000..bc4f7f4 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/unregisteredObject.errors.txt @@ -0,0 +1 @@ +2:1:Type UnregisteredObject unavailable diff --git a/tests/auto/declarative/qmlparser/data/unregisteredObject.qml b/tests/auto/declarative/qmlparser/data/unregisteredObject.qml new file mode 100644 index 0000000..9498e31 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/unregisteredObject.qml @@ -0,0 +1,2 @@ +import Test 1.0 +UnregisteredObject {} diff --git a/tests/auto/declarative/qmlparser/data/unsupportedProperty.errors.txt b/tests/auto/declarative/qmlparser/data/unsupportedProperty.errors.txt new file mode 100644 index 0000000..3a90a7d --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/unsupportedProperty.errors.txt @@ -0,0 +1 @@ +3:13:Invalid property assignment: unknown type QVariant::QMatrix diff --git a/tests/auto/declarative/qmlparser/data/unsupportedProperty.qml b/tests/auto/declarative/qmlparser/data/unsupportedProperty.qml new file mode 100644 index 0000000..9f19680 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/unsupportedProperty.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + matrix: "1,0,0,0,1,0,0,0,1" +} diff --git a/tests/auto/declarative/qmlparser/data/valueTypes.qml b/tests/auto/declarative/qmlparser/data/valueTypes.qml new file mode 100644 index 0000000..bf325a7 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/valueTypes.qml @@ -0,0 +1,13 @@ +import Test 1.0 +MyTypeObject { + rectProperty.x: 10 + rectProperty.y: 11 + rectProperty.width: rectProperty.x + 2 + rectProperty.height: 13 + + intProperty: rectProperty.x + + onAction: { var a = rectProperty; a.x = 12; } + + rectProperty2: rectProperty +} diff --git a/tests/auto/declarative/qmlparser/data/wrongType.1.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.1.errors.txt new file mode 100644 index 0000000..ba7a076 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.1.errors.txt @@ -0,0 +1 @@ +3:12:Invalid property assignment: int expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.1.qml b/tests/auto/declarative/qmlparser/data/wrongType.1.qml new file mode 100644 index 0000000..289d37f --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.1.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + value: "hello" +} diff --git a/tests/auto/declarative/qmlparser/data/wrongType.10.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.10.errors.txt new file mode 100644 index 0000000..ae75b52 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.10.errors.txt @@ -0,0 +1 @@ +3:23:Invalid property assignment: datetime expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.10.qml b/tests/auto/declarative/qmlparser/data/wrongType.10.qml new file mode 100644 index 0000000..2cf0e50 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.10.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyTypeObject { + dateTimeProperty: 12 +} + diff --git a/tests/auto/declarative/qmlparser/data/wrongType.11.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.11.errors.txt new file mode 100644 index 0000000..23a4cda --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.11.errors.txt @@ -0,0 +1 @@ +3:20:Invalid property assignment: point expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.11.qml b/tests/auto/declarative/qmlparser/data/wrongType.11.qml new file mode 100644 index 0000000..ae77ba1 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.11.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyTypeObject { + pointProperty: "apples" +} + diff --git a/tests/auto/declarative/qmlparser/data/wrongType.12.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.12.errors.txt new file mode 100644 index 0000000..3092100 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.12.errors.txt @@ -0,0 +1 @@ +3:19:Invalid property assignment: size expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.12.qml b/tests/auto/declarative/qmlparser/data/wrongType.12.qml new file mode 100644 index 0000000..b7a366f --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.12.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyTypeObject { + sizeProperty: "red" +} + diff --git a/tests/auto/declarative/qmlparser/data/wrongType.13.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.13.errors.txt new file mode 100644 index 0000000..ba7a076 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.13.errors.txt @@ -0,0 +1 @@ +3:12:Invalid property assignment: int expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.13.qml b/tests/auto/declarative/qmlparser/data/wrongType.13.qml new file mode 100644 index 0000000..477aff1 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.13.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + value: "12" +} diff --git a/tests/auto/declarative/qmlparser/data/wrongType.14.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.14.errors.txt new file mode 100644 index 0000000..d621fdd --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.14.errors.txt @@ -0,0 +1 @@ +3:21:Invalid property assignment: string expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.14.qml b/tests/auto/declarative/qmlparser/data/wrongType.14.qml new file mode 100644 index 0000000..672d693 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.14.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyTypeObject { + stringProperty: 10 +} + diff --git a/tests/auto/declarative/qmlparser/data/wrongType.2.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.2.errors.txt new file mode 100644 index 0000000..9ff9f25 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.2.errors.txt @@ -0,0 +1 @@ +3:14:Invalid property assignment: boolean expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.2.qml b/tests/auto/declarative/qmlparser/data/wrongType.2.qml new file mode 100644 index 0000000..34b74f7 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.2.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + enabled: 5 +} diff --git a/tests/auto/declarative/qmlparser/data/wrongType.3.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.3.errors.txt new file mode 100644 index 0000000..6d971c6 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.3.errors.txt @@ -0,0 +1 @@ +3:11:Invalid property assignment: rect expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.3.qml b/tests/auto/declarative/qmlparser/data/wrongType.3.qml new file mode 100644 index 0000000..384181a --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.3.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyQmlObject { + rect: "5,5x10" +} diff --git a/tests/auto/declarative/qmlparser/data/wrongType.4.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.4.errors.txt new file mode 100644 index 0000000..ef34d0e --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.4.errors.txt @@ -0,0 +1 @@ +3:19:Invalid property assignment: unknown enumeration diff --git a/tests/auto/declarative/qmlparser/data/wrongType.4.qml b/tests/auto/declarative/qmlparser/data/wrongType.4.qml new file mode 100644 index 0000000..0787bf5 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.4.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyTypeObject { + enumProperty: "InvalidEnumName" +} diff --git a/tests/auto/declarative/qmlparser/data/wrongType.5.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.5.errors.txt new file mode 100644 index 0000000..cab10bd --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.5.errors.txt @@ -0,0 +1 @@ +3:19:Invalid property assignment: unsigned int expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.5.qml b/tests/auto/declarative/qmlparser/data/wrongType.5.qml new file mode 100644 index 0000000..c50ae9a --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.5.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyTypeObject { + uintProperty: -13 +} + diff --git a/tests/auto/declarative/qmlparser/data/wrongType.6.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.6.errors.txt new file mode 100644 index 0000000..d0a0b00 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.6.errors.txt @@ -0,0 +1 @@ +3:19:Invalid property assignment: double expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.6.qml b/tests/auto/declarative/qmlparser/data/wrongType.6.qml new file mode 100644 index 0000000..da10b78 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.6.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyTypeObject { + realProperty: "Hello" +} + diff --git a/tests/auto/declarative/qmlparser/data/wrongType.7.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.7.errors.txt new file mode 100644 index 0000000..614346b --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.7.errors.txt @@ -0,0 +1 @@ +3:20:Invalid property assignment: color expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.7.qml b/tests/auto/declarative/qmlparser/data/wrongType.7.qml new file mode 100644 index 0000000..ddc3835 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.7.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyTypeObject { + colorProperty: 12 +} + diff --git a/tests/auto/declarative/qmlparser/data/wrongType.8.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.8.errors.txt new file mode 100644 index 0000000..1773c00 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.8.errors.txt @@ -0,0 +1 @@ +3:19:Invalid property assignment: date expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.8.qml b/tests/auto/declarative/qmlparser/data/wrongType.8.qml new file mode 100644 index 0000000..a5f6756 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.8.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyTypeObject { + dateProperty: 12 +} + diff --git a/tests/auto/declarative/qmlparser/data/wrongType.9.errors.txt b/tests/auto/declarative/qmlparser/data/wrongType.9.errors.txt new file mode 100644 index 0000000..8630975 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.9.errors.txt @@ -0,0 +1 @@ +3:19:Invalid property assignment: time expected diff --git a/tests/auto/declarative/qmlparser/data/wrongType.9.qml b/tests/auto/declarative/qmlparser/data/wrongType.9.qml new file mode 100644 index 0000000..a3db732 --- /dev/null +++ b/tests/auto/declarative/qmlparser/data/wrongType.9.qml @@ -0,0 +1,5 @@ +import Test 1.0 +MyTypeObject { + timeProperty: 12 +} + diff --git a/tests/auto/declarative/qmlparser/duplicateIDs.errors.txt b/tests/auto/declarative/qmlparser/duplicateIDs.errors.txt deleted file mode 100644 index 66241cf..0000000 --- a/tests/auto/declarative/qmlparser/duplicateIDs.errors.txt +++ /dev/null @@ -1 +0,0 @@ -4:19:id is not unique diff --git a/tests/auto/declarative/qmlparser/duplicateIDs.qml b/tests/auto/declarative/qmlparser/duplicateIDs.qml deleted file mode 100644 index 9605b5b..0000000 --- a/tests/auto/declarative/qmlparser/duplicateIDs.qml +++ /dev/null @@ -1,6 +0,0 @@ -import Test 1.0 -MyContainer { - MyQmlObject { id: MyID } - MyQmlObject { id: MyID } -} - diff --git a/tests/auto/declarative/qmlparser/dynamicObject.1.qml b/tests/auto/declarative/qmlparser/dynamicObject.1.qml deleted file mode 100644 index 85d1052..0000000 --- a/tests/auto/declarative/qmlparser/dynamicObject.1.qml +++ /dev/null @@ -1,8 +0,0 @@ -import Test 1.0 -import Qt 4.6 -PropertyChanges { - propa: a + 10 - propb: Math.min(a, 10) - propc: MyPropertyValueSource {} - onPropA: a -} diff --git a/tests/auto/declarative/qmlparser/dynamicProperties.qml b/tests/auto/declarative/qmlparser/dynamicProperties.qml deleted file mode 100644 index f93e446..0000000 --- a/tests/auto/declarative/qmlparser/dynamicProperties.qml +++ /dev/null @@ -1,13 +0,0 @@ -import Test 1.0 -import Qt 4.6 -Object { - default property int intProperty : 10 - property bool boolProperty: false - property double doubleProperty: -10.1 - property real realProperty: -19.9 - property string stringProperty: "Hello World!" - property color colorProperty: "red" - property date dateProperty: "1945-09-02" - property var varProperty: "Hello World!" - property variant variantProperty: 12 -} diff --git a/tests/auto/declarative/qmlparser/dynamicSignalsAndSlots.qml b/tests/auto/declarative/qmlparser/dynamicSignalsAndSlots.qml deleted file mode 100644 index b0ca970..0000000 --- a/tests/auto/declarative/qmlparser/dynamicSignalsAndSlots.qml +++ /dev/null @@ -1,7 +0,0 @@ -import Qt 4.6 -Object { - signal signal1 - function slot1() {} - signal signal2 - function slot2() {} -} diff --git a/tests/auto/declarative/qmlparser/empty.errors.txt b/tests/auto/declarative/qmlparser/empty.errors.txt deleted file mode 100644 index d416e76..0000000 --- a/tests/auto/declarative/qmlparser/empty.errors.txt +++ /dev/null @@ -1,2 +0,0 @@ -0:0:Expected token `numeric literal' -0:0:Expected a qualified name id diff --git a/tests/auto/declarative/qmlparser/empty.qml b/tests/auto/declarative/qmlparser/empty.qml deleted file mode 100644 index e69de29..0000000 diff --git a/tests/auto/declarative/qmlparser/failingComponent.errors.txt b/tests/auto/declarative/qmlparser/failingComponent.errors.txt deleted file mode 100644 index 0cf0ef3..0000000 --- a/tests/auto/declarative/qmlparser/failingComponent.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:Type FailingComponent unavailable diff --git a/tests/auto/declarative/qmlparser/failingComponentTest.qml b/tests/auto/declarative/qmlparser/failingComponentTest.qml deleted file mode 100644 index 74a6acf..0000000 --- a/tests/auto/declarative/qmlparser/failingComponentTest.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyContainer { - FailingComponent {} -} diff --git a/tests/auto/declarative/qmlparser/fakeDotProperty.errors.txt b/tests/auto/declarative/qmlparser/fakeDotProperty.errors.txt deleted file mode 100644 index e56ad3a..0000000 --- a/tests/auto/declarative/qmlparser/fakeDotProperty.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:Invalid property access diff --git a/tests/auto/declarative/qmlparser/fakeDotProperty.qml b/tests/auto/declarative/qmlparser/fakeDotProperty.qml deleted file mode 100644 index d971eee..0000000 --- a/tests/auto/declarative/qmlparser/fakeDotProperty.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - value.something: "hello" -} diff --git a/tests/auto/declarative/qmlparser/finalOverride.errors.txt b/tests/auto/declarative/qmlparser/finalOverride.errors.txt deleted file mode 100644 index 49e06cb..0000000 --- a/tests/auto/declarative/qmlparser/finalOverride.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:Cannot override FINAL property diff --git a/tests/auto/declarative/qmlparser/finalOverride.qml b/tests/auto/declarative/qmlparser/finalOverride.qml deleted file mode 100644 index a84393a..0000000 --- a/tests/auto/declarative/qmlparser/finalOverride.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - property int value: 10 -} diff --git a/tests/auto/declarative/qmlparser/idProperty.qml b/tests/auto/declarative/qmlparser/idProperty.qml deleted file mode 100644 index a413c0b..0000000 --- a/tests/auto/declarative/qmlparser/idProperty.qml +++ /dev/null @@ -1,8 +0,0 @@ -import Test 1.0 -MyContainer { - property var object : MyObjectId - - MyTypeObject { - id: "MyObjectId" - } -} diff --git a/tests/auto/declarative/qmlparser/importNamespaceConflict.errors.txt b/tests/auto/declarative/qmlparser/importNamespaceConflict.errors.txt deleted file mode 100644 index 231998d..0000000 --- a/tests/auto/declarative/qmlparser/importNamespaceConflict.errors.txt +++ /dev/null @@ -1 +0,0 @@ -4:1:Namespace Rectangle cannot be used as a type diff --git a/tests/auto/declarative/qmlparser/importNamespaceConflict.qml b/tests/auto/declarative/qmlparser/importNamespaceConflict.qml deleted file mode 100644 index cd112af..0000000 --- a/tests/auto/declarative/qmlparser/importNamespaceConflict.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 as Rectangle -import Qt 4.6 - -Rectangle { } diff --git a/tests/auto/declarative/qmlparser/importVersionMissingBuiltIn.errors.txt b/tests/auto/declarative/qmlparser/importVersionMissingBuiltIn.errors.txt deleted file mode 100644 index 2235cbc..0000000 --- a/tests/auto/declarative/qmlparser/importVersionMissingBuiltIn.errors.txt +++ /dev/null @@ -1 +0,0 @@ -SHOULD GIVE AN ERROR ABOUT MISSING VERSION diff --git a/tests/auto/declarative/qmlparser/importVersionMissingBuiltIn.qml b/tests/auto/declarative/qmlparser/importVersionMissingBuiltIn.qml deleted file mode 100644 index 23ed566..0000000 --- a/tests/auto/declarative/qmlparser/importVersionMissingBuiltIn.qml +++ /dev/null @@ -1,7 +0,0 @@ -import Test as S - -S.MyQmlObject { - property real x; - property real y; -} - diff --git a/tests/auto/declarative/qmlparser/importVersionMissingInstalled.errors.txt b/tests/auto/declarative/qmlparser/importVersionMissingInstalled.errors.txt deleted file mode 100644 index 2235cbc..0000000 --- a/tests/auto/declarative/qmlparser/importVersionMissingInstalled.errors.txt +++ /dev/null @@ -1 +0,0 @@ -SHOULD GIVE AN ERROR ABOUT MISSING VERSION diff --git a/tests/auto/declarative/qmlparser/importVersionMissingInstalled.qml b/tests/auto/declarative/qmlparser/importVersionMissingInstalled.qml deleted file mode 100644 index 97ec222..0000000 --- a/tests/auto/declarative/qmlparser/importVersionMissingInstalled.qml +++ /dev/null @@ -1,3 +0,0 @@ -import com.nokia.installedtest as T - -T.InstalledTest {} diff --git a/tests/auto/declarative/qmlparser/inlineQmlComponents.qml b/tests/auto/declarative/qmlparser/inlineQmlComponents.qml deleted file mode 100644 index 79ceda6..0000000 --- a/tests/auto/declarative/qmlparser/inlineQmlComponents.qml +++ /dev/null @@ -1,10 +0,0 @@ -import Test 1.0 -import Qt 4.6 -MyContainer { - Component { - id: MyComponent - MyQmlObject { - value: 11 - } - } -} diff --git a/tests/auto/declarative/qmlparser/interfaceProperty.qml b/tests/auto/declarative/qmlparser/interfaceProperty.qml deleted file mode 100644 index 70879ff..0000000 --- a/tests/auto/declarative/qmlparser/interfaceProperty.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -import Qt 4.6 -MyQmlObject { - interfaceProperty: MyQmlObject {} -} diff --git a/tests/auto/declarative/qmlparser/interfaceQList.qml b/tests/auto/declarative/qmlparser/interfaceQList.qml deleted file mode 100644 index c87dfae..0000000 --- a/tests/auto/declarative/qmlparser/interfaceQList.qml +++ /dev/null @@ -1,7 +0,0 @@ -import Test 1.0 -MyContainer { - qlistInterfaces: [ - MyQmlObject {}, - MyQmlObject {} - ] -} diff --git a/tests/auto/declarative/qmlparser/interfaceQmlList.qml b/tests/auto/declarative/qmlparser/interfaceQmlList.qml deleted file mode 100644 index 8392bea..0000000 --- a/tests/auto/declarative/qmlparser/interfaceQmlList.qml +++ /dev/null @@ -1,7 +0,0 @@ -import Test 1.0 -MyContainer { - qmllistInterfaces: [ - MyQmlObject {}, - MyQmlObject {} - ] -} diff --git a/tests/auto/declarative/qmlparser/invalidID.2.errors.txt b/tests/auto/declarative/qmlparser/invalidID.2.errors.txt deleted file mode 100644 index 56e3eeb..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.2.errors.txt +++ /dev/null @@ -1,2 +0,0 @@ -3:5:"" is not a valid object id - diff --git a/tests/auto/declarative/qmlparser/invalidID.2.qml b/tests/auto/declarative/qmlparser/invalidID.2.qml deleted file mode 100644 index 4fb3b29..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.2.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyQmlObject { - id: "" -} - diff --git a/tests/auto/declarative/qmlparser/invalidID.3.errors.txt b/tests/auto/declarative/qmlparser/invalidID.3.errors.txt deleted file mode 100644 index bb811cf..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.3.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:Invalid use of id property diff --git a/tests/auto/declarative/qmlparser/invalidID.3.qml b/tests/auto/declarative/qmlparser/invalidID.3.qml deleted file mode 100644 index 6684172..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.3.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyQmlObject { - id.other: 10 -} - diff --git a/tests/auto/declarative/qmlparser/invalidID.4.errors.txt b/tests/auto/declarative/qmlparser/invalidID.4.errors.txt deleted file mode 100644 index cfe8756..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.4.errors.txt +++ /dev/null @@ -1 +0,0 @@ -4:5:Invalid use of id property diff --git a/tests/auto/declarative/qmlparser/invalidID.4.qml b/tests/auto/declarative/qmlparser/invalidID.4.qml deleted file mode 100644 index 1f15fce..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.4.qml +++ /dev/null @@ -1,6 +0,0 @@ -import Test 1.0 -MyQmlObject { - id: Hello - id: World -} - diff --git a/tests/auto/declarative/qmlparser/invalidID.5.errors.txt b/tests/auto/declarative/qmlparser/invalidID.5.errors.txt deleted file mode 100644 index b0a63a0..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.5.errors.txt +++ /dev/null @@ -1 +0,0 @@ -4:9:id conflicts with namespace prefix diff --git a/tests/auto/declarative/qmlparser/invalidID.5.qml b/tests/auto/declarative/qmlparser/invalidID.5.qml deleted file mode 100644 index 0545b0d..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.5.qml +++ /dev/null @@ -1,6 +0,0 @@ -import Test 1.0 -import Test 1.0 as Hello -MyQmlObject { - id: Hello -} - diff --git a/tests/auto/declarative/qmlparser/invalidID.6.errors.txt b/tests/auto/declarative/qmlparser/invalidID.6.errors.txt deleted file mode 100644 index 861e3d7..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.6.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:9:id conflicts with type name diff --git a/tests/auto/declarative/qmlparser/invalidID.6.qml b/tests/auto/declarative/qmlparser/invalidID.6.qml deleted file mode 100644 index ea34007..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.6.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyQmlObject { - id: MyQmlObject -} - diff --git a/tests/auto/declarative/qmlparser/invalidID.errors.txt b/tests/auto/declarative/qmlparser/invalidID.errors.txt deleted file mode 100644 index 1ca678c..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:"1" is not a valid object id diff --git a/tests/auto/declarative/qmlparser/invalidID.qml b/tests/auto/declarative/qmlparser/invalidID.qml deleted file mode 100644 index 04db3eb..0000000 --- a/tests/auto/declarative/qmlparser/invalidID.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - id: 1 -} diff --git a/tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/InstalledTest.qml b/tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/InstalledTest.qml deleted file mode 100644 index d8a22a8..0000000 --- a/tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/InstalledTest.qml +++ /dev/null @@ -1,2 +0,0 @@ -import Qt 4.6 -Rectangle {} diff --git a/tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/InstalledTest2.qml b/tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/InstalledTest2.qml deleted file mode 100644 index a0706ad..0000000 --- a/tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/InstalledTest2.qml +++ /dev/null @@ -1,2 +0,0 @@ -import Qt 4.6 -Text {} diff --git a/tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/qmldir b/tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/qmldir deleted file mode 100644 index ba0b42a..0000000 --- a/tests/auto/declarative/qmlparser/lib/com/nokia/installedtest/qmldir +++ /dev/null @@ -1,3 +0,0 @@ -InstalledTest 1.0-3 InstalledTest.qml -InstalledTest 1.4 InstalledTest2.qml -Rectangle 1.5 InstalledTest2.qml diff --git a/tests/auto/declarative/qmlparser/listAssignment.1.errors.txt b/tests/auto/declarative/qmlparser/listAssignment.1.errors.txt deleted file mode 100644 index d68d487..0000000 --- a/tests/auto/declarative/qmlparser/listAssignment.1.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:24:Cannot assign primitives to lists diff --git a/tests/auto/declarative/qmlparser/listAssignment.1.qml b/tests/auto/declarative/qmlparser/listAssignment.1.qml deleted file mode 100644 index 4240425..0000000 --- a/tests/auto/declarative/qmlparser/listAssignment.1.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyContainer { - qmllistInterfaces: 1 -} diff --git a/tests/auto/declarative/qmlparser/listAssignment.2.errors.txt b/tests/auto/declarative/qmlparser/listAssignment.2.errors.txt deleted file mode 100644 index 8b40aa3..0000000 --- a/tests/auto/declarative/qmlparser/listAssignment.2.errors.txt +++ /dev/null @@ -1,2 +0,0 @@ -3:15:Cannot assign primitives to lists - diff --git a/tests/auto/declarative/qmlparser/listAssignment.2.qml b/tests/auto/declarative/qmlparser/listAssignment.2.qml deleted file mode 100644 index e3baadb..0000000 --- a/tests/auto/declarative/qmlparser/listAssignment.2.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyContainer { - children: 2 -} diff --git a/tests/auto/declarative/qmlparser/listAssignment.3.errors.txt b/tests/auto/declarative/qmlparser/listAssignment.3.errors.txt deleted file mode 100644 index 8c7b7e9..0000000 --- a/tests/auto/declarative/qmlparser/listAssignment.3.errors.txt +++ /dev/null @@ -1 +0,0 @@ -4:15:Can only assign one binding to lists diff --git a/tests/auto/declarative/qmlparser/listAssignment.3.qml b/tests/auto/declarative/qmlparser/listAssignment.3.qml deleted file mode 100644 index 00c4c6b..0000000 --- a/tests/auto/declarative/qmlparser/listAssignment.3.qml +++ /dev/null @@ -1,6 +0,0 @@ -import Test 1.0 -MyContainer { - children: childBinding.expression - children: childBinding2.expression -} - diff --git a/tests/auto/declarative/qmlparser/listItemDeleteSelf.qml b/tests/auto/declarative/qmlparser/listItemDeleteSelf.qml deleted file mode 100644 index fa2e831..0000000 --- a/tests/auto/declarative/qmlparser/listItemDeleteSelf.qml +++ /dev/null @@ -1,38 +0,0 @@ -import Qt 4.6 - -Item { - ListModel { - id: FruitModel - ListElement { - name: "Apple" - cost: 2.45 - } - ListElement { - name: "Orange" - cost: 3.25 - } - ListElement { - name: "Banana" - cost: 1.95 - } - } - - Component { - id: FruitDelegate - Item { - width: 200; height: 50 - Text { text: name } - Text { text: '$'+cost; anchors.right: parent.right } - MouseRegion { - anchors.fill: parent - onClicked: FruitModel.remove(index) - } - } - } - - ListView { - model: FruitModel - delegate: FruitDelegate - anchors.fill: parent - } -} diff --git a/tests/auto/declarative/qmlparser/missingObject.errors.txt b/tests/auto/declarative/qmlparser/missingObject.errors.txt deleted file mode 100644 index b31b562..0000000 --- a/tests/auto/declarative/qmlparser/missingObject.errors.txt +++ /dev/null @@ -1 +0,0 @@ -1:10:Expected token `{' diff --git a/tests/auto/declarative/qmlparser/missingObject.qml b/tests/auto/declarative/qmlparser/missingObject.qml deleted file mode 100644 index 2f17045..0000000 --- a/tests/auto/declarative/qmlparser/missingObject.qml +++ /dev/null @@ -1 +0,0 @@ -something: 24 diff --git a/tests/auto/declarative/qmlparser/missingSignal.errors.txt b/tests/auto/declarative/qmlparser/missingSignal.errors.txt deleted file mode 100644 index e243ae5..0000000 --- a/tests/auto/declarative/qmlparser/missingSignal.errors.txt +++ /dev/null @@ -1 +0,0 @@ -4:5:Cannot assign to non-existant property "onClicked" diff --git a/tests/auto/declarative/qmlparser/missingSignal.qml b/tests/auto/declarative/qmlparser/missingSignal.qml deleted file mode 100644 index fd489ca..0000000 --- a/tests/auto/declarative/qmlparser/missingSignal.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -import Qt 4.6 -Object { - onClicked: print("Hello world!") -} diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.1.errors.txt b/tests/auto/declarative/qmlparser/nonexistantProperty.1.errors.txt deleted file mode 100644 index cfc6fc8..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.1.errors.txt +++ /dev/null @@ -1 +0,0 @@ -2:15:Cannot assign to non-existant property "something" diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.1.qml b/tests/auto/declarative/qmlparser/nonexistantProperty.1.qml deleted file mode 100644 index df7406c..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.1.qml +++ /dev/null @@ -1,2 +0,0 @@ -import Test 1.0 -MyQmlObject { something: 24 } diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.2.errors.txt b/tests/auto/declarative/qmlparser/nonexistantProperty.2.errors.txt deleted file mode 100644 index 8b13585..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.2.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:Cannot assign to non-existant property "something" diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.2.qml b/tests/auto/declarative/qmlparser/nonexistantProperty.2.qml deleted file mode 100644 index 06ccd37..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.2.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - something: 24 -} diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.3.errors.txt b/tests/auto/declarative/qmlparser/nonexistantProperty.3.errors.txt deleted file mode 100644 index 8b13585..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.3.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:Cannot assign to non-existant property "something" diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.3.qml b/tests/auto/declarative/qmlparser/nonexistantProperty.3.qml deleted file mode 100644 index 5b08608..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.3.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - something: 1 + 1 -} diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.4.errors.txt b/tests/auto/declarative/qmlparser/nonexistantProperty.4.errors.txt deleted file mode 100644 index 8b13585..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.4.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:Cannot assign to non-existant property "something" diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.4.qml b/tests/auto/declarative/qmlparser/nonexistantProperty.4.qml deleted file mode 100644 index 6579191..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.4.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - something: ; -} diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.5.errors.txt b/tests/auto/declarative/qmlparser/nonexistantProperty.5.errors.txt deleted file mode 100644 index c07f2b9..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.5.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:Expected a qualified name id diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.5.qml b/tests/auto/declarative/qmlparser/nonexistantProperty.5.qml deleted file mode 100644 index 37af057..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.5.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - 24 -} diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.6.errors.txt b/tests/auto/declarative/qmlparser/nonexistantProperty.6.errors.txt deleted file mode 100644 index c02d7bd..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.6.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:Cannot assign to non-existant default property diff --git a/tests/auto/declarative/qmlparser/nonexistantProperty.6.qml b/tests/auto/declarative/qmlparser/nonexistantProperty.6.qml deleted file mode 100644 index 5cd55d0..0000000 --- a/tests/auto/declarative/qmlparser/nonexistantProperty.6.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - MyQmlObject {} -} diff --git a/tests/auto/declarative/qmlparser/nullDotProperty.errors.txt b/tests/auto/declarative/qmlparser/nullDotProperty.errors.txt deleted file mode 100644 index 07a4094..0000000 --- a/tests/auto/declarative/qmlparser/nullDotProperty.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:-1:Cannot set properties on obj as it is null diff --git a/tests/auto/declarative/qmlparser/nullDotProperty.qml b/tests/auto/declarative/qmlparser/nullDotProperty.qml deleted file mode 100644 index 4e36779..0000000 --- a/tests/auto/declarative/qmlparser/nullDotProperty.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyDotPropertyObject { - obj.value: 1 -} diff --git a/tests/auto/declarative/qmlparser/propertyValueSource.qml b/tests/auto/declarative/qmlparser/propertyValueSource.qml deleted file mode 100644 index ad71fcf..0000000 --- a/tests/auto/declarative/qmlparser/propertyValueSource.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyTypeObject { - intProperty : MyPropertyValueSource {} -} diff --git a/tests/auto/declarative/qmlparser/readOnly.1.errors.txt b/tests/auto/declarative/qmlparser/readOnly.1.errors.txt deleted file mode 100644 index b8c3404..0000000 --- a/tests/auto/declarative/qmlparser/readOnly.1.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:21:Invalid property assignment: "readOnlyString" is a read-only property diff --git a/tests/auto/declarative/qmlparser/readOnly.1.qml b/tests/auto/declarative/qmlparser/readOnly.1.qml deleted file mode 100644 index 60757bd..0000000 --- a/tests/auto/declarative/qmlparser/readOnly.1.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - readOnlyString: "Hello World" -} diff --git a/tests/auto/declarative/qmlparser/readOnly.2.errors.txt b/tests/auto/declarative/qmlparser/readOnly.2.errors.txt deleted file mode 100644 index d857a04..0000000 --- a/tests/auto/declarative/qmlparser/readOnly.2.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:5:Invalid property assignment: "readOnlyString" is a read-only property diff --git a/tests/auto/declarative/qmlparser/readOnly.2.qml b/tests/auto/declarative/qmlparser/readOnly.2.qml deleted file mode 100644 index 8f1633c..0000000 --- a/tests/auto/declarative/qmlparser/readOnly.2.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - readOnlyString: "Hello" + "World" -} diff --git a/tests/auto/declarative/qmlparser/rootAsQmlComponent.qml b/tests/auto/declarative/qmlparser/rootAsQmlComponent.qml deleted file mode 100644 index 8d72cd3..0000000 --- a/tests/auto/declarative/qmlparser/rootAsQmlComponent.qml +++ /dev/null @@ -1,6 +0,0 @@ -import Test 1.0 -MyContainerComponent { - x: 11 - MyQmlObject {} - MyQmlObject {} -} diff --git a/tests/auto/declarative/qmlparser/simpleBindings.qml b/tests/auto/declarative/qmlparser/simpleBindings.qml deleted file mode 100644 index 74867b3..0000000 --- a/tests/auto/declarative/qmlparser/simpleBindings.qml +++ /dev/null @@ -1,18 +0,0 @@ -import Test 1.0 -MyTypeObject { - id: Me - property int v1: 10 - property int v2: 11 - - property int value1 - property int value2 - property int value3 - property int value4 - - value1: v1 - value2: Me.v1 - value3: v1 + v2 - value4: Math.min(v1, v2) - - objectProperty: Me -} diff --git a/tests/auto/declarative/qmlparser/simpleContainer.qml b/tests/auto/declarative/qmlparser/simpleContainer.qml deleted file mode 100644 index c3a795f..0000000 --- a/tests/auto/declarative/qmlparser/simpleContainer.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyContainer { - MyQmlObject {} - MyQmlObject {} -} diff --git a/tests/auto/declarative/qmlparser/simpleObject.qml b/tests/auto/declarative/qmlparser/simpleObject.qml deleted file mode 100644 index 30c7823..0000000 --- a/tests/auto/declarative/qmlparser/simpleObject.qml +++ /dev/null @@ -1,2 +0,0 @@ -import Test 1.0 -MyQmlObject {} diff --git a/tests/auto/declarative/qmlparser/subdir/Test.qml b/tests/auto/declarative/qmlparser/subdir/Test.qml deleted file mode 100644 index c4d5905..0000000 --- a/tests/auto/declarative/qmlparser/subdir/Test.qml +++ /dev/null @@ -1,2 +0,0 @@ -import Qt 4.6 -Rectangle { } diff --git a/tests/auto/declarative/qmlparser/tst_qmlparser.cpp b/tests/auto/declarative/qmlparser/tst_qmlparser.cpp index c2f1e1a..7f51639 100644 --- a/tests/auto/declarative/qmlparser/tst_qmlparser.cpp +++ b/tests/auto/declarative/qmlparser/tst_qmlparser.cpp @@ -14,7 +14,7 @@ public: tst_qmlparser() { QmlMetaType::registerCustomStringConverter(qMetaTypeId(), myCustomVariantTypeConverter); QFileInfo fileInfo(__FILE__); - engine.addImportPath(fileInfo.absoluteDir().filePath(QLatin1String("lib"))); + engine.addImportPath(fileInfo.absoluteDir().filePath(QLatin1String("data/lib"))); } private slots: @@ -74,7 +74,7 @@ private: QVERIFY(!component.isError()); \ QVERIFY(component.errors().isEmpty()); \ } else { \ - QFile file(errorfile); \ + QFile file(QLatin1String("data/") + QLatin1String(errorfile)); \ QVERIFY(file.open(QIODevice::ReadOnly)); \ QByteArray data = file.readAll(); \ QList expected = data.split('\n'); \ @@ -96,7 +96,7 @@ private: inline QUrl TEST_FILE(const QString &filename) { QFileInfo fileInfo(__FILE__); - return QUrl::fromLocalFile(fileInfo.absoluteDir().filePath(filename)); + return QUrl::fromLocalFile(fileInfo.absoluteDir().filePath(QLatin1String("data/") + filename)); } inline QUrl TEST_FILE(const char *filename) diff --git a/tests/auto/declarative/qmlparser/unregisteredObject.errors.txt b/tests/auto/declarative/qmlparser/unregisteredObject.errors.txt deleted file mode 100644 index bc4f7f4..0000000 --- a/tests/auto/declarative/qmlparser/unregisteredObject.errors.txt +++ /dev/null @@ -1 +0,0 @@ -2:1:Type UnregisteredObject unavailable diff --git a/tests/auto/declarative/qmlparser/unregisteredObject.qml b/tests/auto/declarative/qmlparser/unregisteredObject.qml deleted file mode 100644 index 9498e31..0000000 --- a/tests/auto/declarative/qmlparser/unregisteredObject.qml +++ /dev/null @@ -1,2 +0,0 @@ -import Test 1.0 -UnregisteredObject {} diff --git a/tests/auto/declarative/qmlparser/unsupportedProperty.errors.txt b/tests/auto/declarative/qmlparser/unsupportedProperty.errors.txt deleted file mode 100644 index 3a90a7d..0000000 --- a/tests/auto/declarative/qmlparser/unsupportedProperty.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:13:Invalid property assignment: unknown type QVariant::QMatrix diff --git a/tests/auto/declarative/qmlparser/unsupportedProperty.qml b/tests/auto/declarative/qmlparser/unsupportedProperty.qml deleted file mode 100644 index 9f19680..0000000 --- a/tests/auto/declarative/qmlparser/unsupportedProperty.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - matrix: "1,0,0,0,1,0,0,0,1" -} diff --git a/tests/auto/declarative/qmlparser/valueTypes.qml b/tests/auto/declarative/qmlparser/valueTypes.qml deleted file mode 100644 index bf325a7..0000000 --- a/tests/auto/declarative/qmlparser/valueTypes.qml +++ /dev/null @@ -1,13 +0,0 @@ -import Test 1.0 -MyTypeObject { - rectProperty.x: 10 - rectProperty.y: 11 - rectProperty.width: rectProperty.x + 2 - rectProperty.height: 13 - - intProperty: rectProperty.x - - onAction: { var a = rectProperty; a.x = 12; } - - rectProperty2: rectProperty -} diff --git a/tests/auto/declarative/qmlparser/wrongType.1.errors.txt b/tests/auto/declarative/qmlparser/wrongType.1.errors.txt deleted file mode 100644 index ba7a076..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.1.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:12:Invalid property assignment: int expected diff --git a/tests/auto/declarative/qmlparser/wrongType.1.qml b/tests/auto/declarative/qmlparser/wrongType.1.qml deleted file mode 100644 index 289d37f..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.1.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - value: "hello" -} diff --git a/tests/auto/declarative/qmlparser/wrongType.10.errors.txt b/tests/auto/declarative/qmlparser/wrongType.10.errors.txt deleted file mode 100644 index ae75b52..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.10.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:23:Invalid property assignment: datetime expected diff --git a/tests/auto/declarative/qmlparser/wrongType.10.qml b/tests/auto/declarative/qmlparser/wrongType.10.qml deleted file mode 100644 index 2cf0e50..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.10.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyTypeObject { - dateTimeProperty: 12 -} - diff --git a/tests/auto/declarative/qmlparser/wrongType.11.errors.txt b/tests/auto/declarative/qmlparser/wrongType.11.errors.txt deleted file mode 100644 index 23a4cda..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.11.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:20:Invalid property assignment: point expected diff --git a/tests/auto/declarative/qmlparser/wrongType.11.qml b/tests/auto/declarative/qmlparser/wrongType.11.qml deleted file mode 100644 index ae77ba1..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.11.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyTypeObject { - pointProperty: "apples" -} - diff --git a/tests/auto/declarative/qmlparser/wrongType.12.errors.txt b/tests/auto/declarative/qmlparser/wrongType.12.errors.txt deleted file mode 100644 index 3092100..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.12.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:19:Invalid property assignment: size expected diff --git a/tests/auto/declarative/qmlparser/wrongType.12.qml b/tests/auto/declarative/qmlparser/wrongType.12.qml deleted file mode 100644 index b7a366f..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.12.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyTypeObject { - sizeProperty: "red" -} - diff --git a/tests/auto/declarative/qmlparser/wrongType.13.errors.txt b/tests/auto/declarative/qmlparser/wrongType.13.errors.txt deleted file mode 100644 index ba7a076..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.13.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:12:Invalid property assignment: int expected diff --git a/tests/auto/declarative/qmlparser/wrongType.13.qml b/tests/auto/declarative/qmlparser/wrongType.13.qml deleted file mode 100644 index 477aff1..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.13.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - value: "12" -} diff --git a/tests/auto/declarative/qmlparser/wrongType.14.errors.txt b/tests/auto/declarative/qmlparser/wrongType.14.errors.txt deleted file mode 100644 index d621fdd..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.14.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:21:Invalid property assignment: string expected diff --git a/tests/auto/declarative/qmlparser/wrongType.14.qml b/tests/auto/declarative/qmlparser/wrongType.14.qml deleted file mode 100644 index 672d693..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.14.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyTypeObject { - stringProperty: 10 -} - diff --git a/tests/auto/declarative/qmlparser/wrongType.2.errors.txt b/tests/auto/declarative/qmlparser/wrongType.2.errors.txt deleted file mode 100644 index 9ff9f25..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.2.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:14:Invalid property assignment: boolean expected diff --git a/tests/auto/declarative/qmlparser/wrongType.2.qml b/tests/auto/declarative/qmlparser/wrongType.2.qml deleted file mode 100644 index 34b74f7..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.2.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - enabled: 5 -} diff --git a/tests/auto/declarative/qmlparser/wrongType.3.errors.txt b/tests/auto/declarative/qmlparser/wrongType.3.errors.txt deleted file mode 100644 index 6d971c6..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.3.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:11:Invalid property assignment: rect expected diff --git a/tests/auto/declarative/qmlparser/wrongType.3.qml b/tests/auto/declarative/qmlparser/wrongType.3.qml deleted file mode 100644 index 384181a..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.3.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyQmlObject { - rect: "5,5x10" -} diff --git a/tests/auto/declarative/qmlparser/wrongType.4.errors.txt b/tests/auto/declarative/qmlparser/wrongType.4.errors.txt deleted file mode 100644 index ef34d0e..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.4.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:19:Invalid property assignment: unknown enumeration diff --git a/tests/auto/declarative/qmlparser/wrongType.4.qml b/tests/auto/declarative/qmlparser/wrongType.4.qml deleted file mode 100644 index 0787bf5..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.4.qml +++ /dev/null @@ -1,4 +0,0 @@ -import Test 1.0 -MyTypeObject { - enumProperty: "InvalidEnumName" -} diff --git a/tests/auto/declarative/qmlparser/wrongType.5.errors.txt b/tests/auto/declarative/qmlparser/wrongType.5.errors.txt deleted file mode 100644 index cab10bd..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.5.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:19:Invalid property assignment: unsigned int expected diff --git a/tests/auto/declarative/qmlparser/wrongType.5.qml b/tests/auto/declarative/qmlparser/wrongType.5.qml deleted file mode 100644 index c50ae9a..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.5.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyTypeObject { - uintProperty: -13 -} - diff --git a/tests/auto/declarative/qmlparser/wrongType.6.errors.txt b/tests/auto/declarative/qmlparser/wrongType.6.errors.txt deleted file mode 100644 index d0a0b00..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.6.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:19:Invalid property assignment: double expected diff --git a/tests/auto/declarative/qmlparser/wrongType.6.qml b/tests/auto/declarative/qmlparser/wrongType.6.qml deleted file mode 100644 index da10b78..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.6.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyTypeObject { - realProperty: "Hello" -} - diff --git a/tests/auto/declarative/qmlparser/wrongType.7.errors.txt b/tests/auto/declarative/qmlparser/wrongType.7.errors.txt deleted file mode 100644 index 614346b..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.7.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:20:Invalid property assignment: color expected diff --git a/tests/auto/declarative/qmlparser/wrongType.7.qml b/tests/auto/declarative/qmlparser/wrongType.7.qml deleted file mode 100644 index ddc3835..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.7.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyTypeObject { - colorProperty: 12 -} - diff --git a/tests/auto/declarative/qmlparser/wrongType.8.errors.txt b/tests/auto/declarative/qmlparser/wrongType.8.errors.txt deleted file mode 100644 index 1773c00..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.8.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:19:Invalid property assignment: date expected diff --git a/tests/auto/declarative/qmlparser/wrongType.8.qml b/tests/auto/declarative/qmlparser/wrongType.8.qml deleted file mode 100644 index a5f6756..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.8.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyTypeObject { - dateProperty: 12 -} - diff --git a/tests/auto/declarative/qmlparser/wrongType.9.errors.txt b/tests/auto/declarative/qmlparser/wrongType.9.errors.txt deleted file mode 100644 index 8630975..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.9.errors.txt +++ /dev/null @@ -1 +0,0 @@ -3:19:Invalid property assignment: time expected diff --git a/tests/auto/declarative/qmlparser/wrongType.9.qml b/tests/auto/declarative/qmlparser/wrongType.9.qml deleted file mode 100644 index a3db732..0000000 --- a/tests/auto/declarative/qmlparser/wrongType.9.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Test 1.0 -MyTypeObject { - timeProperty: 12 -} - -- cgit v0.12