aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick1/qdeclarativeloader/data
diff options
context:
space:
mode:
authorMatthew Vogt <matthew.vogt@nokia.com>2012-01-31 16:52:36 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-03 00:39:18 +0100
commit01dc7e2ea476e0e6dcdce2e72979bbc858f4057d (patch)
treed8796f7695bbf8ad42abf47cd84c1b5e000ef795 /tests/auto/qtquick1/qdeclarativeloader/data
parent5e07b57b818326da47a46d384415041fa4cea0ba (diff)
Remove QtQuick1 elements from qtdeclarative
QtQuick1 is now contained in a separate repository. Task-number: QTBUG-23737 Change-Id: I09eae67af5693a22b896b916f816f73ccc3a89b1 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/qtquick1/qdeclarativeloader/data')
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/AnchoredLoader.qml14
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/BlueRect.qml8
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/CreationContextLoader.qml15
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/GraphicsWidget250x250.qml5
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/GreenRect.qml7
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/NoResize.qml8
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/NoResizeGraphicsWidget.qml9
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/QTBUG_16928.qml23
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/QTBUG_17114.qml18
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/Rect120x60.qml6
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/SetSourceComponent.qml9
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/SizeGraphicsWidgetToLoader.qml7
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/SizeLoaderToGraphicsWidget.qml5
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/SizeToItem.qml5
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/SizeToLoader.qml6
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/VmeError.qml7
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/crash.qml14
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/creationContext.qml8
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/differentorigin.qml3
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/implicitSize.qml28
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/nonItem.qml5
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/qmldir1
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/sameorigin-load.qml3
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/sameorigin.qml3
-rw-r--r--tests/auto/qtquick1/qdeclarativeloader/data/vmeErrors.qml6
25 files changed, 0 insertions, 223 deletions
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/AnchoredLoader.qml b/tests/auto/qtquick1/qdeclarativeloader/data/AnchoredLoader.qml
deleted file mode 100644
index 7654c07408..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/AnchoredLoader.qml
+++ /dev/null
@@ -1,14 +0,0 @@
-import QtQuick 1.0
-
-Rectangle {
- width: 300
- height: 200
- color: "blue"
- Loader {
- objectName: "loader"
- anchors.fill: parent
- sourceComponent: Component {
- Rectangle { color: "red"; objectName: "sourceElement" }
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/BlueRect.qml b/tests/auto/qtquick1/qdeclarativeloader/data/BlueRect.qml
deleted file mode 100644
index d2da64d263..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/BlueRect.qml
+++ /dev/null
@@ -1,8 +0,0 @@
-import QtQuick 1.0
-
-Rectangle {
- objectName: "blue"
- width: 100
- height: 100
- color: "blue"
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/CreationContextLoader.qml b/tests/auto/qtquick1/qdeclarativeloader/data/CreationContextLoader.qml
deleted file mode 100644
index bfc9a8dd8a..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/CreationContextLoader.qml
+++ /dev/null
@@ -1,15 +0,0 @@
-import QtQuick 1.0
-
-Loader {
- id: myLoader
- property int testProperty: 1912
- sourceComponent: loaderComponent
- Component {
- id: loaderComponent
- Item {
- Component.onCompleted: {
- test = (myLoader.testProperty == 1912);
- }
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/GraphicsWidget250x250.qml b/tests/auto/qtquick1/qdeclarativeloader/data/GraphicsWidget250x250.qml
deleted file mode 100644
index 139657bf2c..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/GraphicsWidget250x250.qml
+++ /dev/null
@@ -1,5 +0,0 @@
-import QtQuick 1.0
-
-QGraphicsWidget {
- size: "250x250"
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/GreenRect.qml b/tests/auto/qtquick1/qdeclarativeloader/data/GreenRect.qml
deleted file mode 100644
index 5aeb81e918..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/GreenRect.qml
+++ /dev/null
@@ -1,7 +0,0 @@
-import QtQuick 1.0
-
-Rectangle {
- width: 100; height: 100
- color: "green"
- Component.onCompleted: myLoader.source = "BlueRect.qml"
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/NoResize.qml b/tests/auto/qtquick1/qdeclarativeloader/data/NoResize.qml
deleted file mode 100644
index bb1030ef9d..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/NoResize.qml
+++ /dev/null
@@ -1,8 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 200; height: 80
- Loader {
- source: "Rect120x60.qml"
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/NoResizeGraphicsWidget.qml b/tests/auto/qtquick1/qdeclarativeloader/data/NoResizeGraphicsWidget.qml
deleted file mode 100644
index 5a31eff545..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/NoResizeGraphicsWidget.qml
+++ /dev/null
@@ -1,9 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 200
- height: 80
- Loader {
- source: "GraphicsWidget250x250.qml"
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/QTBUG_16928.qml b/tests/auto/qtquick1/qdeclarativeloader/data/QTBUG_16928.qml
deleted file mode 100644
index 9949e346f9..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/QTBUG_16928.qml
+++ /dev/null
@@ -1,23 +0,0 @@
-import QtQuick 1.1
-
-Rectangle {
- color: "green"
- width: loader.implicitWidth+50
- height: loader.implicitHeight+50
-
- Loader {
- id: loader
- sourceComponent: Item {
- anchors.centerIn: parent
-
- implicitWidth: 200
- implicitHeight: 200
- Rectangle {
- color: "red"
- anchors.fill: parent
- }
- }
- anchors.fill: parent
- anchors.margins: 15
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/QTBUG_17114.qml b/tests/auto/qtquick1/qdeclarativeloader/data/QTBUG_17114.qml
deleted file mode 100644
index 8a49733a8c..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/QTBUG_17114.qml
+++ /dev/null
@@ -1,18 +0,0 @@
-import QtQuick 1.1
-
-Rectangle {
- property real loaderWidth: loader.width
- property real loaderHeight: loader.height
- width: 200
- height: 200
-
- Loader {
- id: loader
- sourceComponent: Item {
- property real iwidth: 32
- property real iheight: 32
- width: iwidth
- height: iheight
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/Rect120x60.qml b/tests/auto/qtquick1/qdeclarativeloader/data/Rect120x60.qml
deleted file mode 100644
index 5a352844c3..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/Rect120x60.qml
+++ /dev/null
@@ -1,6 +0,0 @@
-import QtQuick 1.0
-
-Rectangle {
- width: 120
- height:60
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/SetSourceComponent.qml b/tests/auto/qtquick1/qdeclarativeloader/data/SetSourceComponent.qml
deleted file mode 100644
index fa2d3cb325..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/SetSourceComponent.qml
+++ /dev/null
@@ -1,9 +0,0 @@
-import QtQuick 1.0
-
-Item {
- function clear() {
- loader.sourceComponent = undefined
- }
- Component { id: comp; Rectangle { width: 100; height: 50 } }
- Loader { id: loader; sourceComponent: comp }
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/SizeGraphicsWidgetToLoader.qml b/tests/auto/qtquick1/qdeclarativeloader/data/SizeGraphicsWidgetToLoader.qml
deleted file mode 100644
index a855947c59..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/SizeGraphicsWidgetToLoader.qml
+++ /dev/null
@@ -1,7 +0,0 @@
-import QtQuick 1.0
-
-Loader {
- width: 200
- height: 80
- source: "GraphicsWidget250x250.qml"
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/SizeLoaderToGraphicsWidget.qml b/tests/auto/qtquick1/qdeclarativeloader/data/SizeLoaderToGraphicsWidget.qml
deleted file mode 100644
index b6fd57f590..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/SizeLoaderToGraphicsWidget.qml
+++ /dev/null
@@ -1,5 +0,0 @@
-import QtQuick 1.0
-
-Loader {
- source: "GraphicsWidget250x250.qml"
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/SizeToItem.qml b/tests/auto/qtquick1/qdeclarativeloader/data/SizeToItem.qml
deleted file mode 100644
index 36ce9912f1..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/SizeToItem.qml
+++ /dev/null
@@ -1,5 +0,0 @@
-import QtQuick 1.0
-
-Loader {
- source: "Rect120x60.qml"
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/SizeToLoader.qml b/tests/auto/qtquick1/qdeclarativeloader/data/SizeToLoader.qml
deleted file mode 100644
index 4fa945b300..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/SizeToLoader.qml
+++ /dev/null
@@ -1,6 +0,0 @@
-import QtQuick 1.0
-
-Loader {
- width: 200; height: 80
- source: "Rect120x60.qml"
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/VmeError.qml b/tests/auto/qtquick1/qdeclarativeloader/data/VmeError.qml
deleted file mode 100644
index a36c246260..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/VmeError.qml
+++ /dev/null
@@ -1,7 +0,0 @@
-import QtQuick 1.0
-
-Rectangle {
- width: 100; height: 100; color: "red"
- signal somethingHappened
- onSomethingHappened: QtObject {}
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/crash.qml b/tests/auto/qtquick1/qdeclarativeloader/data/crash.qml
deleted file mode 100644
index c7a4407add..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/crash.qml
+++ /dev/null
@@ -1,14 +0,0 @@
-import QtQuick 1.0
-
-Rectangle {
- width: 400
- height: 400
-
- function setLoaderSource() {
- myLoader.source = "GreenRect.qml"
- }
-
- Loader {
- id: myLoader
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/creationContext.qml b/tests/auto/qtquick1/qdeclarativeloader/data/creationContext.qml
deleted file mode 100644
index 529797867f..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/creationContext.qml
+++ /dev/null
@@ -1,8 +0,0 @@
-import QtQuick 1.0
-
-Item {
- property bool test: false
-
- CreationContextLoader {
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/differentorigin.qml b/tests/auto/qtquick1/qdeclarativeloader/data/differentorigin.qml
deleted file mode 100644
index 043ce5555e..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/differentorigin.qml
+++ /dev/null
@@ -1,3 +0,0 @@
-import QtQuick 1.0
-
-Loader { source: "http://evil.place/evil.qml" }
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/implicitSize.qml b/tests/auto/qtquick1/qdeclarativeloader/data/implicitSize.qml
deleted file mode 100644
index 53aad97ae1..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/implicitSize.qml
+++ /dev/null
@@ -1,28 +0,0 @@
-import QtQuick 1.1
-
-Rectangle {
- property real implWidth: 0
- property real implHeight: 0
- color: "green"
- width: loader.implicitWidth+50
- height: loader.implicitHeight+50
-
- Loader {
- id: loader
- sourceComponent: Item {
- anchors.centerIn: parent
-
- implicitWidth: 100
- implicitHeight: 100
- Rectangle {
- color: "red"
- anchors.fill: parent
- }
- }
-
- anchors.fill: parent
- anchors.margins: 50
- onImplicitWidthChanged: implWidth = implicitWidth
- onImplicitHeightChanged: implHeight = loader.implicitHeight
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/nonItem.qml b/tests/auto/qtquick1/qdeclarativeloader/data/nonItem.qml
deleted file mode 100644
index 1d0ab5c10d..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/nonItem.qml
+++ /dev/null
@@ -1,5 +0,0 @@
-import QtQuick 1.0
-
-Loader {
- sourceComponent: QtObject {}
-}
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/qmldir b/tests/auto/qtquick1/qdeclarativeloader/data/qmldir
deleted file mode 100644
index bf42b507c0..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/qmldir
+++ /dev/null
@@ -1 +0,0 @@
-# For tst_QDeclarativeLoader::networkRequestUrl; no types needed though.
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/sameorigin-load.qml b/tests/auto/qtquick1/qdeclarativeloader/data/sameorigin-load.qml
deleted file mode 100644
index dbea969395..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/sameorigin-load.qml
+++ /dev/null
@@ -1,3 +0,0 @@
-import QtQuick 1.0
-
-Item { }
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/sameorigin.qml b/tests/auto/qtquick1/qdeclarativeloader/data/sameorigin.qml
deleted file mode 100644
index 8ba13a0493..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/sameorigin.qml
+++ /dev/null
@@ -1,3 +0,0 @@
-import QtQuick 1.0
-
-Loader { source: "sameorigin-load.qml" }
diff --git a/tests/auto/qtquick1/qdeclarativeloader/data/vmeErrors.qml b/tests/auto/qtquick1/qdeclarativeloader/data/vmeErrors.qml
deleted file mode 100644
index cfced31da5..0000000000
--- a/tests/auto/qtquick1/qdeclarativeloader/data/vmeErrors.qml
+++ /dev/null
@@ -1,6 +0,0 @@
-import QtQuick 1.0
-
-Loader {
- source: "VmeError.qml"
-}
-