Skip to content

Commit

Permalink
Fix various typos in src/app/tests/suites/ yaml tests (#3 attempt)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple committed Jan 24, 2023
1 parent 70b5459 commit 2edebfe
Show file tree
Hide file tree
Showing 22 changed files with 100 additions and 100 deletions.
6 changes: 3 additions & 3 deletions src/app/tests/suites/TV_AccountLoginCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tests:
value: nodeId

- label: "Get Setup PIN Command"
command: "getSetupPIN"
command: "GetSetupPIN"
timedInteractionTimeoutMs: 10000
arguments:
values:
Expand All @@ -40,7 +40,7 @@ tests:
- name: "SetupPIN"
value: "tempPin123"
- label: "Login Command"
command: "login"
command: "Login"
timedInteractionTimeoutMs: 10000
arguments:
values:
Expand All @@ -50,5 +50,5 @@ tests:
value: "tempPin123"

- label: "Logout Command"
command: "logout"
command: "Logout"
timedInteractionTimeoutMs: 10000
6 changes: 3 additions & 3 deletions src/app/tests/suites/TV_ApplicationLauncherCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ tests:
value: null

- label: "Launch App Command"
command: "launchApp"
command: "LaunchApp"
arguments:
values:
- name: "Data"
Expand All @@ -56,7 +56,7 @@ tests:
value: 0

- label: "Stop App Command"
command: "stopApp"
command: "StopApp"
arguments:
values:
- name: "Application"
Expand All @@ -69,7 +69,7 @@ tests:
value: 0

- label: "Hide App Command"
command: "hideApp"
command: "HideApp"
arguments:
values:
- name: "Application"
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/TV_AudioOutputCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ tests:
value: 1

- label: "Select Output Command"
command: "selectOutput"
command: "SelectOutput"
arguments:
values:
- name: "Index"
value: 1

- label: "Rename Output Command"
command: "renameOutput"
command: "RenameOutput"
arguments:
values:
- name: "Index"
Expand Down
6 changes: 3 additions & 3 deletions src/app/tests/suites/TV_ChannelCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ tests:
}

- label: "Change Channel Command"
command: "changeChannel"
command: "ChangeChannel"
arguments:
values:
- name: "Match"
Expand All @@ -103,7 +103,7 @@ tests:
value: 0

- label: "Change Channel By Number Command"
command: "changeChannelByNumber"
command: "ChangeChannelByNumber"
arguments:
values:
- name: "MajorNumber"
Expand All @@ -112,7 +112,7 @@ tests:
value: 0

- label: "Skip Channel Command"
command: "skipChannel"
command: "SkipChannel"
arguments:
values:
- name: "Count"
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/TV_ContentLauncherCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ tests:
value: 0

- label: "Launch Content Command"
command: "launchContent"
command: "LaunchContent"
arguments:
values:
- name: "AutoPlay"
Expand Down Expand Up @@ -69,7 +69,7 @@ tests:
value: 0

- label: "Launch URL Command"
command: "launchURL"
command: "LaunchURL"
arguments:
values:
- name: "ContentURL"
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/TV_KeypadInputCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tests:
value: nodeId

- label: "Send Key Command"
command: "sendKey"
command: "SendKey"
arguments:
values:
- name: "KeyCode"
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/TV_LowPowerCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ tests:
value: nodeId

- label: "Sleep Input Status Command"
command: "sleep"
command: "Sleep"
8 changes: 4 additions & 4 deletions src/app/tests/suites/TV_MediaInputCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,20 @@ tests:
value: 1

- label: "Select Input Command"
command: "selectInput"
command: "SelectInput"
arguments:
values:
- name: "Index"
value: 1

- label: "Hide Input Status Command"
command: "hideInputStatus"
command: "HideInputStatus"

- label: "Show Input Status Command"
command: "showInputStatus"
command: "ShowInputStatus"

- label: "Rename Input Command"
command: "renameInput"
command: "RenameInput"
arguments:
values:
- name: "Index"
Expand Down
20 changes: 10 additions & 10 deletions src/app/tests/suites/TV_MediaPlaybackCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ tests:
value: 0

- label: "Media Playback Play Command"
command: "play"
command: "Play"
response:
values:
- name: "Data"
Expand All @@ -80,7 +80,7 @@ tests:
value: 0

- label: "Media Playback Pause Command"
command: "pause"
command: "Pause"
response:
values:
- name: "Data"
Expand All @@ -98,7 +98,7 @@ tests:
value: 0

- label: "Media Playback Start Over Command"
command: "startOver"
command: "StartOver"
response:
values:
- name: "Data"
Expand All @@ -107,7 +107,7 @@ tests:
value: 0

- label: "Media Playback Previous Command"
command: "previous"
command: "Previous"
response:
values:
- name: "Data"
Expand All @@ -116,7 +116,7 @@ tests:
value: 0

- label: "Media Playback Next Command"
command: "next"
command: "Next"
response:
values:
- name: "Data"
Expand All @@ -125,7 +125,7 @@ tests:
value: 0

- label: "Media Playback Rewind Command"
command: "rewind"
command: "Rewind"
response:
values:
- name: "Data"
Expand All @@ -134,7 +134,7 @@ tests:
value: 0

- label: "Media Playback Fast Forward Command"
command: "fastForward"
command: "FastForward"
response:
values:
- name: "Data"
Expand All @@ -143,7 +143,7 @@ tests:
value: 0

- label: "Media Playback Skip Forward Command"
command: "skipForward"
command: "SkipForward"
arguments:
values:
- name: "DeltaPositionMilliseconds"
Expand All @@ -162,7 +162,7 @@ tests:
value: { UpdatedAt: 0, Position: 500 }

- label: "Media Playback Skip Backward Command"
command: "skipBackward"
command: "SkipBackward"
arguments:
values:
- name: "DeltaPositionMilliseconds"
Expand All @@ -181,7 +181,7 @@ tests:
value: { UpdatedAt: 0, Position: 400 }

- label: "Media Playback Seek Command"
command: "seek"
command: "Seek"
arguments:
values:
- name: "position"
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/TV_TargetNavigatorCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tests:
value: 0

- label: "Navigate Target Request Command"
command: "navigateTarget"
command: "NavigateTarget"
arguments:
values:
- name: "Target"
Expand Down
8 changes: 4 additions & 4 deletions src/app/tests/suites/TestBasicInformation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@ tests:

- label: "Read location"
command: "readAttribute"
attribute: "location"
attribute: "Location"
response:
value: "XX"

- label: "Write location"
command: "writeAttribute"
attribute: "location"
attribute: "Location"
arguments:
value: "US"

- label: "Read back location"
command: "readAttribute"
attribute: "location"
attribute: "Location"
response:
value: "US"

- label: "Restore initial location value"
command: "writeAttribute"
attribute: "location"
attribute: "Location"
arguments:
value: "XX"

Expand Down
16 changes: 8 additions & 8 deletions src/app/tests/suites/TestBinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ tests:

- label: "Write empty binding table"
command: "writeAttribute"
attribute: "binding"
attribute: "Binding"
arguments:
value: []

- label: "Read empty binding table"
command: "readAttribute"
attribute: "binding"
attribute: "Binding"
response:
value: []

- label: "Write invalid binding table"
command: "writeAttribute"
attribute: "binding"
attribute: "Binding"
arguments:
value:
[
Expand All @@ -60,7 +60,7 @@ tests:

- label: "Write binding table (endpoint 1)"
command: "writeAttribute"
attribute: "binding"
attribute: "Binding"
arguments:
value:
[
Expand All @@ -71,7 +71,7 @@ tests:

- label: "Read binding table (endpoint 1)"
command: "readAttribute"
attribute: "binding"
attribute: "Binding"
response:
value:
[
Expand All @@ -82,21 +82,21 @@ tests:

- label: "Write binding table (endpoint 0)"
command: "writeAttribute"
attribute: "binding"
attribute: "Binding"
endpoint: 0
arguments:
value: [{ FabricIndex: 0, Node: 3, Endpoint: 1 }]

- label: "Read binding table (endpoint 0)"
command: "readAttribute"
attribute: "binding"
attribute: "Binding"
endpoint: 0
response:
value: [{ FabricIndex: 1, Node: 3, Endpoint: 1 }]

- label: "Verify endpoint 1 not changed"
command: "readAttribute"
attribute: "binding"
attribute: "Binding"
response:
value:
[
Expand Down
Loading

0 comments on commit 2edebfe

Please sign in to comment.