Skip to content

Commit

Permalink
Removed Arithmetics operations relying on Unit test cluster from TC_S…
Browse files Browse the repository at this point in the history
…_2_2 and TC_S_2_3
  • Loading branch information
lpbeliveau-silabs committed Aug 21, 2024
1 parent b367512 commit 928a675
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 62 deletions.
33 changes: 2 additions & 31 deletions src/app/tests/suites/certification/Test_TC_S_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,36 +50,6 @@ tests:
- name: "SceneTableSize"
saveAs: maxScenes

- label: "Arithmetic operation to get the maxScenes - 1"
cluster: "Unit Testing"
command: "TestAddArguments"
arguments:
values:
- name: "arg1"
value: maxScenes - 1
- name: "arg2"
value: 0
response:
values:
- name: "returnValue"
saveAs: maxScenesMinusOne
value: maxScenes - 1

- label: "Arithmetic operation to get the fabric Capacity"
cluster: "Unit Testing"
command: "TestAddArguments"
arguments:
values:
- name: "arg1"
value: maxScenesMinusOne / 2
- name: "arg2"
value: 0
response:
values:
- name: "returnValue"
saveAs: fabricCapacity
value: maxScenesMinusOne / 2

- label:
"Step 0a :TH reads attribute {ServerList} from the Descriptor cluster
of the endpoint that implements the Scenes Management server on the
Expand Down Expand Up @@ -202,7 +172,8 @@ tests:
- name: "Status"
value: 0x00
- name: "Capacity"
value: fabricCapacity
value: (maxScenes - 1) / 2
saveAs: fabricCapacity
- name: "GroupID"
value: G1

Expand Down
33 changes: 2 additions & 31 deletions src/app/tests/suites/certification/Test_TC_S_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,36 +50,6 @@ tests:
- name: "SceneTableSize"
saveAs: maxScenes

- label: "Arithmetic operation to get the maxScenes - 1"
cluster: "Unit Testing"
command: "TestAddArguments"
arguments:
values:
- name: "arg1"
value: maxScenes - 1
- name: "arg2"
value: 0
response:
values:
- name: "returnValue"
saveAs: maxScenesMinusOne
value: maxScenes - 1

- label: "Arithmetic operation to get the fabric Capacity"
cluster: "Unit Testing"
command: "TestAddArguments"
arguments:
values:
- name: "arg1"
value: maxScenesMinusOne / 2
- name: "arg2"
value: 0
response:
values:
- name: "returnValue"
saveAs: fabricCapacity
value: maxScenesMinusOne / 2

- label:
"Step 0a: TH sends KeySetWrite command in the GroupKeyManagement
cluster to DUT using a key that is pre-installed on the TH.
Expand Down Expand Up @@ -259,7 +229,8 @@ tests:
- name: "Status"
value: 0x00
- name: "Capacity"
value: fabricCapacity
value: (maxScenes - 1) / 2
saveAs: fabricCapacity
- name: "GroupID"
value: G1
- name: "SceneList"
Expand Down

0 comments on commit 928a675

Please sign in to comment.