Skip to content

Commit

Permalink
Modified tests June 17 (#19704)
Browse files Browse the repository at this point in the history
* Modified tests
TC-BOOl-1.1
TC-CC-1.1
TC-FLW-1.1
TC-I-1.1
TC-ILL-1.1
TC-ILL-2.1
TC-LVL-1.1 to TC-LVL-6.1
TC-MC-1.*
TC-MOD-1.1
TC-OCC-1.1
TC-OCC-2.1
TC-OO-1.1
TC-OO-2.4
TC-PCC-1.1
TC-PRS-1.1
TC-PS-1.1
TC-RH-2.1
TC-TSUIC-1.1
TC-ULABEL-1.1
TC-WNCV-1.1
TC-WNCV-2.1
TC-WNCV-4.3

* Added auto genearted files

* Added PICS values

* Modified MC-1.4 test

* Auto generated files
  • Loading branch information
manjunath-grl authored and pull[bot] committed Jul 7, 2023
1 parent 2f12e4d commit 1c43420
Show file tree
Hide file tree
Showing 45 changed files with 6,805 additions and 8,806 deletions.
219 changes: 219 additions & 0 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -622,3 +622,222 @@ PICS:
"Can the MeasuredValue attribute changed by physical control at the
device?"
id: MANUAL_FLOW_CHANGE

#Media clusters
- label:
"Does the DUT support the Keypad Input server cluster Navigation Keys?"
id: MC_KEYPADINPUT.S.NV

- label:
"Does the DUT support the Keypad Input server cluster Location Keys?"
id: MC_KEYPADINPUT.S.LK

- label: "Does the DUT support the Keypad Input server cluster Number Keys?"
id: MC_KEYPADINPUT.S.NK

- label:
"Does the DUT support the Application Launcher server cluster
Application Platform feature?"
id: MC_APPLAUNCHER.S.AP

- label:
"Does the DUT support the Application Launcher server cluster
CatalogList attribute?"
id: MC_APPLAUNCHER.S.A0000

- label:
"Does the DUT support the Application Launcher server cluster
CurrentApp attribute?"
id: MC_APPLAUNCHER.S.A0001

- label:
"Does the DUT support the Media Input server cluster InputList
attribute?"
id: MC_MEDIAINPUT.S.A0000

- label:
"Does the DUT support the Media Input server cluster CurrentInput
attribute?"
id: MC_MEDIAINPUT.S.A0001

- label:
"Does the DUT support the Media Input server cluster Name Updates
feature?"
id: MC_MEDIAINPUT.S.NU

- label:
"Does the DUT support the Channel server cluster Channel List feature?"
id: MC_CHANNEL.S.CL

- label:
"Does the DUT support the Channel server cluster Lineup Info feature?"
id: MC_CHANNEL.S.LI

- label:
"Does the DUT support the Channel server cluster ChannelList
attribute?"
id: MC_CHANNEL.S.A0000

- label: "Does the DUT support the Channel server cluster Lineup attribute?"
id: MC_CHANNEL.S.A0001

- label:
"Does the DUT support the Channel server cluster CurrentChannel
attribute?"
id: MC_CHANNEL.S.A0002

- label:
"Does the DUT support the Channel server cluster ChangeChannel
command?"
id: MC_CHANNEL.S.C0000

- label:
"Does the DUT support the Channel server cluster ChangeChannelByNumber
command?"
id: MC_CHANNEL.S.C0002

- label:
"Does the DUT support the Channel server cluster SkipChannel command?"
id: MC_CHANNEL.S.C0003

- label:
"Does the DUT support the Media Playback server cluster Advanced Seek
feature?"
id: MC_MEDIAPLAYBACK.S.AS

- label:
"Does the DUT support the Media Playback server cluster Variable Speed
feature?"
id: MC_MEDIAPLAYBACK.S.VS

- label:
"Does the DUT the Audio Output server cluster Name Updates feature?"
id: NAMEUPDATES

- label:
"Does the DUT support the Target Navigator server cluster
CurrentTarget attribute?"
id: MC_TGTNAV.S.A0001

- label:
"Does the DUT support the Application Basic server cluster VendorName
attribute?"
id: MC_APBSC.S.A0000

- label:
"Does the DUT support the Application Basic server cluster VendorID
attribute?"
id: MC_APBSC.S.A0001

- label:
"Does the DUT support the Application Basic server cluster ProductID
attribute?"
id: MC_APBSC.S.A0003

- label:
"Does the DUT support the Content Launcher server cluster Content
Search feature?"
id: MC_CONTENTLAUNCHER.S.CS

- label:
"Does the DUT support the Content Launcher server cluster Content
Search feature?"
id: MC_CONTENTLAUNCHER.S.UP

- label:
"Does the DUT support the Content Launcher server cluster AcceptHeader
attribute?"
id: MC_CONTENTLAUNCHER.S.A0000

- label:
"Does the DUT support the Content Launcher server cluster
SupportedStreamingProtocols attribute?"
id: MC_CONTENTLAUNCHER.S.A0001

- label: "Does the device implement the Tolerance attribute?"
id: PRS.S.A0003

- label: "Does the device implement the Occupancy attribute?"
id: OCC.S.A0000

- label: "Does the device implement the OccupancySensorType attribute?"
id: OCC.S.A0001

- label:
"Does the device implement the OccupancySensorTypeBitmap attribute?"
id: OCC.S.A0002

- label:
"Does the device implement the PIROccupiedToUnoccupiedDelay attribute?"
id: OCC.S.A0010

- label:
"Does the device implement the PIRUnoccupiedToOccupiedDelay attribute?"
id: OCC.S.A0011

- label:
"Does the device implement the PIRUnoccupiedToOccupiedThreshold
attribute?"
id: OCC.S.A0012

- label:
"Does the device implement the UltrasonicOccupiedToUnoccupiedDelay
attribute?"
id: OCC.S.A0020

- label:
"Does the device implement the UltrasonicUnoccupiedToOccupiedDelay
attribute?"
id: OCC.S.A0021

- label:
"Does the device implement the UltrasonicUnoccupiedToOccupiedThreshold
attribute?"
id: OCC.S.A0022

- label:
"Does the device implement the
PhysicalContactOccupiedToUnoccupiedDelay attribute?"
id: OCC.S.A0030

- label:
"Does the device implement the
PhysicalContactUnoccupiedToOccupiedDelay attribute?"
id: OCC.S.A0031

- label:
"Does the device implement the
PhysicalContactUnoccupiedToOccupiedThreshold attribute?"
id: OCC.S.A0032

- label: "Does the device implement the Tolerance attribute?"
id: FLW.S.A0003

- label: "Does the DUT(server) support the Hue/Saturation feature?"
id: CC.S.F00

- label: "Does the DUT(server) support the Enhanced Hue feature?"
id: CC.S.F01

- label: "Does the DUT(server) support the Color Loop feature?"
id: CC.S.F02

- label: "Does the DUT(server) support the Color XY feature?"
id: CC.S.F03

- label: "Does the DUT(server) support the Color Temperature feature?"
id: CC.S.F04

- label: "Does the device support extended range and resolution?"
id: PRS.S.F00

- label:
"Does the DUT(server) support the Frequency attributes and behavior
feature?"
id: LVL.S.F02

- label: "Does the DUT(server) support the MaxLevel attribute?"
id: LVL.S.A0003

- label: "Does the DUT(server) support the MinLevel attribute?"
id: LVL.S.A0002
37 changes: 12 additions & 25 deletions src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,16 @@ tests:
attribute: "ClusterRevision"
response:
value: 1
constraints:
type: uint16

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

- label: "Read the global attribute: AttributeList"
command: "readAttribute"
Expand All @@ -49,22 +52,6 @@ tests:
constraints:
type: list

#issue #15011
- label:
"Read EventList attribute from the DUT and Verify that the DUT
response provides a list of supported events."
verification: |
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"
Expand All @@ -81,18 +68,18 @@ tests:
constraints:
type: list

#issue #17483
#issue #15011
- label:
"Read FeatureMap attribute from the DUT and Verify that the DUT
response indicates FeatureMap attribute has the value 0"
"Read EventList attribute from the DUT and Verify that the DUT
response provides a list of supported events."
verification: |
./chip-tool booleanstate read feature-map 1 1(Not implemented in SDK)
Not implemented in chip-tool
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_USER_PROMPT
arguments:
values:
- name: "message"
value: "Please enter '0' for success"
value: "Please enter 'y' for success"
- name: "expectedValue"
value: 0
value: "y"
Loading

0 comments on commit 1c43420

Please sign in to comment.