-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added Manual scripts * Added Auto generated file * Restyled by whitespace * Restyled by clang-format Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
Showing
59 changed files
with
6,879 additions
and
2,545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default | ||
|
||
name: 29.1.1. [TC-BDX-1.1] Sender Initiated BDX Transfer session | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "DUT sends a SendInit message to TH" | ||
verification: | | ||
Verify that the SendInit message has the following mandatory fields Proposed Transfer Control - At least one of the PTC[RECEIVER_DRIVE] or PTC[SENDER_DRIVE] field bits shall be set. Range Control Proposed Max Block Size Start Offset - Optional Proposed Max Length - Optional File Designator Length File Designator Metadata - Optional | ||
disabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default | ||
|
||
name: 29.1.3. [TC-BDX-1.3] Response to Sender Initiated BDX Transfer session | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: | ||
"TH sends a SendInit message to DUT + DUT sends a SendAccept message | ||
back to TH" | ||
verification: | | ||
Verify that the SendAccept message has the following mandatory fields Transfer Control - Exactly one mode shall be chosen out of the original proposed transfer methods sent by the Initiator and version shall be the newest version supported by Responder that is not newer than the proposed version sent by the Initiator. Max Block Size - Must be less than or equal to the proposed max block size. Metadata - Optional | ||
disabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default | ||
|
||
name: | ||
29.1.5. [TC-BDX-1.5] Response to Sender Initiated BDX Transfer session - | ||
Negative scenario | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: | ||
"TH sends a SendInit message to DUT with a file designator not | ||
supported by DUT" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error FILE_DESIGNATOR_UNKNOWN. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a SendInit message to DUT with an invalid start offset or | ||
one that is not supported by DUT" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error START_OFFSET_NOT_SUPPORTED. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a SendInit message to DUT with definite length field too | ||
large for DUT" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error LENGTH_TOO_LARGE. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a SendInit message to DUT with definite length field too | ||
short for DUT" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error LENGTH_TOO_SHORT. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a SendInit message to DUT with a missing definite length | ||
field" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error LENGTH_REQUIRED. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a SendInit message to DUT with proposed transfer control | ||
method not supported by DUT" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error TRANSFER_METHOD_NOT_SUPPORTED. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a SendInit message to DUT when the DUT is too busy to | ||
process another transfer" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error RESPONDER_BUSY. | ||
disabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default | ||
|
||
name: | ||
29.1.6. [TC-BDX-1.6] Response to Receiver Initiated BDX Transfer session - | ||
Negative scenario | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: | ||
"TH sends a ReceiveInit message to DUT with a file designator not | ||
supported by DUT" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error FILE_DESIGNATOR_UNKNOWN. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a ReceiveInit message to DUT with an invalid start offset or | ||
one that is not supported by DUT" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error START_OFFSET_NOT_SUPPORTED. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a ReceiveInit message to DUT with definite length field too | ||
large for DUT" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error LENGTH_TOO_LARGE. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a ReceiveInit message to DUT with a missing definite length | ||
field" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error LENGTH_REQUIRED. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a ReceiveInit message to DUT with proposed transfer control | ||
method not supported by DUT" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error TRANSFER_METHOD_NOT_SUPPORTED. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a ReceiveInit message to DUT when the DUT is too busy to | ||
process another transfer" | ||
verification: | | ||
Verify that the DUT sends back StatusReport message to TH with Error RESPONDER_BUSY. | ||
disabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default | ||
|
||
name: 29.2.3. [TC-BDX-2.3] Restart Synchronous file receiving | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: | ||
"DUT sends a ReceiveInit message to TH + TH sends a ReceiveAccept | ||
message back to DUT" | ||
verification: | | ||
Verify that the that the ReceiveInit message has the following fields Proposed Transfer Control - At least one of the PTC[RECEIVER_DRIVE] or PTC[SENDER_DRIVE] field bits shall be set. Range Control Proposed Max Block Size Start Offset - Should be set to the offset of the first byte desired in the first block transferred. Proposed Max Length - Optional File Designator Length File Designator Metadata - Optional | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a Block message to DUT + DUT sends a BlockAck message back | ||
to TH" | ||
verification: | | ||
Verify that the BlockAck message has the following mandatory fields Block Counter - Must correspond to the Block Counter which was embedded in the Block being acknowledged. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a BlockEOF message to DUT + DUT sends a BlockAckEOF message | ||
back to TH" | ||
verification: | | ||
Verify that the BlockAckEOF message has the following mandatory fields Block Counter - Must correspond to the Block Counter which was embedded in the BlockEOF being acknowledged. | ||
disabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default | ||
|
||
name: 29.2.4. [TC-BDX-2.4] Asynchronous file sending | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: | ||
"DUT sends a SendInit message to TH + TH sends a SendAccept message | ||
back to DUT + DUT sends a Block message to TH" | ||
verification: | | ||
Verify that the Block message has the following mandatory fields Block Counter - Must start at 0 at the start of the transfer. Data - The length must be in the range [0 < Length ⇐ Max Block Size], where Max Block Size is the negotiated Max Block Size matching the SendAccept message that initiated the transfer. | ||
disabled: true | ||
|
||
- label: "DUT sends a Block message to TH" | ||
verification: | | ||
Verify that the Blocks are sent in ascending and sequential block counter order. | ||
disabled: true | ||
|
||
- label: | ||
"DUT sends a BlockEOF message to TH + TH sends a BlockAckEOF message | ||
back to DUT" | ||
verification: | | ||
Verify that the BlockEOF message has the following mandatory fields Block Counter Data - The length must be in the range [0 ⇐ Length ⇐ Max Block Size], where Max Block Size is the negotiated Max Block Size matching the SendAccept message that initiated the transfer. Verify that the pre-negotiated file size was transferred, if a definite size had been given. | ||
disabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default | ||
|
||
name: 29.2.5. [TC-BDX-2.5] Asynchronous file receiving | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: | ||
"DUT sends a ReceiveInit message to TH + TH sends a ReceiveAccept | ||
message back to DUT + TH sends a Block message to DUT" | ||
verification: | | ||
Verify that the ReceiveInit message has the following fields Proposed Transfer Control - PTC[ASYNC] field bit shall be set. | ||
disabled: true | ||
|
||
- label: | ||
"TH sends a BlockEOF message to DUT + DUT sends a BlockAckEOF message | ||
back to TH" | ||
verification: | | ||
Verify that the BlockAckEOF message has the following mandatory fields Block Counter - Must correspond to the Block Counter which was embedded in the BlockEOF being acknowledged. | ||
disabled: true |
Oops, something went wrong.