Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML update to BRBINFO, ProductId #34513

Merged
merged 9 commits into from
Aug 1, 2024
Prev Previous commit
Next Next commit
corrected pics
  • Loading branch information
rochaferraz committed Jul 31, 2024
commit bb7cbb0e11d3089d76462fdf3b29c603b86b4a52
202 changes: 101 additions & 101 deletions src/app/tests/suites/certification/Test_TC_BRBINFO_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ PICS:
config:
nodeId: 0x12344321
cluster: "Bridged Device Basic Information"
endpoint: 2
endpoint: 3

BRBINFO.ClusterId: 0x0039

Expand Down Expand Up @@ -518,34 +518,34 @@ tests:
response:
error: UNSUPPORTED_ATTRIBUTE

# - label: "Step 51: TH reads Reachable from the DUT."
# PICS: BRBINFO.S.A0011
# command: "readAttribute"
# attribute: "Reachable"
# response:
# value: true
# constraints:
# type: boolean

# - label:
# "Step 52: TH sends Write request message to DUT to change value of
# Reachable to 'false'"
# PICS: BRBINFO.S.A0011
# command: "writeAttribute"
# attribute: "Reachable"
# arguments:
# value: false
# response:
# error: UNSUPPORTED_WRITE

# - label: "Step 52b: TH reads Reachable from the DUT."
# PICS: BRBINFO.S.A0011
# command: "readAttribute"
# attribute: "Reachable"
# response:
# value: true
# constraints:
# type: boolean
- label: "Step 51: TH reads Reachable from the DUT."
PICS: BRBINFO.S.A0011
command: "readAttribute"
attribute: "Reachable"
response:
value: true
constraints:
type: boolean

- label:
"Step 52: TH sends Write request message to DUT to change value of
Reachable to 'false'"
PICS: BRBINFO.S.A0011
command: "writeAttribute"
attribute: "Reachable"
arguments:
value: false
response:
error: UNSUPPORTED_WRITE

- label: "Step 52b: TH reads Reachable from the DUT."
PICS: BRBINFO.S.A0011
command: "readAttribute"
attribute: "Reachable"
response:
value: true
constraints:
type: boolean

- label: "Step 53: TH reads UniqueID from the DUT."
PICS: BRBINFO.S.A0012
Expand Down Expand Up @@ -573,75 +573,75 @@ tests:
response:
value: UniqueIDValue

# - label:
# "Step 56: TH reads attribute ID 0x0013 from the DUT (matches in ID to
# CapabilityMinima in the parent cluster, but is absent on the
# BridgedDeviceBasicInformation cluster)."
# PICS: BRBINFO.S
# cluster: "AnyCommands"
# command: "ReadById"
# arguments:
# values:
# - name: "ClusterId"
# value: BRBINFO.ClusterId
# - name: "AttributeId"
# value: 0x0013
# response:
# error: UNSUPPORTED_ATTRIBUTE

# - label: "Step 59: TH reads ProductAppearance from the DUT."
# PICS: BRBINFO.S.A0014
# command: "readAttribute"
# attribute: "ProductAppearance"
# response:
# saveAs: ProductAppearancevalue
# constraints:
# type: ProductAppearanceStruct

# - label: "Step 60: TH writes ProductAppearance to the DUT."
# PICS: BRBINFO.S.A0014
# command: "writeAttribute"
# attribute: "ProductAppearance"
# arguments:
# value: { "Finish": 3, "PrimaryColor": 4 }
# response:
# error: UNSUPPORTED_WRITE

# - label: "Step 61: TH reads ProductAppearance attribute from the DUT."
# PICS: BRBINFO.S.A0014
# command: "readAttribute"
# attribute: "ProductAppearance"
# response:
# value: ProductAppearancevalue

# - label:
# "Step 62: TH reads attribute ID 0x0015 from the DUT (matches in ID to
# CapabilityMinima in the parent cluster, but is absent on the
# BridgedDeviceBasicInformation cluster)."
# PICS: BRBINFO.S
# cluster: "AnyCommands"
# command: "ReadById"
# arguments:
# values:
# - name: "ClusterId"
# value: BRBINFO.ClusterId
# - name: "AttributeId"
# value: 0x0015
# response:
# error: UNSUPPORTED_ATTRIBUTE

# - label:
# "Step 63: TH reads attribute ID 0x0016 from the DUT (matches in ID to
# CapabilityMinima in the parent cluster, but is absent on the
# BridgedDeviceBasicInformation cluster)."
# PICS: BRBINFO.S
# cluster: "AnyCommands"
# command: "ReadById"
# arguments:
# values:
# - name: "ClusterId"
# value: BRBINFO.ClusterId
# - name: "AttributeId"
# value: 0x0016
# response:
# error: UNSUPPORTED_ATTRIBUTE
- label:
"Step 56: TH reads attribute ID 0x0013 from the DUT (matches in ID to
CapabilityMinima in the parent cluster, but is absent on the
BridgedDeviceBasicInformation cluster)."
PICS: BRBINFO.S
cluster: "AnyCommands"
command: "ReadById"
arguments:
values:
- name: "ClusterId"
value: BRBINFO.ClusterId
- name: "AttributeId"
value: 0x0013
response:
error: UNSUPPORTED_ATTRIBUTE

- label: "Step 59: TH reads ProductAppearance from the DUT."
PICS: BRBINFO.S.A0014
command: "readAttribute"
attribute: "ProductAppearance"
response:
saveAs: ProductAppearancevalue
constraints:
type: ProductAppearanceStruct

- label: "Step 60: TH writes ProductAppearance to the DUT."
PICS: BRBINFO.S.A0014
command: "writeAttribute"
attribute: "ProductAppearance"
arguments:
value: { "Finish": 3, "PrimaryColor": 4 }
response:
error: UNSUPPORTED_WRITE

- label: "Step 61: TH reads ProductAppearance attribute from the DUT."
PICS: BRBINFO.S.A0014
command: "readAttribute"
attribute: "ProductAppearance"
response:
value: ProductAppearancevalue

- label:
"Step 62: TH reads attribute ID 0x0015 from the DUT (matches in ID to
CapabilityMinima in the parent cluster, but is absent on the
BridgedDeviceBasicInformation cluster)."
PICS: BRBINFO.S
cluster: "AnyCommands"
command: "ReadById"
arguments:
values:
- name: "ClusterId"
value: BRBINFO.ClusterId
- name: "AttributeId"
value: 0x0015
response:
error: UNSUPPORTED_ATTRIBUTE

- label:
"Step 63: TH reads attribute ID 0x0016 from the DUT (matches in ID to
CapabilityMinima in the parent cluster, but is absent on the
BridgedDeviceBasicInformation cluster)."
PICS: BRBINFO.S
cluster: "AnyCommands"
command: "ReadById"
arguments:
values:
- name: "ClusterId"
value: BRBINFO.ClusterId
- name: "AttributeId"
value: 0x0016
response:
error: UNSUPPORTED_ATTRIBUTE