summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlformatter/baselines
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-03-23 09:18:55 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-03-23 09:18:55 (GMT)
commite5fcad302d86d316390c6b0f62759a067313e8a9 (patch)
treec2afbf6f1066b6ce261f14341cf6d310e5595bc1 /tests/auto/qxmlformatter/baselines
downloadQt-e5fcad302d86d316390c6b0f62759a067313e8a9.zip
Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.tar.gz
Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.tar.bz2
Long live Qt 4.5!
Diffstat (limited to 'tests/auto/qxmlformatter/baselines')
-rw-r--r--tests/auto/qxmlformatter/baselines/.gitattributes1
-rw-r--r--tests/auto/qxmlformatter/baselines/K2-DirectConElemContent-46.xml1
-rw-r--r--tests/auto/qxmlformatter/baselines/adjacentNodes.xml16
-rw-r--r--tests/auto/qxmlformatter/baselines/classExample.xml5
-rw-r--r--tests/auto/qxmlformatter/baselines/documentElementWithWS.xml1
-rw-r--r--tests/auto/qxmlformatter/baselines/documentNodes.xml3
-rw-r--r--tests/auto/qxmlformatter/baselines/elementsWithWS.xml8
-rw-r--r--tests/auto/qxmlformatter/baselines/emptySequence.xml1
-rw-r--r--tests/auto/qxmlformatter/baselines/indentedAdjacentNodes.xml16
-rw-r--r--tests/auto/qxmlformatter/baselines/indentedMixedContent.xml20
-rw-r--r--tests/auto/qxmlformatter/baselines/mixedContent.xml17
-rw-r--r--tests/auto/qxmlformatter/baselines/mixedTopLevelContent.xml1
-rw-r--r--tests/auto/qxmlformatter/baselines/nodesAndWhitespaceAtomics.xml4
-rw-r--r--tests/auto/qxmlformatter/baselines/onlyDocumentNode.xml1
-rw-r--r--tests/auto/qxmlformatter/baselines/prolog.xml17
-rw-r--r--tests/auto/qxmlformatter/baselines/simpleDocument.xml3
-rw-r--r--tests/auto/qxmlformatter/baselines/singleElement.xml1
-rw-r--r--tests/auto/qxmlformatter/baselines/singleTextNode.xml1
-rw-r--r--tests/auto/qxmlformatter/baselines/textNodeAtomicValue.xml1
-rw-r--r--tests/auto/qxmlformatter/baselines/threeAtomics.xml1
20 files changed, 119 insertions, 0 deletions
diff --git a/tests/auto/qxmlformatter/baselines/.gitattributes b/tests/auto/qxmlformatter/baselines/.gitattributes
new file mode 100644
index 0000000..de08d51
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/.gitattributes
@@ -0,0 +1 @@
+*.xml -crlf Unset
diff --git a/tests/auto/qxmlformatter/baselines/K2-DirectConElemContent-46.xml b/tests/auto/qxmlformatter/baselines/K2-DirectConElemContent-46.xml
new file mode 100644
index 0000000..742cfdb
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/K2-DirectConElemContent-46.xml
@@ -0,0 +1 @@
+<e>12</e>
diff --git a/tests/auto/qxmlformatter/baselines/adjacentNodes.xml b/tests/auto/qxmlformatter/baselines/adjacentNodes.xml
new file mode 100644
index 0000000..a263c75
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/adjacentNodes.xml
@@ -0,0 +1,16 @@
+<e>
+ <?pi1 data1?>
+ <?pi2 data2?>
+ <!-- comment1 -->
+ <!-- comment2 -->
+ <?pi3 data3?>
+ <!-- comment3 -->
+ <?pi4 data4?>
+ <e2>
+ <!-- comment1 -->
+ <!-- comment2 -->
+ <?pi3 data3?>
+ <!-- comment3 -->
+ <?pi4 data4?>
+ </e2>
+</e>
diff --git a/tests/auto/qxmlformatter/baselines/classExample.xml b/tests/auto/qxmlformatter/baselines/classExample.xml
new file mode 100644
index 0000000..5c833c6
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/classExample.xml
@@ -0,0 +1,5 @@
+<a>
+ <b/>
+ <c/>
+ <p>Some Text</p>
+</a>
diff --git a/tests/auto/qxmlformatter/baselines/documentElementWithWS.xml b/tests/auto/qxmlformatter/baselines/documentElementWithWS.xml
new file mode 100644
index 0000000..69d62f2
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/documentElementWithWS.xml
@@ -0,0 +1 @@
+<doc/>
diff --git a/tests/auto/qxmlformatter/baselines/documentNodes.xml b/tests/auto/qxmlformatter/baselines/documentNodes.xml
new file mode 100644
index 0000000..11dc672
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/documentNodes.xml
@@ -0,0 +1,3 @@
+<e/>
+<!-- a comment -->
+<?aPi ?>
diff --git a/tests/auto/qxmlformatter/baselines/elementsWithWS.xml b/tests/auto/qxmlformatter/baselines/elementsWithWS.xml
new file mode 100644
index 0000000..1c5af5b
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/elementsWithWS.xml
@@ -0,0 +1,8 @@
+<doc>
+ someText
+ <ws1/>
+ somee text
+ <ws2/>
+ <!-- comment -->
+ <ws3/>
+</doc>
diff --git a/tests/auto/qxmlformatter/baselines/emptySequence.xml b/tests/auto/qxmlformatter/baselines/emptySequence.xml
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/emptySequence.xml
@@ -0,0 +1 @@
+
diff --git a/tests/auto/qxmlformatter/baselines/indentedAdjacentNodes.xml b/tests/auto/qxmlformatter/baselines/indentedAdjacentNodes.xml
new file mode 100644
index 0000000..a263c75
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/indentedAdjacentNodes.xml
@@ -0,0 +1,16 @@
+<e>
+ <?pi1 data1?>
+ <?pi2 data2?>
+ <!-- comment1 -->
+ <!-- comment2 -->
+ <?pi3 data3?>
+ <!-- comment3 -->
+ <?pi4 data4?>
+ <e2>
+ <!-- comment1 -->
+ <!-- comment2 -->
+ <?pi3 data3?>
+ <!-- comment3 -->
+ <?pi4 data4?>
+ </e2>
+</e>
diff --git a/tests/auto/qxmlformatter/baselines/indentedMixedContent.xml b/tests/auto/qxmlformatter/baselines/indentedMixedContent.xml
new file mode 100644
index 0000000..9a9729b
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/indentedMixedContent.xml
@@ -0,0 +1,20 @@
+<!-- Already indented, and should stay so.. -->
+<mixedContent>
+ <p>char1<span/>
+ </p>
+ <p>
+ <span/>char2</p>
+ <p>char3<span/>char3</p>
+ <p>
+ <e1>
+ char 4
+ </e1>
+ <e2>
+ <p>char1<span/>
+ </p>
+ <p>
+ <span/>char2</p>
+ <p>char3<span/>char3</p>
+ </e2>
+ </p>
+</mixedContent>
diff --git a/tests/auto/qxmlformatter/baselines/mixedContent.xml b/tests/auto/qxmlformatter/baselines/mixedContent.xml
new file mode 100644
index 0000000..915cd92
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/mixedContent.xml
@@ -0,0 +1,17 @@
+<mixedContent>
+ <p>char1<span/>
+ </p>
+ <p>
+ <span/>char2</p>
+ <p>char3<span/>char3</p>
+ <p>
+ <e1>char4</e1>
+ <e2>
+ <p>char1<span/>
+ </p>
+ <p>
+ <span/>char2</p>
+ <p>char3<span/>char3</p>
+ </e2>
+ </p>
+</mixedContent>
diff --git a/tests/auto/qxmlformatter/baselines/mixedTopLevelContent.xml b/tests/auto/qxmlformatter/baselines/mixedTopLevelContent.xml
new file mode 100644
index 0000000..ff072e5
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/mixedTopLevelContent.xml
@@ -0,0 +1 @@
+1 2 3<e1/>4<e2/>5<e3>6</e3>7
diff --git a/tests/auto/qxmlformatter/baselines/nodesAndWhitespaceAtomics.xml b/tests/auto/qxmlformatter/baselines/nodesAndWhitespaceAtomics.xml
new file mode 100644
index 0000000..2c660d5
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/nodesAndWhitespaceAtomics.xml
@@ -0,0 +1,4 @@
+<e1>
+ <e2/>
+</e1>
+<e3/>
diff --git a/tests/auto/qxmlformatter/baselines/onlyDocumentNode.xml b/tests/auto/qxmlformatter/baselines/onlyDocumentNode.xml
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/onlyDocumentNode.xml
@@ -0,0 +1 @@
+
diff --git a/tests/auto/qxmlformatter/baselines/prolog.xml b/tests/auto/qxmlformatter/baselines/prolog.xml
new file mode 100644
index 0000000..1b48c58
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/prolog.xml
@@ -0,0 +1,17 @@
+<!-- comment1 -->
+<!-- comment2 -->
+<!-- comment3 -->
+<?pi1 data?>
+<!-- comment4 -->
+<?pi2 data?>
+<!-- comment5 -->
+<?pi3 data?>
+<e/>
+<!-- comment1 -->
+<!-- comment2 -->
+<!-- comment3 -->
+<?pi1 data?>
+<!-- comment4 -->
+<?pi2 data?>
+<!-- comment5 -->
+<?pi3 data?>
diff --git a/tests/auto/qxmlformatter/baselines/simpleDocument.xml b/tests/auto/qxmlformatter/baselines/simpleDocument.xml
new file mode 100644
index 0000000..5e64f7b
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/simpleDocument.xml
@@ -0,0 +1,3 @@
+<!-- A comment -->
+<e>We try to simulate 189611</e>
+<!-- A second comment at the end. -->
diff --git a/tests/auto/qxmlformatter/baselines/singleElement.xml b/tests/auto/qxmlformatter/baselines/singleElement.xml
new file mode 100644
index 0000000..c859d31
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/singleElement.xml
@@ -0,0 +1 @@
+<anElement/>
diff --git a/tests/auto/qxmlformatter/baselines/singleTextNode.xml b/tests/auto/qxmlformatter/baselines/singleTextNode.xml
new file mode 100644
index 0000000..47a943b
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/singleTextNode.xml
@@ -0,0 +1 @@
+a text node
diff --git a/tests/auto/qxmlformatter/baselines/textNodeAtomicValue.xml b/tests/auto/qxmlformatter/baselines/textNodeAtomicValue.xml
new file mode 100644
index 0000000..1563439
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/textNodeAtomicValue.xml
@@ -0,0 +1 @@
+<e>a3</e>
diff --git a/tests/auto/qxmlformatter/baselines/threeAtomics.xml b/tests/auto/qxmlformatter/baselines/threeAtomics.xml
new file mode 100644
index 0000000..dcee688
--- /dev/null
+++ b/tests/auto/qxmlformatter/baselines/threeAtomics.xml
@@ -0,0 +1 @@
+1 2 Bam 3000 10 4