diff options
Diffstat (limited to 'tests/auto/qmlls/cli/data')
6 files changed, 29 insertions, 0 deletions
diff --git a/tests/auto/qmlls/cli/data/ImportPath1/SomeModule/A.qml b/tests/auto/qmlls/cli/data/ImportPath1/SomeModule/A.qml new file mode 100644 index 0000000000..5468cae5e1 --- /dev/null +++ b/tests/auto/qmlls/cli/data/ImportPath1/SomeModule/A.qml @@ -0,0 +1,5 @@ +import QtQuick + +Item { + property string helloSomeModule +} diff --git a/tests/auto/qmlls/cli/data/ImportPath1/SomeModule/qmldir b/tests/auto/qmlls/cli/data/ImportPath1/SomeModule/qmldir new file mode 100644 index 0000000000..6e8de8bc53 --- /dev/null +++ b/tests/auto/qmlls/cli/data/ImportPath1/SomeModule/qmldir @@ -0,0 +1,2 @@ +module SomeModule +A 254.0 A.qml diff --git a/tests/auto/qmlls/cli/data/ImportPath2/AnotherModule/B.qml b/tests/auto/qmlls/cli/data/ImportPath2/AnotherModule/B.qml new file mode 100644 index 0000000000..33af59274a --- /dev/null +++ b/tests/auto/qmlls/cli/data/ImportPath2/AnotherModule/B.qml @@ -0,0 +1,5 @@ +import QtQuick + +Item { + property string helloAnotherModule +} diff --git a/tests/auto/qmlls/cli/data/ImportPath2/AnotherModule/qmldir b/tests/auto/qmlls/cli/data/ImportPath2/AnotherModule/qmldir new file mode 100644 index 0000000000..aa4ef803b1 --- /dev/null +++ b/tests/auto/qmlls/cli/data/ImportPath2/AnotherModule/qmldir @@ -0,0 +1,2 @@ +module AnotherModule +B 254.0 B.qml diff --git a/tests/auto/qmlls/cli/data/sourceFolder/ImportFromBothPaths.qml b/tests/auto/qmlls/cli/data/sourceFolder/ImportFromBothPaths.qml new file mode 100644 index 0000000000..4a2775ce29 --- /dev/null +++ b/tests/auto/qmlls/cli/data/sourceFolder/ImportFromBothPaths.qml @@ -0,0 +1,10 @@ +import SomeModule +import AnotherModule + +A { + helloSomeModule: "hello!" + + B { + helloAnotherModule: "World!" + } +}
\ No newline at end of file diff --git a/tests/auto/qmlls/cli/data/sourceFolder/ImportFromImportPath1.qml b/tests/auto/qmlls/cli/data/sourceFolder/ImportFromImportPath1.qml new file mode 100644 index 0000000000..3417701352 --- /dev/null +++ b/tests/auto/qmlls/cli/data/sourceFolder/ImportFromImportPath1.qml @@ -0,0 +1,5 @@ +import SomeModule + +A { + helloSomeModule: "hello!" +} |