From eae58388d2ec00a624ebc5537ad9a90811f5741a Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Sun, 12 May 2024 16:23:07 +0100 Subject: [PATCH] Tests for step-available --- test-suite/tests/nw-step-available-001.xml | 57 ++++++++++++++++++++ test-suite/tests/nw-step-available-002.xml | 58 ++++++++++++++++++++ test-suite/tests/nw-step-available-003.xml | 60 +++++++++++++++++++++ test-suite/tests/nw-step-available-004.xml | 61 ++++++++++++++++++++++ 4 files changed, 236 insertions(+) create mode 100644 test-suite/tests/nw-step-available-001.xml create mode 100644 test-suite/tests/nw-step-available-002.xml create mode 100644 test-suite/tests/nw-step-available-003.xml create mode 100644 test-suite/tests/nw-step-available-004.xml diff --git a/test-suite/tests/nw-step-available-001.xml b/test-suite/tests/nw-step-available-001.xml new file mode 100644 index 00000000..8dbbcf58 --- /dev/null +++ b/test-suite/tests/nw-step-available-001.xml @@ -0,0 +1,57 @@ + + + + Step available 001 (NW) + + + 2024-04-01 + + Norm Tovey-Walsh + + +

Initial commit

+
+
+
+
+ +

Test a user-defined step with a body that is conditionally present.

+
+ + + + + + + + + + + + + + + + + + {p:step-available('ex:step1')} + + + + + + + + + The step should not be available. + + + + +
diff --git a/test-suite/tests/nw-step-available-002.xml b/test-suite/tests/nw-step-available-002.xml new file mode 100644 index 00000000..d068914b --- /dev/null +++ b/test-suite/tests/nw-step-available-002.xml @@ -0,0 +1,58 @@ + + + + Step available 002 (NW) + + + 2024-04-01 + + Norm Tovey-Walsh + + +

Initial commit

+
+
+
+
+ +

Test a user-defined step with a body that is conditionally present.

+
+ + + + + + + + + + + + + + + + + + + {p:step-available('ex:step1')} + + + + + + + + + The step should be available. + + + + +
diff --git a/test-suite/tests/nw-step-available-003.xml b/test-suite/tests/nw-step-available-003.xml new file mode 100644 index 00000000..fcb55136 --- /dev/null +++ b/test-suite/tests/nw-step-available-003.xml @@ -0,0 +1,60 @@ + + + + Step available 003 (NW) + + + 2024-04-01 + + Norm Tovey-Walsh + + +

Initial commit

+
+
+
+
+ +

Test a user-defined step with a body that is conditionally present.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The step should not be available. + + + + +
diff --git a/test-suite/tests/nw-step-available-004.xml b/test-suite/tests/nw-step-available-004.xml new file mode 100644 index 00000000..edcc3adf --- /dev/null +++ b/test-suite/tests/nw-step-available-004.xml @@ -0,0 +1,61 @@ + + + + Step available 004 (NW) + + + 2024-04-01 + + Norm Tovey-Walsh + + +

Initial commit

+
+
+
+
+ +

Test a user-defined step with a body that is conditionally present.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The step should be available. + + + + +