diff options
Diffstat (limited to 'tests/auto/qmlls/modules/data/formatting')
8 files changed, 148 insertions, 0 deletions
diff --git a/tests/auto/qmlls/modules/data/formatting/blanklines.formatted.qml b/tests/auto/qmlls/modules/data/formatting/blanklines.formatted.qml new file mode 100644 index 0000000000..19548e9023 --- /dev/null +++ b/tests/auto/qmlls/modules/data/formatting/blanklines.formatted.qml @@ -0,0 +1,4 @@ +// leading and trailing spaces +import QtQuick + +Item {} diff --git a/tests/auto/qmlls/modules/data/formatting/blanklines.qml b/tests/auto/qmlls/modules/data/formatting/blanklines.qml new file mode 100644 index 0000000000..ae1a14daed --- /dev/null +++ b/tests/auto/qmlls/modules/data/formatting/blanklines.qml @@ -0,0 +1,15 @@ + + + + +// leading and trailing spaces +import QtQuick + + +Item { + + + } + + + diff --git a/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted1.qml b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted1.qml new file mode 100644 index 0000000000..e167f829b2 --- /dev/null +++ b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted1.qml @@ -0,0 +1,23 @@ +pragma Strict + +import QtQuick + +Item { + property var test: [{ + // Testing + "foo": "bar" + }] + + Item { + + function test() { +var patron = "๐test๐"; + let kivrik = 1; + + + + + const yumyum = 1; + } + } +} diff --git a/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted2.qml b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted2.qml new file mode 100644 index 0000000000..ebd68dbde2 --- /dev/null +++ b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted2.qml @@ -0,0 +1,20 @@ +pragma Strict + +import QtQuick + +Item { + property var test: [{ +// Testing + "foo": "bar" +}] + + Item { + + function test() { + var patron = "๐test๐"; + let kivrik = 1; + + const yumyum = 1; + } + } +} diff --git a/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted3.qml b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted3.qml new file mode 100644 index 0000000000..83f91c6af5 --- /dev/null +++ b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted3.qml @@ -0,0 +1,23 @@ +pragma Strict + +import QtQuick + +Item { + property var test: [{ +// Testing + "foo": "bar" +}] + + Item { + + function test() { +var patron = "๐test๐"; + let kivrik = 1; + + + + + const yumyum = 1; + } + } +} diff --git a/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted4.qml b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted4.qml new file mode 100644 index 0000000000..d6d7227588 --- /dev/null +++ b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted4.qml @@ -0,0 +1,20 @@ +pragma Strict + +import QtQuick + +Item { + property var test: [{ + // Testing + "foo": "bar" + }] + + Item { + + function test() { + var patron = "๐test๐"; + let kivrik = 1; + + const yumyum = 1; + } + } +} diff --git a/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted5.qml b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted5.qml new file mode 100644 index 0000000000..8b3ddf8df1 --- /dev/null +++ b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.formatted5.qml @@ -0,0 +1,20 @@ +pragma Strict + +import QtQuick + +Item { + property var test: [{ +// Testing + "foo": "bar" +}] + + Item { + + function test() { + var patron = "๐test๐"; + let kivrik = 1; + + const yumyum = 1; + } + } +} diff --git a/tests/auto/qmlls/modules/data/formatting/rangeFormatting.qml b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.qml new file mode 100644 index 0000000000..1431fb10c3 --- /dev/null +++ b/tests/auto/qmlls/modules/data/formatting/rangeFormatting.qml @@ -0,0 +1,23 @@ +pragma Strict + +import QtQuick + +Item { + property var test: [{ +// Testing + "foo": "bar" +}] + + Item { + + function test() { +var patron = "๐test๐"; + let kivrik = 1; + + + + + const yumyum = 1; + } + } +} |