Skip to content

Commit

Permalink
Merge ccf5284 into 8dabae0
Browse files Browse the repository at this point in the history
  • Loading branch information
kowsisoundhar12 authored Jun 3, 2022
2 parents 8dabae0 + ccf5284 commit 4456210
Show file tree
Hide file tree
Showing 68 changed files with 14,108 additions and 8,631 deletions.
6 changes: 3 additions & 3 deletions examples/darwin-framework-tool/templates/tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ function getTests() {
tests.disable('TestGroupMessaging');

// TODO: Test_TC_DIAG_TH_NW_1_1 does not work on Darwin for now.
tests.disable('Test_TC_DIAG_TH_NW_1_1');
tests.disable('Test_TC_DIAG_TH_NW_2_4');

// TODO: Test_TC_DIAG_TH_NW_1_2 does not work on Darwin for now.
tests.disable('Test_TC_DIAG_TH_NW_1_2');
// TODO: Test_TC_DIAG_TH_NW_2_1 does not work on Darwin for now.
tests.disable('Test_TC_DIAG_TH_NW_2_1');

// TODO: Test_TC_DIAG_TH_NW_2_2 does not work on Darwin for now.
tests.disable('Test_TC_DIAG_TH_NW_2_2');
Expand Down
118 changes: 55 additions & 63 deletions src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,74 +11,66 @@
# 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: 3.1.1. [TC-ACT-1.1] Global attributes with server as DUT
name: 75.1.1. [TC-ACT-1.1] Global attributes with server as DUT

config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
cluster: "Bridged Actions"
endpoint: 1

tests:
- label: "Commission DUT to TH (can be skipped if done in a preceding test)"
verification: |
disabled: true

- label: "Read ClusterRevision (global attribute 65533)"
verification: |
./chip-tool bridgedactions read cluster-revision 1 1
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFFD DataVersion: 3573360937
[1649664569.312693][8655:8660] CHIP:TOO: ClusterRevision: 1
disabled: true

- label: "Read FeatureMap (global attribute 65532)"
verification: |
./chip-tool bridgedactions read feature-map 1 1
Need to implement in SDK
disabled: true

- label: "Read AttributeList (global attribute 65531)"
verification: |
./chip-tool bridgedactions read attribute-list 1 1
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFFB DataVersion: 3573360937
[1649664685.946524][8671:8676] CHIP:TOO: AttributeList: 7 entries
[1649664685.946600][8671:8676] CHIP:TOO: [1]: 0
[1649664685.946649][8671:8676] CHIP:TOO: [2]: 1
[1649664685.946696][8671:8676] CHIP:TOO: [3]: 2
[1649664685.946744][8671:8676] CHIP:TOO: [4]: 65528
[1649664685.946790][8671:8676] CHIP:TOO: [5]: 65529
[1649664685.946836][8671:8676] CHIP:TOO: [6]: 65531
[1649664685.946901][8671:8676] CHIP:TOO: [7]: 65533
disabled: true

- label: "Read EventList (global attribute 65530)"
verification: |
./chip-tool bridgedactions read event-list 1 1
Need to implement in chip-tool
disabled: true

- label: "Wait for the commissioned device to be retrieved"
cluster: "DelayCommands"
command: "WaitForCommissionee"
arguments:
values:
- name: "nodeId"
value: nodeId

- label: "Read the global attribute: ClusterRevision"
command: "readAttribute"
attribute: "ClusterRevision"
response:
value: 1
constraints:
type: uint16

- label: "Read the global attribute: AttributeList"
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list

#issue #15011
- label:
"Read AcceptedCommandList (global attribute 65529) ; retain this list
for reference in test [TC-ACT-2.2] step 4d"
"Read EventList attribute from the DUT and Verify that the DUT
response provides a list of supported events."
verification: |
./chip-tool bridgedactions read accepted-command-list 1 1
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFF9 DataVersion: 2809940331
CHIP:TOO: AcceptedCommandList: 0 entries
CHIP:EM: Sending Standalone Ack for MessageCounter:3357407 on exchange 13031i
disabled: true

- label: "Read GeneratedCommandList (global attribute 65528)"
verification: |
./chip-tool bridgedactions read generated-command-list 1 1
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFF8 DataVersion: 2809940331
CHIP:TOO: GeneratedCommandList: 0 entries
CHIP:EM: Sending Standalone Ack for MessageCounter:14920557 on exchange 16149i
disabled: true
Not implemented in chip-tool
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_USER_PROMPT
arguments:
values:
- name: "message"
value: "Please enter 'y' for success"
- name: "expectedValue"
value: "y"

- label: "Read the global attribute: AcceptedCommandList"
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
value: []
constraints:
type: list

- label: "Read the global attribute: GeneratedCommandList"
command: "readAttribute"
attribute: "GeneratedCommandList"
response:
value: []
constraints:
type: list
86 changes: 0 additions & 86 deletions src/app/tests/suites/certification/Test_TC_BI_1_1.yaml

This file was deleted.

Loading

0 comments on commit 4456210

Please sign in to comment.