mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 05:10:48 +00:00
Update lower.Tests.ps1
lower tests updated to reflect changes
This commit is contained in:
parent
9162933ee8
commit
0fe465d33e
@ -358,52 +358,52 @@ Describe -Tag 'lower', -TestName 'All Tests' {
|
|||||||
Describe 'Set and Get Param String Tests' {
|
Describe 'Set and Get Param String Tests' {
|
||||||
Context 'Strip[i].Label test0' {
|
Context 'Strip[i].Label test0' {
|
||||||
It 'Should set Strip[0].Label to test0' {
|
It 'Should set Strip[0].Label to test0' {
|
||||||
Param_Set_String -PARAM "Strip[0].Label" -VALUE 'test0'
|
Param_Set -PARAM "Strip[0].Label" -VALUE 'test0'
|
||||||
Param_Get_String -PARAM "Strip[0].Label" | Should -Be 'test0'
|
Param_Get -PARAM "Strip[0].Label" -IS_STRING $true | Should -Be 'test0'
|
||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set Strip[1].Label to test0' {
|
It 'Should set Strip[1].Label to test0' {
|
||||||
Param_Set_String -PARAM "Strip[1].Label" -VALUE 'test0'
|
Param_Set -PARAM "Strip[1].Label" -VALUE 'test0'
|
||||||
Param_Get_String -PARAM "Strip[1].Label" | Should -Be 'test0'
|
Param_Get -PARAM "Strip[1].Label" -IS_STRING $true | Should -Be 'test0'
|
||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set Strip[2].Label to test0' {
|
It 'Should set Strip[2].Label to test0' {
|
||||||
Param_Set_String -PARAM "Strip[2].Label" -VALUE 'test0'
|
Param_Set -PARAM "Strip[2].Label" -VALUE 'test0'
|
||||||
Param_Get_String -PARAM "Strip[2].Label" | Should -Be 'test0'
|
Param_Get -PARAM "Strip[2].Label" -IS_STRING $true | Should -Be 'test0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Context 'Strip[i].Label test1' {
|
Context 'Strip[i].Label test1' {
|
||||||
It 'Should set Strip[0].Label to test1' {
|
It 'Should set Strip[0].Label to test1' {
|
||||||
Param_Set_String -PARAM "Strip[0].Label" -VALUE 'test1'
|
Param_Set -PARAM "Strip[0].Label" -VALUE 'test1'
|
||||||
Param_Get_String -PARAM "Strip[0].Label" | Should -Be 'test1'
|
Param_Get -PARAM "Strip[0].Label" -IS_STRING $true | Should -Be 'test1'
|
||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set Strip[1].Label to test1' {
|
It 'Should set Strip[1].Label to test1' {
|
||||||
Param_Set_String -PARAM "Strip[1].Label" -VALUE 'test1'
|
Param_Set -PARAM "Strip[1].Label" -VALUE 'test1'
|
||||||
Param_Get_String -PARAM "Strip[1].Label" | Should -Be 'test1'
|
Param_Get -PARAM "Strip[1].Label" -IS_STRING $true | Should -Be 'test1'
|
||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set Strip[2].Label to test1' {
|
It 'Should set Strip[2].Label to test1' {
|
||||||
Param_Set_String -PARAM "Strip[2].Label" -VALUE 'test1'
|
Param_Set -PARAM "Strip[2].Label" -VALUE 'test1'
|
||||||
Param_Get_String -PARAM "Strip[2].Label" | Should -Be 'test1'
|
Param_Get -PARAM "Strip[2].Label" -IS_STRING $true | Should -Be 'test1'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Context 'Strip[i].Label test2' {
|
Context 'Strip[i].Label test2' {
|
||||||
It 'Should set Strip[0].Label to test2' {
|
It 'Should set Strip[0].Label to test2' {
|
||||||
Param_Set_String -PARAM "Strip[0].Label" -VALUE 'test2'
|
Param_Set -PARAM "Strip[0].Label" -VALUE 'test2'
|
||||||
Param_Get_String -PARAM "Strip[0].Label" | Should -Be 'test2'
|
Param_Get -PARAM "Strip[0].Label" -IS_STRING $true | Should -Be 'test2'
|
||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set Strip[1].Label to test2' {
|
It 'Should set Strip[1].Label to test2' {
|
||||||
Param_Set_String -PARAM "Strip[1].Label" -VALUE 'test2'
|
Param_Set -PARAM "Strip[1].Label" -VALUE 'test2'
|
||||||
Param_Get_String -PARAM "Strip[1].Label" | Should -Be 'test2'
|
Param_Get -PARAM "Strip[1].Label" -IS_STRING $true | Should -Be 'test2'
|
||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set Strip[2].Label to test2' {
|
It 'Should set Strip[2].Label to test2' {
|
||||||
Param_Set_String -PARAM "Strip[2].Label" -VALUE 'test2'
|
Param_Set -PARAM "Strip[2].Label" -VALUE 'test2'
|
||||||
Param_Get_String -PARAM "Strip[2].Label" | Should -Be 'test2'
|
Param_Get -PARAM "Strip[2].Label" -IS_STRING $true | Should -Be 'test2'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user