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

Adding PICS condition - Dec 6th #12620

Merged
merged 2 commits into from Dec 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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