Skip to content

Commit

Permalink
Adding YAML Test Cases - Nov 19th (#12023)
Browse files Browse the repository at this point in the history
* Adding YAML Scripts
1. TC-WNCV-2.4
2. TC-TSTAT-2.2
3. TC-DIAGSW-2.1

* Adding auto generated files
  • Loading branch information
manjunath-grl authored Nov 22, 2021
1 parent dbf7d9d commit a3b642a
Show file tree
Hide file tree
Showing 7 changed files with 3,763 additions and 50 deletions.
5 changes: 4 additions & 1 deletion examples/chip-tool/templates/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ function getTests()
const Thermostat = [
'Test_TC_TSTAT_1_1',
'Test_TC_TSTAT_2_1',
'Test_TC_TSTAT_2_2',
];

const ThermostatUserConfiguration = [
Expand All @@ -148,13 +149,13 @@ function getTests()

const ThreadNetworkDiagnostics = [
'Test_TC_DIAGTH_1_1',
'Test_TC_DIAGSW_3_2',
];

const WindowCovering = [
'Test_TC_WNCV_1_1',
'Test_TC_WNCV_2_1',
'Test_TC_WNCV_2_2',
'Test_TC_WNCV_2_4',
'Test_TC_WNCV_2_5',
'Test_TC_WNCV_3_1',
'Test_TC_WNCV_3_2',
Expand Down Expand Up @@ -192,6 +193,8 @@ function getTests()

const SoftwareDiagnostics = [
'Test_TC_DIAGSW_1_1',
'Test_TC_DIAGSW_2_1',
'Test_TC_DIAGSW_3_2',
];

const Subscriptions = [
Expand Down
29 changes: 29 additions & 0 deletions src/app/tests/suites/certification/Test_TC_DIAGSW_2_1.yaml
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.

name: 48.1.3. [TC-DIAGSW-2.1] Event functionality with server as DUT

config:
cluster: "Software Diagnostics"
endpoint: 1

tests:
#issue #11725 Reading the List is not implemented in YAML framework
- label: "Reads a list of SoftwareFault struct from DUT"
disabled: true
command: "readAttribute"
attribute: "SoftwareFault"
response:
constraints:
value: 0
Loading

0 comments on commit a3b642a

Please sign in to comment.