Skip to content

Commit

Permalink
Adding PICS condition - Dec 6th (#12620)
Browse files Browse the repository at this point in the history
* Adding PICS condition for the following testcases:
1 .TC-BI-2.2
2 .TC-CC-9-1
3 .TC-CC-9.2
4 .TC-CC-9.3
5 .TC-DIAGSW-1.1
6 .TC-DIAGSW-2.1
7 .TC-DIAGSW-3.2
8 .TC-OOC-2.2
9 .TC-OO-2.3
10 .TC-PCC-2.2
11 .TC-PCC-2.3
12 .TC-RH-2.2
13 .TC-TM-2.2
14 .TC-TSTAT-2.2
15 .TC-TSUIC-2.2
16 .TC-WNCV-2.2
17 .TC-WNCV-2.4
18 .TC-WNCV-2.5

* Adding auto generated files
  • Loading branch information
manjunathambiger23 authored and pull[bot] committed Jul 5, 2023
1 parent 85f76e6 commit 1234548
Show file tree
Hide file tree
Showing 20 changed files with 815 additions and 185 deletions.
193 changes: 193 additions & 0 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,196 @@ PICS:

- label: "Does the device support Intermediate CA Certificate"
id: DM_ICACERT

# Basic Inputcluster
- label: "Does the device implement the PresentValue attribute?"
id: A_PRESENTVALUE

- label: "Does the device implement the OutOfService attribute?"
id: A_OUTOFSERVICE

- label: "Does the device implement the StatusFlags attribute?"
id: A_STATUSFLAGS

- label: "Can PresentValue be changed by manual operation at the DUT?"
id: MANUAL_OPERATE

- label: "Can an OutOfService be triggered?"
id: MANUAL_OUTOFSERVICE

- label: "Can an Alarm be triggered?"
id: MANUAL_ALARM

- label: "Can a Fault be triggered?"
id: MANUAL_FAULT

# Color Control cluster
- label: "Does the device implement receiving the ColorLoopSet command?"
id: CR_COLORLOOPSET

- label: "Does the device implement the COLORLOOPACTIVE attribute?"
id: A_COLORLOOPACTIVE

- label: "Does the device implement the COLORLOOPDIRECTION attribute?"
id: A_COLORLOOPDIRECTION

- label: "Does the device implement the COLORLOOPTIME attribute?"
id: A_COLORLOOPTIME

- label:
"Does the device implement the COLORLOOPSTARTENHANCEDHUE attribute?"
id: A_COLORLOOPSTARTENHANCEDHUE

- label:
"Does the device implement the COLORLOOPSTOREDENHANCEDHUE attribute?"
id: A_COLORLOOPSTOREDENHANCEDHUE

- label: "Does the device implement the ENHANCEDCURRENTHUE attribute?"
id: A_ENHANCEDCURRENTHUE

- label:
"Does the device implement receiving the EnhancedMovetoHue command?"
id: CR_ENHANCEDMOVETOHUE

# Relative Humidity cluster
- label: "Does the device implement the MeasuredValue attribute?"
id: A_RELATIVEHUMIDITY

- label: "Does the device implement the MinMeasuredValue attribute?"
id: A_RELATIVEHUMIDITY_MIN

- label: "Does the device implement the MaxMeasuredValue attribute?"
id: A_RELATIVEHUMIDITY_MAX

- label: "Does the device implement the Tolerance attribute?"
id: A_RELATIVEHUMIDITY_TOLERANCE

- label:
"Can the MeasuredValue attribute changed by physical control at the
device?"
id: MANUAL_RELATIVEHUMIDITY_CHANGE

# Temperature Measurement cluster
- label: "Does the device implement the MeasuredValue attribute"
id: A_TEMPERATURE

- label:
"Can the MeasuredValue attribute changed by physical control at the
device"
id: MANUAL_TEMPERATURE_CHANGE

# Thermostat User Configuration cluster
- label: "Does the device implement the TemperatureDisplayMode attribute"
id: A_TEMPERATURE_DISPLAY_MODE

- label: "Does the device implement the KeypadLockout attribute"
id: A_KEYPAD_LOCKOUT

- label:
"Does the device implement the ScheduleProgrammingVisibility attribute"
id: A_SCHEDULE_PROGRAMMING_VISIBILITY

# Software Diagnostics cluster
- label: "Does the device implement the SoftwareFault event?"
id: E_SOFTWAREFAULT

- label: "Does the device implement the ThreadMetrics attribute"
id: A_THREADMETRICS

- label: "Does the device implement the CurrentHeapUsed attribute"
id: A_CURRENTHEAPUSED

- label: "Does the device implement the CurrentHeapHighWaterMark attribute"
id: A_CURRENTHEAPHIGHWATERMARK

- label: "Does the device implement the ResetWaterMarks command?"
id: CR_RESETWATERMARKS

# Pump Configuration and Control cluster
- label: "Does the device implement the attribute OperationMode"
id: A_OPERATIONMODE

- label: "Does the device implement the attribute ControlMode"
id: A_CONTROLMODE

- label: "Does the device implement the attribute EffectiveOperationMode"
id: A_EFFECTIVEOPERATIONMODE

- label: "Does the device implement the attribute EffectiveControlMode"
id: A_EFFECTIVECONTROLMODE

# Thermostat cluster
- label: "Does the device implement the OccupiedCoolingSetpoint attribute"
id: A_OCCUPIEDCOOLINGSETPOINT

- label: "Does the device implement the OccupiedHeatingSetpoint attribute"
id: A_OCCUPIEDHEATINGSETPOINT

- label: "Does the device implement the MinHeatSetpointLimit attribute"
id: A_MINHEATSETPOINTLIMIT

- label: "Does the device implement the MaxHeatSetpointLimit attribute"
id: A_MAXHEATSETPOINTLIMIT

- label: "Does the device implement the MinCoolSetpointLimit attribute"
id: A_MINCOOLSETPOINTLIMIT

- label: "Does the device implement the MaxCoolSetpointLimit attribute"
id: A_MAXCOOLSETPOINTLIMIT

- label:
"Does the device implement the ControlSequenceOfOperation attribute"
id: A_CONTROLSEQUENCEOFOPERATION

- label:
"Does the device implement receiving the SetpointRaiseLower command?"
id: CR_SetpointRaiseLower

# Occupency sensing cluster
- label: "Does the device implement the Occupancy attribute?"
id: A_OCCUPANCY

- label:
"Can the Occupancy attribute changed by physical control at the
device?"
id: MANUAL_OCCUPANCY_CHANGE

# Window covering cluster
- label: "Does the device implement the Type"
id: A_TYPE

- label: "Does the device implement the ConfigStatus"
id: A_CONFIGSTATUS

- label: "Does the device implement the EndProductType"
id: A_ENDPRODUCTTYPE

# On/Off Cluster
- label: "Does the device implement the OnOff attribute?"
id: A_ONOFF

- label: "Does the device implement the GlobalSceneControl attribute?"
id: A_GLOBALSCENECONTROL

- label: "Does the device implement the OnTime attribute?"
id: A_ONTIME

- label: "Does the device implement the OffWaitTime attribute?"
id: A_OFFWAITTIME

- label: "Does the device implement receiving the Off command?"
id: CR_OFF

- label: "Does the device implement sending the On command?"
id: CR_ON

- label: "Does the device implement receiving the OffWithEffect command?"
id: CR_OFFWITHEFFECT

- label:
"Does the device implement receiving the OnWithRecallGlobalScene
command?"
id: CR_ONWITHRECALL

- label: "Does the device implement receiving the OnWithTimedOff command?"
id: CR_ONWITHTIMEOFF
21 changes: 21 additions & 0 deletions src/app/tests/suites/certification/Test_TC_BI_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,113 +26,134 @@ tests:
- label: "Reads PresentValue attribute from DUT"
command: "readAttribute"
attribute: "present value"
PICS: A_PRESENTVALUE
response:
value: 0

- label: "Reads OutOfService attribute from DUT"
command: "readAttribute"
attribute: "out of service"
PICS: A_OUTOFSERVICE
response:
value: 0

- label: "Reads StatusFlags attribute from DUT"
command: "readAttribute"
attribute: "status flags"
PICS: A_STATUSFLAGS
response:
value: 0

#issue #11475 User action needed, need to implement in YAML framework
- label: "Operate on device to change the sensor value to TRUE"
disabled: true
PICS: MANUAL_OPERATE

- label: "Reads PresentValue attribute from DUT"
disabled: true
command: "readAttribute"
attribute: "present value"
PICS: A_PRESENTVALUE
response:
value: 1

#issue #11475 User action needed, need to implement in YAML framework
- label: "Operate on device to change the sensor value to FALSE"
disabled: true
PICS: MANUAL_OPERATE

- label: "Reads PresentValue attribute from DUT"
command: "readAttribute"
attribute: "present value"
PICS: A_PRESENTVALUE
response:
value: 0

#issue #11475 User action needed, need to implement in YAML framework
- label: "Operate on device to Trigger an OutOfService state"
disabled: true
PICS: MANUAL_OUTOFSERVICE

- label: "Reads OutOfService attribute from DUT"
disabled: true
command: "readAttribute"
attribute: "out of service"
PICS: A_OUTOFSERVICE
response:
value: 1

- label: "Reads StatusFlags attribute from DUT"
disabled: true
command: "readAttribute"
attribute: "status flags"
PICS: A_STATUSFLAGS
response:
value: 4

#issue #11475 User action needed, need to implement in YAML framework
- label: "Operate on device to Clear the OutOfService state if possible"
disabled: true
PICS: MANUAL_OUTOFSERVICE

- label: "Reads OutOfService attribute from DUT"
command: "readAttribute"
attribute: "out of service"
PICS: A_OUTOFSERVICE
response:
value: 0

- label: "Reads StatusFlags attribute from DUT"
command: "readAttribute"
attribute: "status flags"
PICS: A_STATUSFLAGS
response:
value: 0

#issue #11475 User action needed, need to implement in YAML framework
- label: "Operate on device to Trigger an Alarm state"
disabled: true
PICS: MANUAL_ALARM

- label: "Reads StatusFlags attribute from DUT"
disabled: true
command: "readAttribute"
attribute: "status flags"
PICS: A_STATUSFLAGS
response:
value: 1

- label: "Operate on device to Clear the Alarm state if possible"
disabled: true
PICS: MANUAL_ALARM

- label: "Reads StatusFlags attribute from DUT"
command: "readAttribute"
attribute: "status flags"
PICS: A_STATUSFLAGS
response:
value: 0

#issue #11475 User action needed, need to implement in YAML framework
- label: "Operate on device to Trigger an Fault state"
disabled: true
PICS: MANUAL_FAULT

- label: "Reads StatusFlags attribute from DUT"
disabled: true
command: "readAttribute"
attribute: "status flags"
PICS: A_STATUSFLAGS
response:
value: 2

#issue #11475 User action needed, need to implement in YAML framework
- label: "Operate on device to Clear the Fault state if possible"
disabled: true
PICS: MANUAL_FAULT

- label: "Reads StatusFlags attribute from DUT"
command: "readAttribute"
attribute: "status flags"
PICS: A_STATUSFLAGS
response:
value: 0
Loading

0 comments on commit 1234548

Please sign in to comment.