From 96e6234a1b59baaf73938230137df50f8ce73a76 Mon Sep 17 00:00:00 2001 From: xml-project Date: Fri, 15 Dec 2023 15:41:12 +0100 Subject: [PATCH] Additional tests --- test-suite/tests/ab-choose-073.xml | 59 ++++++++++++++++++++++++++++++ test-suite/tests/ab-choose-074.xml | 58 +++++++++++++++++++++++++++++ test-suite/tests/ab-choose-075.xml | 53 +++++++++++++++++++++++++++ test-suite/tests/ab-choose-076.xml | 53 +++++++++++++++++++++++++++ test-suite/tests/ab-if-034.xml | 55 ++++++++++++++++++++++++++++ test-suite/tests/ab-if-035.xml | 56 ++++++++++++++++++++++++++++ test-suite/tests/ab-if-036.xml | 51 ++++++++++++++++++++++++++ test-suite/tests/ab-if-037.xml | 51 ++++++++++++++++++++++++++ 8 files changed, 436 insertions(+) create mode 100644 test-suite/tests/ab-choose-073.xml create mode 100644 test-suite/tests/ab-choose-074.xml create mode 100644 test-suite/tests/ab-choose-075.xml create mode 100644 test-suite/tests/ab-choose-076.xml create mode 100644 test-suite/tests/ab-if-034.xml create mode 100644 test-suite/tests/ab-if-035.xml create mode 100644 test-suite/tests/ab-if-036.xml create mode 100644 test-suite/tests/ab-if-037.xml diff --git a/test-suite/tests/ab-choose-073.xml b/test-suite/tests/ab-choose-073.xml new file mode 100644 index 00000000..87e22c33 --- /dev/null +++ b/test-suite/tests/ab-choose-073.xml @@ -0,0 +1,59 @@ + + + + AB choose-073 + + + 2023-12-10 + + Achim Berndzen + + +

Additional tests for p:choose

+
+
+
+
+ +

Tests p:choose inside p:if with test="false()"

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The root element is not 'doc'. + + + + +
\ No newline at end of file diff --git a/test-suite/tests/ab-choose-074.xml b/test-suite/tests/ab-choose-074.xml new file mode 100644 index 00000000..89c921ba --- /dev/null +++ b/test-suite/tests/ab-choose-074.xml @@ -0,0 +1,58 @@ + + + + p:choose-074 (AB) + + + 2023-12-10 + + Achim Berndzen + + +

New tests

+
+
+
+
+ +

Test p:choose with a p:try child and test="false()" and no p:otherwise.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + Root element is not 'doc'. + Root should not have an attribute. + + + + +
\ No newline at end of file diff --git a/test-suite/tests/ab-choose-075.xml b/test-suite/tests/ab-choose-075.xml new file mode 100644 index 00000000..fab8ca7a --- /dev/null +++ b/test-suite/tests/ab-choose-075.xml @@ -0,0 +1,53 @@ + + + + p:choose-075 (AB) + + + 2023-12-10 + + Achim Berndzen + + +

New tests

+
+
+
+
+ +

Test p:choose with a p:group child and test="false()" and no p:otherwise.

+
+ + + + + + + + + + + + + + + + + + + + + + Root element is not 'doc'. + Root should not have an attribute. + + + + +
\ No newline at end of file diff --git a/test-suite/tests/ab-choose-076.xml b/test-suite/tests/ab-choose-076.xml new file mode 100644 index 00000000..1fc3e846 --- /dev/null +++ b/test-suite/tests/ab-choose-076.xml @@ -0,0 +1,53 @@ + + + + p:choose-076 (AB) + + + 2023-12-10 + + Achim Berndzen + + +

New tests

+
+
+
+
+ +

Test p:choose with a p:for-each child and test="false()" and no p:otherwise.

+
+ + + + + + + + + + + + + + + + + + + + + + Root element is not 'doc'. + Root should not have an attribute. + + + + +
\ No newline at end of file diff --git a/test-suite/tests/ab-if-034.xml b/test-suite/tests/ab-if-034.xml new file mode 100644 index 00000000..b8f332b5 --- /dev/null +++ b/test-suite/tests/ab-if-034.xml @@ -0,0 +1,55 @@ + + + + p:if-034 (AB) + + + 2023-12-10 + + Achim Berndzen + + +

New tests

+
+
+
+
+ +

Test p:if with a sequence as DRP and test="false()".

+
+ + + + + + + + + + + + + + + + + + + + + + Root element is not 'result'. + Root should only have one child. + First child of 'result' is not 'doc'. + Second child of 'result' is not 'doc'. + + + + +
\ No newline at end of file diff --git a/test-suite/tests/ab-if-035.xml b/test-suite/tests/ab-if-035.xml new file mode 100644 index 00000000..f8acace7 --- /dev/null +++ b/test-suite/tests/ab-if-035.xml @@ -0,0 +1,56 @@ + + + + p:if-035 (AB) + + + 2023-12-10 + + Achim Berndzen + + +

New tests

+
+
+
+
+ +

Test p:if with a p:try child and test="false()".

+
+ + + + + + + + + + + + + + + + + + + + + + + + + Root element is not 'doc'. + Root should not have an attribute. + + + + +
\ No newline at end of file diff --git a/test-suite/tests/ab-if-036.xml b/test-suite/tests/ab-if-036.xml new file mode 100644 index 00000000..74702ee2 --- /dev/null +++ b/test-suite/tests/ab-if-036.xml @@ -0,0 +1,51 @@ + + + + p:if-036 (AB) + + + 2023-12-10 + + Achim Berndzen + + +

New tests

+
+
+
+
+ +

Test p:if with a p:group child and test="false()".

+
+ + + + + + + + + + + + + + + + + + + + Root element is not 'doc'. + Root should not have an attribute. + + + + +
\ No newline at end of file diff --git a/test-suite/tests/ab-if-037.xml b/test-suite/tests/ab-if-037.xml new file mode 100644 index 00000000..0a784d3f --- /dev/null +++ b/test-suite/tests/ab-if-037.xml @@ -0,0 +1,51 @@ + + + + p:if-037 (AB) + + + 2023-12-10 + + Achim Berndzen + + +

New tests

+
+
+
+
+ +

Test p:if with a p:for-each child and test="false()".

+
+ + + + + + + + + + + + + + + + + + + + Root element is not 'doc'. + Root should not have an attribute. + + + + +
\ No newline at end of file