mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-09 17:33:33 +00:00
prefix, filetype
changed to write-only properties pester tests pass for all kinds
This commit is contained in:
@@ -910,8 +910,8 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
|
||||
try {
|
||||
$prefix = 'stringtest'
|
||||
$filetype = 'wav'
|
||||
$vmr.recorder.prefix($prefix)
|
||||
$vmr.recorder.filetype($filetype)
|
||||
$vmr.recorder.prefix = $prefix
|
||||
$vmr.recorder.filetype = $filetype
|
||||
|
||||
$vmr.recorder.state = 'record'
|
||||
$stamp = '{0:yyyy-MM-dd} at {0:HH}h{0:mm}m{0:ss}s' -f (Get-Date)
|
||||
@@ -956,8 +956,8 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
|
||||
BeforeAll {
|
||||
$prefix = 'actiontest'
|
||||
$filetype = 'wav'
|
||||
$vmr.recorder.prefix($prefix)
|
||||
$vmr.recorder.filetype($filetype)
|
||||
$vmr.recorder.prefix = $prefix
|
||||
$vmr.recorder.filetype = $filetype
|
||||
}
|
||||
|
||||
BeforeEach {
|
||||
|
||||
@@ -6,8 +6,8 @@ Import-Module (Join-Path (Split-Path $PSScriptRoot -Parent) 'lib\Voicemeeter.psm
|
||||
function Test-RecDir ([object]$vmr, [string]$recDir) {
|
||||
$prefix = 'temp'
|
||||
$filetype = 'wav'
|
||||
$vmr.recorder.prefix($prefix)
|
||||
$vmr.recorder.filetype($filetype)
|
||||
$vmr.recorder.prefix = $prefix
|
||||
$vmr.recorder.filetype = $filetype
|
||||
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user