This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/plc4x-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 9dfd411 Site checkin for project PLC4X: Jenkins Tools
9dfd411 is described below
commit 9dfd41134a204f8b5f9b38f6a297585d0c505e22
Author: jenkins <[email protected]>
AuthorDate: Thu Jul 29 18:44:49 2021 +0000
Site checkin for project PLC4X: Jenkins Tools
---
schemas/driver-testsuite.xsd | 39 ++++++++++++++++++++-------------
schemas/parser-serializer-testsuite.xsd | 22 +++++++++++++++++++
2 files changed, 46 insertions(+), 15 deletions(-)
diff --git a/schemas/driver-testsuite.xsd b/schemas/driver-testsuite.xsd
index 1406cc7..b0bd6d0 100644
--- a/schemas/driver-testsuite.xsd
+++ b/schemas/driver-testsuite.xsd
@@ -18,7 +18,7 @@
under the License.
-->
<xs:schema
targetNamespace="https://plc4x.apache.org/schemas/driver-testsuite.xsd"
- xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xs:element name="driver-testsuite">
<xs:complexType>
@@ -30,23 +30,19 @@
<!-- The outputFlavor of the protocol-->
<xs:element name="outputFlavor" type="xs:string"/>
+ <xs:element name="options" minOccurs="0" maxOccurs="1"
type="parameterList">
+ <xs:annotation>
+ <xs:documentation>
+ List of options which are specific to execution of
test or environment.
+ This might be used ie. to influence test framework
lookup strategies.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
<!-- The name of the driver we want to test (as it's used in
the connection-string) -->
<xs:element name="driver-name" type="xs:string"/>
<!-- Additional parameters passed to the driver in the
connection-string -->
- <xs:element name="driver-parameters" minOccurs="0"
maxOccurs="1">
- <xs:complexType>
- <xs:sequence minOccurs="1" maxOccurs="unbounded">
- <xs:element name="parameter">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name"
type="xs:string"/>
- <xs:element name="value"
type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
+ <xs:element name="driver-parameters" minOccurs="0"
maxOccurs="1" type="parameterList" />
<!-- Interaction which is performed to initiate the driver
connection -->
<xs:element name="setup" minOccurs="0" maxOccurs="1">
@@ -133,4 +129,17 @@
</xs:simpleContent>
</xs:complexType>
+ <xs:complexType name="parameterList">
+ <xs:sequence minOccurs="1" maxOccurs="unbounded">
+ <xs:element name="parameter">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="name" type="xs:string" />
+ <xs:element name="value" type="xs:string"
minOccurs="0" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
</xs:schema>
\ No newline at end of file
diff --git a/schemas/parser-serializer-testsuite.xsd
b/schemas/parser-serializer-testsuite.xsd
index 8a906d7..a1b17c1 100644
--- a/schemas/parser-serializer-testsuite.xsd
+++ b/schemas/parser-serializer-testsuite.xsd
@@ -29,6 +29,15 @@
<xs:element name="protocolName" type="xs:string"/>
<!-- The outputFlavor of the protocol-->
<xs:element name="outputFlavor" type="xs:string"/>
+
+ <xs:element name="options" minOccurs="0" maxOccurs="1"
type="parameterList">
+ <xs:annotation>
+ <xs:documentation>
+ List of options which are specific to execution of
test or environment.
+ This might be used ie. to influence test framework
lookup strategies.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
<!--
Each testcase is a set of hexadecimal input and expected
output.
A test will parse the binary input and compare the parsed
result
@@ -65,4 +74,17 @@
</xs:complexType>
</xs:element>
+ <xs:complexType name="parameterList">
+ <xs:sequence minOccurs="1" maxOccurs="unbounded">
+ <xs:element name="parameter">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="name" type="xs:string" />
+ <xs:element name="value" type="xs:string"
minOccurs="0" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
</xs:schema>
\ No newline at end of file