TestResult.xml
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<test-results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="nunit_schema_2.5.xsd" name="Pester" total="594" errors="0" failures="0" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2016-09-06" time="17:06:49"> <environment user="iainb" machine-name="OFFICEPC" cwd="C:\Users\iainb\Dropbox\PowerShell\Modules\Lability" user-domain="OFFICEPC" platform="Microsoft Windows 10 Pro|C:\WINDOWS|\Device\Harddisk0\Partition4" nunit-version="2.5.8.0" os-version="10.0.14393" clr-version="4.0.30319.42000" /> <culture-info current-culture="en-GB" current-uiculture="en-GB" /> <test-suite type="Powershell" name="Pester" executed="True" result="Success" success="True" time="27.6625" asserts="0"> <results> <test-suite type="TestFixture" name="Lib\BootStrap" executed="True" result="Success" success="True" time="0.5279" asserts="0" description="Lib\BootStrap"> <results> <test-case description="Returns a "System.Management.Automation.ScriptBlock" type" name="Lib\BootStrap.Returns a "System.Management.Automation.ScriptBlock" type" time="0.1634" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Includes custom BootStrap injection point" name="Lib\BootStrap.Includes custom BootStrap injection point" time="0.0124" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates target file "SetupComplete.cmd"" name="Lib\BootStrap.Creates target file "SetupComplete.cmd"" time="0.0488" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Bypasses Powershell execution policy" name="Lib\BootStrap.Bypasses Powershell execution policy" time="0.0168" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Runs non-interactively" name="Lib\BootStrap.Runs non-interactively" time="0.0144" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates scheduled tasks for CoreCLR image" name="Lib\BootStrap.Creates scheduled tasks for CoreCLR image" time="0.0178" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses ASCII encoding" name="Lib\BootStrap.Uses ASCII encoding" time="0.0215" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates target file "BootStrap.ps1"" name="Lib\BootStrap.Creates target file "BootStrap.ps1"" time="0.0429" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Replaces custom BootStrap injection point with custom BootStrap" name="Lib\BootStrap.Replaces custom BootStrap injection point with custom BootStrap" time="0.0311" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses UTF8 encoding" name="Lib\BootStrap.Uses UTF8 encoding" time="0.0193" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns empty string when "CustomBootStrapOrder" = "Disabled"" name="Lib\BootStrap.Returns empty string when "CustomBootStrapOrder" = "Disabled"" time="0.0398" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns configuration bootstrap when "CustomBootStrapOrder" = "ConfigurationOnly"" name="Lib\BootStrap.Returns configuration bootstrap when "CustomBootStrapOrder" = "ConfigurationOnly"" time="0.0163" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns media bootstrap when "CustomBootStrapOrder" = "MediaOnly"" name="Lib\BootStrap.Returns media bootstrap when "CustomBootStrapOrder" = "MediaOnly"" time="0.0143" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns configuration bootstrap first when "CustomBootStrapOrder" = "ConfigurationFirst"" name="Lib\BootStrap.Returns configuration bootstrap first when "CustomBootStrapOrder" = "ConfigurationFirst"" time="0.0184" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns media bootstrap first when "CustomBootStrapOrder" = "MediaFirst"" name="Lib\BootStrap.Returns media bootstrap first when "CustomBootStrapOrder" = "MediaFirst"" time="0.0152" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns configuration bootstrap when "MediaCustomBootstrap" is null" name="Lib\BootStrap.Returns configuration bootstrap when "MediaCustomBootstrap" is null" time="0.0179" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns media bootstrap when "ConfigurationCustomBootstrap" is null" name="Lib\BootStrap.Returns media bootstrap when "ConfigurationCustomBootstrap" is null" time="0.0177" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\ConfigurationData" executed="True" result="Success" success="True" time="0.7052" asserts="0" description="Lib\ConfigurationData"> <results> <test-case description="Resolves 'Host' to module path when custom configuration does not exist" name="Lib\ConfigurationData.Resolves 'Host' to module path when custom configuration does not exist" time="0.2134" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'Host' to %ALLUSERSPROFILE% path when custom configuration does exist" name="Lib\ConfigurationData.Resolves 'Host' to %ALLUSERSPROFILE% path when custom configuration does exist" time="0.0379" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'VM' to module path when custom configuration does not exist" name="Lib\ConfigurationData.Resolves 'VM' to module path when custom configuration does not exist" time="0.0193" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'VM' to %ALLUSERSPROFILE% path when custom configuration does exist" name="Lib\ConfigurationData.Resolves 'VM' to %ALLUSERSPROFILE% path when custom configuration does exist" time="0.0192" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'Media' to module path when custom configuration does not exist" name="Lib\ConfigurationData.Resolves 'Media' to module path when custom configuration does not exist" time="0.022" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'Media' to %ALLUSERSPROFILE% path when custom configuration does exist" name="Lib\ConfigurationData.Resolves 'Media' to %ALLUSERSPROFILE% path when custom configuration does exist" time="0.0173" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'CustomMedia' to module path when custom configuration does not exist" name="Lib\ConfigurationData.Resolves 'CustomMedia' to module path when custom configuration does not exist" time="0.0231" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'CustomMedia' to %ALLUSERSPROFILE% path when custom configuration does exist" name="Lib\ConfigurationData.Resolves 'CustomMedia' to %ALLUSERSPROFILE% path when custom configuration does exist" time="0.0149" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves environment variables in resulting path" name="Lib\ConfigurationData.Resolves environment variables in resulting path" time="0.0221" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "CustomBootstrapOrder" property to VM configuration" name="Lib\ConfigurationData.Adds missing "CustomBootstrapOrder" property to VM configuration" time="0.0612" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "SecureBoot" property to VM configuration" name="Lib\ConfigurationData.Adds missing "SecureBoot" property to VM configuration" time="0.0283" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "GuestIntegrationServices" property to VM configuration" name="Lib\ConfigurationData.Adds missing "GuestIntegrationServices" property to VM configuration" time="0.0266" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "OperatingSystem" property to CustomMedia configuration" name="Lib\ConfigurationData.Adds missing "OperatingSystem" property to CustomMedia configuration" time="0.0336" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "DisableLocalFileCaching" property to Host configuration" name="Lib\ConfigurationData.Adds missing "DisableLocalFileCaching" property to Host configuration" time="0.0283" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "EnableCallStackLogging" property to Host configuration" name="Lib\ConfigurationData.Adds missing "EnableCallStackLogging" property to Host configuration" time="0.0291" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes deprecated "UpdatePath" property from Host configuration (Issue #77)" name="Lib\ConfigurationData.Removes deprecated "UpdatePath" property from Host configuration (Issue #77)" time="0.0582" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes configuration file" name="Lib\ConfigurationData.Removes configuration file" time="0.0508" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\DiskImage" executed="True" result="Success" success="True" time="1.8532" asserts="0" description="Lib\DiskImage"> <results> <test-case description="Throws when no disk letter is found" name="Lib\DiskImage.Throws when no disk letter is found" time="0.174" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when no disk letter is found for specified partition type" name="Lib\DiskImage.Throws when no disk letter is found for specified partition type" time="0.0233" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a single character" name="Lib\DiskImage.Returns a single character" time="0.0227" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if VHD image already exists" name="Lib\DiskImage.Throws if VHD image already exists" time="0.0362" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes existing VHD image if it already exists and -Force is specified" name="Lib\DiskImage.Removes existing VHD image if it already exists and -Force is specified" time="0.0595" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates new VHD file and initializes disk" name="Lib\DiskImage.Creates new VHD file and initializes disk" time="0.0523" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does dismount VHD file if -PassThru is not specified" name="Lib\DiskImage.Does dismount VHD file if -PassThru is not specified" time="0.0477" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not dismount VHD file if -PassThru is specified" name="Lib\DiskImage.Does not dismount VHD file if -PassThru is specified" time="0.0413" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "BCDBOOT.EXE" with "/f BIOS"" name="Lib\DiskImage.Calls "BCDBOOT.EXE" with "/f BIOS"" time="0.0636" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "BCDEDIT.EXE" thrice" name="Lib\DiskImage.Calls "BCDEDIT.EXE" thrice" time="0.0466" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "BCDBOOT.EXE" with "/f UEFI"" name="Lib\DiskImage.Calls "BCDBOOT.EXE" with "/f UEFI"" time="0.0595" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops Shell Hardware Detection service" name="Lib\DiskImage.Stops Shell Hardware Detection service" time="0.1267" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a full size active IFS partition" name="Lib\DiskImage.Creates a full size active IFS partition" time="0.0594" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Formats volume as NTFS" name="Lib\DiskImage.Formats volume as NTFS" time="0.056" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops and starts Shell Hardware Detection service" name="Lib\DiskImage.Stops and starts Shell Hardware Detection service" time="0.2383" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates 250MB system partition" name="Lib\DiskImage.Creates 250MB system partition" time="0.1426" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates OS partition" name="Lib\DiskImage.Creates OS partition" time="0.1149" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Formats volume as NTFS" name="Lib\DiskImage.Formats volume as NTFS" time="0.1005" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetDiskImageBootVolumeGpt" when partition style is GPT" name="Lib\DiskImage.Calls "SetDiskImageBootVolumeGpt" when partition style is GPT" time="0.0616" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetDiskImageBootVolumeMbr" when partition style is MBR" name="Lib\DiskImage.Calls "SetDiskImageBootVolumeMbr" when partition style is MBR" time="0.0259" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Add-WindowsPackage" for no hotfixes" name="Lib\DiskImage.Does not call "Add-WindowsPackage" for no hotfixes" time="0.0611" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Add-WindowsPackage" for no hotfixes" name="Lib\DiskImage.Does not call "Add-WindowsPackage" for no hotfixes" time="0.0317" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Add-WindowsPackage" for a single hotfix" name="Lib\DiskImage.Calls "Add-WindowsPackage" for a single hotfix" time="0.0419" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Add-WindowsPackage" for a single hotfix" name="Lib\DiskImage.Calls "Add-WindowsPackage" for a single hotfix" time="0.0441" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Add-WindowsPackage" for each hotfix with multiple hotfixes" name="Lib\DiskImage.Calls "Add-WindowsPackage" for each hotfix with multiple hotfixes" time="0.0638" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Add-WindowsPackage" for each hotfix with multiple hotfixes" name="Lib\DiskImage.Calls "Add-WindowsPackage" for each hotfix with multiple hotfixes" time="0.0578" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\DscModule" executed="True" result="Success" success="True" time="0.5044" asserts="0" description="Lib\DscModule"> <results> <test-case description="Returns true if "GetDscModule" returns a path" name="Lib\DscModule.Returns true if "GetDscModule" returns a path" time="0.1855" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false if "GetDscModule" fails" name="Lib\DscModule.Returns false if "GetDscModule" fails" time="0.0208" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if module does not exist" name="Lib\DscModule.Throws if module does not exist" time="0.0497" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns DSC resource's parent directory path" name="Lib\DscModule.Returns DSC resource's parent directory path" time="0.0217" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns DSC resource's DSCResources subdirectory path if ResourceName is specified" name="Lib\DscModule.Returns DSC resource's DSCResources subdirectory path if ResourceName is specified" time="0.0328" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors if DSC resource's subdirectory path does not exist and ResourceName is specified" name="Lib\DscModule.Errors if DSC resource's subdirectory path does not exist and ResourceName is specified" time="0.0318" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns $null if DSC resource's subdirectory path does not exist and ResourceName is specified" name="Lib\DscModule.Returns $null if DSC resource's subdirectory path does not exist and ResourceName is specified" time="0.0276" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw if DSC module version is equal to the MinimumVersion specified" name="Lib\DscModule.Does not throw if DSC module version is equal to the MinimumVersion specified" time="0.0323" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw if DSC module version is greater than the MinimumVersion specified" name="Lib\DscModule.Does not throw if DSC module version is greater than the MinimumVersion specified" time="0.0522" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors if DSC module version is less than the MinimumVersion specified" name="Lib\DscModule.Errors if DSC module version is less than the MinimumVersion specified" time="0.0254" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns $null if DSC module version is less than the MinimumVersion specified" name="Lib\DscModule.Returns $null if DSC module version is less than the MinimumVersion specified" time="0.0246" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\DscResource" executed="True" result="Success" success="True" time="0.4782" asserts="0" description="Lib\DscResource"> <results> <test-case description="Does not import module if command is already imported" name="Lib\DscResource.Does not import module if command is already imported" time="0.1739" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "GetDscModule" if "UseDefault" is not specified" name="Lib\DscResource.Does not call "GetDscModule" if "UseDefault" is not specified" time="0.0325" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetDscModule" if "UseDefault" is specified" name="Lib\DscResource.Calls "GetDscModule" if "UseDefault" is specified" time="0.0296" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-<ResourceName>TargetResource" method" name="Lib\DscResource.Calls "Get-<ResourceName>TargetResource" method" time="0.0442" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Test-<ResourceName>TargetResource" method" name="Lib\DscResource.Calls "Test-<ResourceName>TargetResource" method" time="0.046" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Return $false when "Test-<ResourceName>TargetResource" throws (#104)" name="Lib\DscResource.Return $false when "Test-<ResourceName>TargetResource" throws (#104)" time="0.0252" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Set-<ResourceName>TargetResource" method" name="Lib\DscResource.Calls "Set-<ResourceName>TargetResource" method" time="0.0389" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Set-<ResourceName>TargetResource" if "TestDscResource" passes" name="Lib\DscResource.Does not call "Set-<ResourceName>TargetResource" if "TestDscResource" passes" time="0.0434" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does call "Set-<ResourceName>TargetResource" if "TestDscResource" fails" name="Lib\DscResource.Does call "Set-<ResourceName>TargetResource" if "TestDscResource" fails" time="0.0205" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "TestDscResource" fails and "ResourceName" matches "PendingReboot"" name="Lib\DscResource.Throws when "TestDscResource" fails and "ResourceName" matches "PendingReboot"" time="0.0241" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\DscResourceModule" executed="True" result="Success" success="True" time="0.3675" asserts="0" description="Lib\DscResourceModule"> <results> <test-case description="Returns "True" when the module contains a "DSCResources" folder" name="Lib\DscResourceModule.Returns "True" when the module contains a "DSCResources" folder" time="0.1641" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "False" when the module does not contain a "DSCResources" folder" name="Lib\DscResourceModule.Returns "False" when the module does not contain a "DSCResources" folder" time="0.0148" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "True" when the module .psm1 contains a "[DSCResource()]" definition" name="Lib\DscResourceModule.Returns "True" when the module .psm1 contains a "[DSCResource()]" definition" time="0.0204" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "False" when the module .psm1 does not contain a "[DSCResource()]" definition" name="Lib\DscResourceModule.Returns "False" when the module .psm1 does not contain a "[DSCResource()]" definition" time="0.0188" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns module with "DSCResources"" name="Lib\DscResourceModule.Returns module with "DSCResources"" time="0.0435" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns module with "[DSCResource()]"" name="Lib\DscResourceModule.Returns module with "[DSCResource()]"" time="0.021" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return a module without "DSCResources" and "[DSCResource()]"" name="Lib\DscResourceModule.Does not return a module without "DSCResources" and "[DSCResource()]"" time="0.0174" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns versioned module with "DSCResources"" name="Lib\DscResourceModule.Returns versioned module with "DSCResources"" time="0.0235" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns versioned module with "[DSCResource()]"" name="Lib\DscResourceModule.Returns versioned module with "[DSCResource()]"" time="0.0251" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return a versioned module without "DSCResources" and "[DSCResource()]"" name="Lib\DscResourceModule.Does not return a versioned module without "DSCResources" and "[DSCResource()]"" time="0.0188" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\Internal" executed="True" result="Success" success="True" time="1.1025" asserts="0" description="Lib\Internal"> <results> <test-case description="Resolves existing home path" name="Lib\Internal.Resolves existing home path" time="0.1705" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves non-existent home path" name="Lib\Internal.Resolves non-existent home path" time="0.0227" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Start-Process" with correct process path" name="Lib\Internal.Calls "Start-Process" with correct process path" time="0.0422" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Start-Process" with correct arguments" name="Lib\Internal.Calls "Start-Process" with correct arguments" time="0.0235" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Waits for "Start-Process" to exit" name="Lib\Internal.Waits for "Start-Process" to exit" time="0.0199" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns when process exits with non-zero exit code" name="Lib\Internal.Warns when process exits with non-zero exit code" time="0.0232" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return call stack information when "$labDefaults.CallStackLogging" = "$null"" name="Lib\Internal.Does not return call stack information when "$labDefaults.CallStackLogging" = "$null"" time="0.0377" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return call stack information when "$labDefaults.CallStackLogging" = "$false"" name="Lib\Internal.Does not return call stack information when "$labDefaults.CallStackLogging" = "$false"" time="0.0175" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns call stack information when "$labDefaults.CallStackLogging" = "$true"" name="Lib\Internal.Returns call stack information when "$labDefaults.CallStackLogging" = "$true"" time="0.0225" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetFormattedMessage" method" name="Lib\Internal.Calls "GetFormattedMessage" method" time="0.0381" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Write-Verbose" method with test message" name="Lib\Internal.Calls "Write-Verbose" method with test message" time="0.0212" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetFormattedMessage" method" name="Lib\Internal.Calls "GetFormattedMessage" method" time="0.0403" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Write-Warning" method with test message" name="Lib\Internal.Calls "Write-Warning" method with test message" time="0.0225" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Collections.Hashtable" object" name="Lib\Internal.Returns a "System.Collections.Hashtable" object" time="0.0359" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Converts property value types correctly" name="Lib\Internal.Converts property value types correctly" time="0.0186" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Ignores "$null" values when specified" name="Lib\Internal.Ignores "$null" values when specified" time="0.012" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Converts nested "PSCustomObject" types to a hashtable" name="Lib\Internal.Converts nested "PSCustomObject" types to a hashtable" time="0.0172" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when computer name does not contain invalid characters" name="Lib\Internal.Passes when computer name does not contain invalid characters" time="0.0359" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '~' character" name="Lib\Internal.Fails when computer name contains invalid '~' character" time="0.0166" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '!' character" name="Lib\Internal.Fails when computer name contains invalid '!' character" time="0.0182" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '@' character" name="Lib\Internal.Fails when computer name contains invalid '@' character" time="0.0142" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '#' character" name="Lib\Internal.Fails when computer name contains invalid '#' character" time="0.0178" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '$' character" name="Lib\Internal.Fails when computer name contains invalid '$' character" time="0.0171" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '%' character" name="Lib\Internal.Fails when computer name contains invalid '%' character" time="0.0158" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '^' character" name="Lib\Internal.Fails when computer name contains invalid '^' character" time="0.0146" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '&' character" name="Lib\Internal.Fails when computer name contains invalid '&' character" time="0.0167" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '*' character" name="Lib\Internal.Fails when computer name contains invalid '*' character" time="0.0168" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '(' character" name="Lib\Internal.Fails when computer name contains invalid '(' character" time="0.0126" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid ')' character" name="Lib\Internal.Fails when computer name contains invalid ')' character" time="0.0147" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '=' character" name="Lib\Internal.Fails when computer name contains invalid '=' character" time="0.0151" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '+' character" name="Lib\Internal.Fails when computer name contains invalid '+' character" time="0.0148" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '_' character" name="Lib\Internal.Fails when computer name contains invalid '_' character" time="0.0173" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '[' character" name="Lib\Internal.Fails when computer name contains invalid '[' character" time="0.0121" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid ']' character" name="Lib\Internal.Fails when computer name contains invalid ']' character" time="0.0147" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '{' character" name="Lib\Internal.Fails when computer name contains invalid '{' character" time="0.0145" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '}' character" name="Lib\Internal.Fails when computer name contains invalid '}' character" time="0.0173" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '\' character" name="Lib\Internal.Fails when computer name contains invalid '\' character" time="0.0178" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '|' character" name="Lib\Internal.Fails when computer name contains invalid '|' character" time="0.0161" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid ';' character" name="Lib\Internal.Fails when computer name contains invalid ';' character" time="0.0165" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid ':' character" name="Lib\Internal.Fails when computer name contains invalid ':' character" time="0.0149" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '.' character" name="Lib\Internal.Fails when computer name contains invalid '.' character" time="0.0166" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid ''' character" name="Lib\Internal.Fails when computer name contains invalid ''' character" time="0.014" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '"' character" name="Lib\Internal.Fails when computer name contains invalid '"' character" time="0.0161" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid ',' character" name="Lib\Internal.Fails when computer name contains invalid ',' character" time="0.0158" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '<' character" name="Lib\Internal.Fails when computer name contains invalid '<' character" time="0.0149" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '>' character" name="Lib\Internal.Fails when computer name contains invalid '>' character" time="0.0139" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '/' character" name="Lib\Internal.Fails when computer name contains invalid '/' character" time="0.0135" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid '?' character" name="Lib\Internal.Fails when computer name contains invalid '?' character" time="0.0144" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when computer name contains invalid ' ' character" name="Lib\Internal.Fails when computer name contains invalid ' ' character" time="0.0155" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\Iso" executed="True" result="Success" success="True" time="0.2963" asserts="0" description="Lib\Iso"> <results> <test-case description="Mounts ISO image read-only" name="Lib\Iso.Mounts ISO image read-only" time="0.2082" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies ISO image contents to destination path recursively" name="Lib\Iso.Copies ISO image contents to destination path recursively" time="0.0452" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Disounts ISO image" name="Lib\Iso.Disounts ISO image" time="0.0429" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\Module" executed="True" result="Success" success="True" time="1.715" asserts="0" description="Lib\Module"> <results> <test-case description="Returns all PowerShell modules if no "Name" is specified" name="Lib\Module.Returns all PowerShell modules if no "Name" is specified" time="0.1636" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all PowerShell modules if "*" is specified" name="Lib\Module.Returns all PowerShell modules if "*" is specified" time="0.0143" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all DSC resources if no "Name" is specified" name="Lib\Module.Returns all DSC resources if no "Name" is specified" time="0.0153" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all DSC resources if "*" is specified" name="Lib\Module.Returns all DSC resources if "*" is specified" time="0.0118" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns matching PowerShell modules when "Name" is specified" name="Lib\Module.Returns matching PowerShell modules when "Name" is specified" time="0.0176" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns matching DSC resources when "Name" is specified" name="Lib\Module.Returns matching DSC resources when "Name" is specified" time="0.0143" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns if a PowerShell module cannot be resolved" name="Lib\Module.Warns if a PowerShell module cannot be resolved" time="0.0201" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns if a DSC resource cannot be resolved" name="Lib\Module.Warns if a DSC resource cannot be resolved" time="0.03" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if a PowerShell module cannot be resolved and "ThrowIfNotFound" is specified" name="Lib\Module.Throws if a PowerShell module cannot be resolved and "ThrowIfNotFound" is specified" time="0.0144" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if a DSC resource cannot be resolved and "ThrowIfNotFound" is specified" name="Lib\Module.Throws if a DSC resource cannot be resolved and "ThrowIfNotFound" is specified" time="0.0175" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns only a single module" name="Lib\Module.Returns only a single module" time="0.0477" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns only a single module by "Module"" name="Lib\Module.Returns only a single module by "Module"" time="0.0248" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns the latest PSGallery module version by default" name="Lib\Module.Returns the latest PSGallery module version by default" time="0.023" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns the latest GitHub module version by default" name="Lib\Module.Returns the latest GitHub module version by default" time="0.0259" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns the latest PSGallery module version when "MinimumVersion" is specified" name="Lib\Module.Returns the latest PSGallery module version when "MinimumVersion" is specified" time="0.0252" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns the latest GitHub module version when "MinimumVersion" is specified" name="Lib\Module.Returns the latest GitHub module version when "MinimumVersion" is specified" time="0.0245" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns the exact PSGallery module version when "RequiredVersion" is specified" name="Lib\Module.Returns the exact PSGallery module version when "RequiredVersion" is specified" time="0.0265" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns the exact GitHub module version when "RequiredVersion" is specified" name="Lib\Module.Returns the exact GitHub module version when "RequiredVersion" is specified" time="0.0247" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return PSGallery module when "MinimumVersion" is not cached" name="Lib\Module.Does not return PSGallery module when "MinimumVersion" is not cached" time="0.0238" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return PSGallery module when "RequiredVersion" is not cached" name="Lib\Module.Does not return PSGallery module when "RequiredVersion" is not cached" time="0.0263" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return GitHub module when "MinimumVersion" is not cached" name="Lib\Module.Does not return GitHub module when "MinimumVersion" is not cached" time="0.0262" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return GitHub module when "RequiredVersion" is not cached" name="Lib\Module.Does not return GitHub module when "RequiredVersion" is not cached" time="0.027" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a FileSystem provider [System.IO.DirectoryInfo] object type" name="Lib\Module.Returns a FileSystem provider [System.IO.DirectoryInfo] object type" time="0.02" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a FileSystem provider [System.IO.FileInfo] object type" name="Lib\Module.Returns a FileSystem provider [System.IO.FileInfo] object type" time="0.0209" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if module "Name" is not specified" name="Lib\Module.Throws if module "Name" is not specified" time="0.0175" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if GitHub module "Owner" is not specified" name="Lib\Module.Throws if GitHub module "Owner" is not specified" time="0.0178" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if FileSystem module "Path" is not specified" name="Lib\Module.Throws if FileSystem module "Path" is not specified" time="0.0183" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if FileSystem module "Path" does not exist" name="Lib\Module.Throws if FileSystem module "Path" does not exist" time="0.0149" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if FileSystem module "Path" is not a ".zip" file" name="Lib\Module.Throws if FileSystem module "Path" is not a ".zip" file" time="0.02" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when module is found" name="Lib\Module.Passes when module is found" time="0.0456" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when module is not found" name="Lib\Module.Fails when module is not found" time="0.0201" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a [System.IO.FileInfo] object type" name="Lib\Module.Returns a [System.IO.FileInfo] object type" time="0.0561" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Renames PSGallery module to "<ModuleName>-v<Version>.zip" name="Lib\Module.Renames PSGallery module to "<ModuleName>-v<Version>.zip" time="0.0183" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Renames GitHub module to "<ModuleName>-v<Version>_<Owner>_<Branch>.zip" name="Lib\Module.Renames GitHub module to "<ModuleName>-v<Version>_<Owner>_<Branch>.zip" time="0.0241" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes existing cached module file" name="Lib\Module.Removes existing cached module file" time="0.0358" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a [System.IO.FileInfo] object type" name="Lib\Module.Returns a [System.IO.FileInfo] object type" time="0.0697" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ResolvePSGalleryModuleUri" with "RequiredVersion" when specified" name="Lib\Module.Calls "ResolvePSGalleryModuleUri" with "RequiredVersion" when specified" time="0.0301" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ResolvePSGalleryModuleUri" with "MinimumVersion" when specified" name="Lib\Module.Calls "ResolvePSGalleryModuleUri" with "MinimumVersion" when specified" time="0.0313" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a [System.IO.FileInfo] object type" name="Lib\Module.Returns a [System.IO.FileInfo] object type" time="0.069" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ResolveGitHubModuleUri" with "Owner" and "Branch"" name="Lib\Module.Calls "ResolveGitHubModuleUri" with "Owner" and "Branch"" time="0.0321" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ResolveGitHubModuleUri" with "OverrideRepositoryName" when specified" name="Lib\Module.Calls "ResolveGitHubModuleUri" with "OverrideRepositoryName" when specified" time="0.0327" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "Owner" is not specified" name="Lib\Module.Throws when "Owner" is not specified" time="0.0176" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns when no "Branch" is specified" name="Lib\Module.Warns when no "Branch" is specified" time="0.0178" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads module from PSGallery when no Provider is specified" name="Lib\Module.Downloads module from PSGallery when no Provider is specified" time="0.0618" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads module from GitHub by ModuleInfo" name="Lib\Module.Downloads module from GitHub by ModuleInfo" time="0.0288" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads module from PSGallery when "PSGallery" Provider is specified" name="Lib\Module.Downloads module from PSGallery when "PSGallery" Provider is specified" time="0.0267" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads module from GitHub when "GitHub" Provider is specified" name="Lib\Module.Downloads module from GitHub when "GitHub" Provider is specified" time="0.0283" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not download module when "FileSystem" Provider is specified" name="Lib\Module.Does not download module when "FileSystem" Provider is specified" time="0.0254" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not download module when resource is cached" name="Lib\Module.Does not download module when resource is cached" time="0.037" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a [System.IO.DirectoryInfo] object type" name="Lib\Module.Returns a [System.IO.DirectoryInfo] object type" time="0.0778" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Cleans existing module directory when "Clean" is specified" name="Lib\Module.Cleans existing module directory when "Clean" is specified" time="0.0279" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandZipArchive" when "PSGallery" Provider is specified" name="Lib\Module.Calls "ExpandZipArchive" when "PSGallery" Provider is specified" time="0.0238" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandGitHubZipArchive" when "GitHub" Provider is specified" name="Lib\Module.Calls "ExpandGitHubZipArchive" when "GitHub" Provider is specified" time="0.0234" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandGitHubZipArchive" when "GitHub" Provider and "OverrideRepository" are specified" name="Lib\Module.Calls "ExpandGitHubZipArchive" when "GitHub" Provider and "OverrideRepository" are specified" time="0.0256" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandZipArchive" when "FileSystem" Provider is specified and "Path" is a .zip file" name="Lib\Module.Calls "ExpandZipArchive" when "FileSystem" Provider is specified and "Path" is a .zip file" time="0.024" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Copy-Item" when "FileSystem" Provider is specified and "Path" is a directory" name="Lib\Module.Calls "Copy-Item" when "FileSystem" Provider is specified and "Path" is a directory" time="0.0304" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\Resource" executed="True" result="Success" success="True" time="0.87" asserts="0" description="Lib\Resource"> <results> <test-case description="Returns a "System.IO.DirectoryInfo" object if target "Path" already exists" name="Lib\Resource.Returns a "System.IO.DirectoryInfo" object if target "Path" already exists" time="0.189" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.IO.DirectoryInfo" object if target "Path" does not exist" name="Lib\Resource.Returns a "System.IO.DirectoryInfo" object if target "Path" does not exist" time="0.0201" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates target "Path" if it does not exist" name="Lib\Resource.Creates target "Path" if it does not exist" time="0.0204" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.IO.DirectoryInfo" object if target "DirectoryInfo" already exists" name="Lib\Resource.Returns a "System.IO.DirectoryInfo" object if target "DirectoryInfo" already exists" time="0.0238" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.IO.DirectoryInfo" object if target "DirectoryInfo" does not exist" name="Lib\Resource.Returns a "System.IO.DirectoryInfo" object if target "DirectoryInfo" does not exist" time="0.0243" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates target "DirectoryInfo" if it does not exist" name="Lib\Resource.Creates target "DirectoryInfo" if it does not exist" time="0.0174" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "System.Collections.Hashtable" type" name="Lib\Resource.Returns "System.Collections.Hashtable" type" time="0.045" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns empty checksum if resource does not exist" name="Lib\Resource.Returns empty checksum if resource does not exist" time="0.0144" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns correct checksum if resource and checksum files exist" name="Lib\Resource.Returns correct checksum if resource and checksum files exist" time="0.0213" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns correct checksum if resource exists but checksum does not exist" name="Lib\Resource.Returns correct checksum if resource exists but checksum does not exist" time="0.0235" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns incorrect checksum if incorrect resource and checksum files exist" name="Lib\Resource.Returns incorrect checksum if incorrect resource and checksum files exist" time="0.018" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns incorrect checksum if incorrect resource exists but checksum does not exist" name="Lib\Resource.Returns incorrect checksum if incorrect resource exists but checksum does not exist" time="0.0231" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns true if resource exists but no checksum was specified" name="Lib\Resource.Returns true if resource exists but no checksum was specified" time="0.0444" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns true if resource exists and checksum is correct" name="Lib\Resource.Returns true if resource exists and checksum is correct" time="0.0198" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false if resource does not exist" name="Lib\Resource.Returns false if resource does not exist" time="0.0192" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false if resource exists but checksum is incorrect" name="Lib\Resource.Returns false if resource exists but checksum is incorrect" time="0.0241" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeWebClientDownload" with specified Uri" name="Lib\Resource.Calls "InvokeWebClientDownload" with specified Uri" time="0.0554" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeWebClientDownload" with specified destination Path" name="Lib\Resource.Calls "InvokeWebClientDownload" with specified destination Path" time="0.028" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeWebClientDownload" with default 64KB buffer size" name="Lib\Resource.Calls "InvokeWebClientDownload" with default 64KB buffer size" time="0.025" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeWebClientDownload" with 1MB buffer size for file resource" name="Lib\Resource.Calls "InvokeWebClientDownload" with 1MB buffer size for file resource" time="0.0258" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates checksum file after download" name="Lib\Resource.Creates checksum file after download" time="0.0278" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates target parent directory if it does not exist" name="Lib\Resource.Creates target parent directory if it does not exist" time="0.0364" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Management.Automation.PSCustomObject" type" name="Lib\Resource.Returns a "System.Management.Automation.PSCustomObject" type" time="0.0437" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetResourceDownload" if "TestResourceDownload" fails" name="Lib\Resource.Calls "SetResourceDownload" if "TestResourceDownload" fails" time="0.0302" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetResourceDownload" if "TestResourceDownload" passes but -Force was specified" name="Lib\Resource.Calls "SetResourceDownload" if "TestResourceDownload" passes but -Force was specified" time="0.0269" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "SetResourceDownload" if "TestResourceDownload" passes" name="Lib\Resource.Does not call "SetResourceDownload" if "TestResourceDownload" passes" time="0.0227" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\UnattendXml" executed="True" result="Success" success="True" time="0.4439" asserts="0" description="Lib\UnattendXml"> <results> <test-case description="Returns a "System.Xml.XmlDocument" type" name="Lib\UnattendXml.Returns a "System.Xml.XmlDocument" type" time="0.1682" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates equal number of "x86" and "amd64" components" name="Lib\UnattendXml.Creates equal number of "x86" and "amd64" components" time="0.0236" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets encoded Administrator password" name="Lib\UnattendXml.Sets encoded Administrator password" time="0.0229" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets timezone" name="Lib\UnattendXml.Sets timezone" time="0.0182" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets Input locale" name="Lib\UnattendXml.Sets Input locale" time="0.0293" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets System locale" name="Lib\UnattendXml.Sets System locale" time="0.0228" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets UI language" name="Lib\UnattendXml.Sets UI language" time="0.0177" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets User locale" name="Lib\UnattendXml.Sets User locale" time="0.022" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets computer name" name="Lib\UnattendXml.Sets computer name" time="0.021" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets product key" name="Lib\UnattendXml.Sets product key" time="0.0211" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds single synchronous command" name="Lib\UnattendXml.Adds single synchronous command" time="0.0147" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds multiple synchronous commands" name="Lib\UnattendXml.Adds multiple synchronous commands" time="0.0125" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Saves Xml file to disk" name="Lib\UnattendXml.Saves Xml file to disk" time="0.0499" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\VirtualMachine" executed="True" result="Success" success="True" time="1.0441" asserts="0" description="Lib\VirtualMachine"> <results> <test-case description="Returns generation 1 VM for x86 media architecture" name="Lib\VirtualMachine.Returns generation 1 VM for x86 media architecture" time="0.1917" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns generation 2 VM for x64 media architecture" name="Lib\VirtualMachine.Returns generation 2 VM for x64 media architecture" time="0.0366" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns generation 1 VM when custom "MBR" partition style is defined" name="Lib\VirtualMachine.Returns generation 1 VM when custom "MBR" partition style is defined" time="0.0386" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns generation 2 VM when custom "GPT" partition style is defined" name="Lib\VirtualMachine.Returns generation 2 VM when custom "GPT" partition style is defined" time="0.0341" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns generation 1 VM when image generation is "VHD", but media "x64" and partition style is "GPT"" name="Lib\VirtualMachine.Returns generation 1 VM when image generation is "VHD", but media "x64" and partition style is "GPT"" time="0.0325" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns additional "VhdPath" property" name="Lib\VirtualMachine.Returns additional "VhdPath" property" time="0.0355" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns additional "RestartIfNeeded" property" name="Lib\VirtualMachine.Returns additional "RestartIfNeeded" property" time="0.0359" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return "Media" property" name="Lib\VirtualMachine.Does not return "Media" property" time="0.0342" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return "EnableGuestService" property by default" name="Lib\VirtualMachine.Does not return "EnableGuestService" property by default" time="0.0351" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "EnableGuestService" property when "GuestIntegrationServices" is specified" name="Lib\VirtualMachine.Returns "EnableGuestService" property when "GuestIntegrationServices" is specified" time="0.0359" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ResolveLabMedia" with "ConfigurationData" when specified (#97)" name="Lib\VirtualMachine.Calls "ResolveLabMedia" with "ConfigurationData" when specified (#97)" time="0.0288" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" name="Lib\VirtualMachine.Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" time="0.0262" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return "ConfigurationData" property by default (#97)" name="Lib\VirtualMachine.Does not return "ConfigurationData" property by default (#97)" time="0.0394" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Imports Hyper-V DSC resource" name="Lib\VirtualMachine.Imports Hyper-V DSC resource" time="0.0641" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns true when VM matches specified configuration" name="Lib\VirtualMachine.Returns true when VM matches specified configuration" time="0.036" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false when VM does not match specified configuration" name="Lib\VirtualMachine.Returns false when VM does not match specified configuration" time="0.0366" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false when error is thrown" name="Lib\VirtualMachine.Returns false when error is thrown" time="0.0387" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetVirtualMachineProperties" with "ConfigurationData" when specified (#97)" name="Lib\VirtualMachine.Calls "GetVirtualMachineProperties" with "ConfigurationData" when specified (#97)" time="0.0322" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Imports Hyper-V DSC resource" name="Lib\VirtualMachine.Imports Hyper-V DSC resource" time="0.0511" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes Hyper-V DSC resource" name="Lib\VirtualMachine.Invokes Hyper-V DSC resource" time="0.0314" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetVirtualMachineProperties" with "ConfigurationData" when specified (#97)" name="Lib\VirtualMachine.Calls "GetVirtualMachineProperties" with "ConfigurationData" when specified (#97)" time="0.0319" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Imports Hyper-V DSC resource" name="Lib\VirtualMachine.Imports Hyper-V DSC resource" time="0.0522" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes Hyper-V DSC resource" name="Lib\VirtualMachine.Invokes Hyper-V DSC resource" time="0.0306" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetVirtualMachineProperties" with "ConfigurationData" when specified (#97)" name="Lib\VirtualMachine.Calls "GetVirtualMachineProperties" with "ConfigurationData" when specified (#97)" time="0.0348" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lib\WindowsImage" executed="True" result="Success" success="True" time="0.8382" asserts="0" description="Lib\WindowsImage"> <results> <test-case description="Mounts ISO image" name="Lib\WindowsImage.Mounts ISO image" time="0.2279" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not Mount WIM image" name="Lib\WindowsImage.Does not Mount WIM image" time="0.037" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetWindowsImageIndex" method when passing "WimImageName"" name="Lib\WindowsImage.Calls "GetWindowsImageIndex" method when passing "WimImageName"" time="0.059" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Expand-WindowsImage" with specified "WimImageIndex"" name="Lib\WindowsImage.Calls "Expand-WindowsImage" with specified "WimImageIndex"" time="0.0595" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Expand-WindowsImage" with custom "WimPath"" name="Lib\WindowsImage.Calls "Expand-WindowsImage" with custom "WimPath"" time="0.0624" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Dismounts ISO image" name="Lib\WindowsImage.Dismounts ISO image" time="0.0615" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not dismount WIM image" name="Lib\WindowsImage.Does not dismount WIM image" time="0.0375" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "AddWindowsOptionalFeature" when "WindowsOptionalFeature" is defined" name="Lib\WindowsImage.Calls "AddWindowsOptionalFeature" when "WindowsOptionalFeature" is defined" time="0.0712" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "AddWindowsOptionalFeature" with custom "SourcePath"" name="Lib\WindowsImage.Calls "AddWindowsOptionalFeature" with custom "SourcePath"" time="0.0445" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Int32" type" name="Lib\WindowsImage.Returns a "System.Int32" type" time="0.0481" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns the matching image index if found" name="Lib\WindowsImage.Returns the matching image index if found" time="0.0218" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns nothing when image index is not found" name="Lib\WindowsImage.Returns nothing when image index is not found" time="0.021" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.String" type" name="Lib\WindowsImage.Returns a "System.String" type" time="0.0464" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns the matching image name" name="Lib\WindowsImage.Returns the matching image name" time="0.0181" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns nothing when image name is not found" name="Lib\WindowsImage.Returns nothing when image name is not found" time="0.0221" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\Lab" executed="True" result="Success" success="True" time="1.4671" asserts="0" description="Src\Lab"> <results> <test-case description="Starts all VMs with matching boot order" name="Src\Lab.Starts all VMs with matching boot order" time="0.2147" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Starts all VMs with differing boot orders individually" name="Src\Lab.Starts all VMs with differing boot orders individually" time="0.0826" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Starts VM using display name" name="Src\Lab.Starts VM using display name" time="0.0404" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Starts VMs in boot order" name="Src\Lab.Starts VMs in boot order" time="0.0871" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Start-Sleep" if a zero boot delay is specified" name="Src\Lab.Does not call "Start-Sleep" if a zero boot delay is specified" time="0.042" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops all VMs with matching boot order" name="Src\Lab.Stops all VMs with matching boot order" time="0.0823" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops all VMs with differing boot orders individually" name="Src\Lab.Stops all VMs with differing boot orders individually" time="0.0931" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops VM using display name" name="Src\Lab.Stops VM using display name" time="0.0399" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops VMs in boot order" name="Src\Lab.Stops VMs in boot order" time="0.0882" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Stop-VM" with "Force"" name="Src\Lab.Calls "Stop-VM" with "Force"" time="0.0435" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Start-Sleep" if a zero boot delay is specified" name="Src\Lab.Does not call "Start-Sleep" if a zero boot delay is specified" time="0.0402" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Restore-Lab" with -Force switch" name="Src\Lab.Calls "Restore-Lab" with -Force switch" time="0.0422" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Snapshots VMs when powered off" name="Src\Lab.Snapshots VMs when powered off" time="0.0682" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Snapshots VM using display name" name="Src\Lab.Snapshots VM using display name" time="0.0317" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors when there is one running VM" name="Src\Lab.Errors when there is one running VM" time="0.0406" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors when there are multiple running VMs" name="Src\Lab.Errors when there are multiple running VMs" time="0.0432" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Snapshots VMs when there are running VMs and -Force is specified" name="Src\Lab.Snapshots VMs when there are running VMs and -Force is specified" time="0.0515" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Restores specified snapshot when VMs are powered off" name="Src\Lab.Restores specified snapshot when VMs are powered off" time="0.1275" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Restores VM snapshot using display name" name="Src\Lab.Restores VM snapshot using display name" time="0.0503" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors when there is a running VM" name="Src\Lab.Errors when there is a running VM" time="0.0547" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Restores specified snapshot when there are running VMs and -Force is specified" name="Src\Lab.Restores specified snapshot when there are running VMs and -Force is specified" time="0.1032" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabConfiguration" executed="True" result="Success" success="True" time="0.7255" asserts="0" description="Src\LabConfiguration"> <results> <test-case description="Calls "Test-LabVM" for each node" name="Src\LabConfiguration.Calls "Test-LabVM" for each node" time="0.2156" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if path is invalid" name="Src\LabConfiguration.Throws if path is invalid" time="0.0491" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw if ".mof" and ".meta.mof" files exist" name="Src\LabConfiguration.Does not throw if ".mof" and ".meta.mof" files exist" time="0.0304" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if ".mof" file is missing" name="Src\LabConfiguration.Throws if ".mof" file is missing" time="0.0258" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns if ".meta.mof" file is missing" name="Src\LabConfiguration.Warns if ".meta.mof" file is missing" time="0.0289" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns if ".mof" file is missing but -SkipMofCheck is specified" name="Src\LabConfiguration.Warns if ".mof" file is missing but -SkipMofCheck is specified" time="0.0303" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws is "Test-LabHostConfiguration" fails" name="Src\LabConfiguration.Throws is "Test-LabHostConfiguration" fails" time="0.072" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if path is invalid" name="Src\LabConfiguration.Throws if path is invalid" time="0.0328" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "NewLabVM" if node is not configured" name="Src\LabConfiguration.Calls "NewLabVM" if node is not configured" time="0.0636" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "NewLabVM" if node is configured" name="Src\LabConfiguration.Does not call "NewLabVM" if node is configured" time="0.0457" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "NewLabVM" if node is configured but -Force is specified" name="Src\LabConfiguration.Calls "NewLabVM" if node is configured but -Force is specified" time="0.0511" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "RemoveLabVM" for each node" name="Src\LabConfiguration.Calls "RemoveLabVM" for each node" time="0.08" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabHostConfiguration" executed="True" result="Success" success="True" time="0.8017" asserts="0" description="Src\LabHostConfiguration"> <results> <test-case description="Installs "Microsoft-Hyper-V-All" feature with "WindowsOptionalFeature" on a desktop OS" name="Src\LabHostConfiguration.Installs "Microsoft-Hyper-V-All" feature with "WindowsOptionalFeature" on a desktop OS" time="0.182" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Installs "Hyper-V" feature using "WindowsFeature" on a server OS" name="Src\LabHostConfiguration.Installs "Hyper-V" feature using "WindowsFeature" on a server OS" time="0.0224" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Installs "RSAT-Hyper-V-Tools" feature using "WindowsFeature" on a server OS" name="Src\LabHostConfiguration.Installs "RSAT-Hyper-V-Tools" feature using "WindowsFeature" on a server OS" time="0.0184" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Checks for a pending reboot" name="Src\LabHostConfiguration.Checks for a pending reboot" time="0.0192" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ImportDscResource once for each host configuration item" name="Src\LabHostConfiguration.Calls "ImportDscResource once for each host configuration item" time="0.059" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetDscResource once for each host configuration item" name="Src\LabHostConfiguration.Calls "GetDscResource once for each host configuration item" time="0.0318" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when target paths exist" name="Src\LabHostConfiguration.Passes when target paths exist" time="0.1251" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when a target path does not exist" name="Src\LabHostConfiguration.Fails when a target path does not exist" time="0.0235" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when host configuration is correct" name="Src\LabHostConfiguration.Passes when host configuration is correct" time="0.0441" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when host configuration is incorrect" name="Src\LabHostConfiguration.Fails when host configuration is incorrect" time="0.0417" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when host configuration has a pending reboot" name="Src\LabHostConfiguration.Fails when host configuration has a pending reboot" time="0.0404" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when host configuration has a pending reboot but -IgnorePendingReboot is specified" name="Src\LabHostConfiguration.Passes when host configuration has a pending reboot but -IgnorePendingReboot is specified" time="0.051" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not attempt to create an empty path" name="Src\LabHostConfiguration.Does not attempt to create an empty path" time="0.0523" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "NewDirectory" for each path" name="Src\LabHostConfiguration.Calls "NewDirectory" for each path" time="0.0353" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResource" for each host configuration item" name="Src\LabHostConfiguration.Calls "InvokeDscResource" for each host configuration item" time="0.0557" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabHostDefaults" executed="True" result="Success" success="True" time="0.5708" asserts="0" description="Src\LabHostDefaults"> <results> <test-case description="Calls "GetConfigurationData"" name="Src\LabHostDefaults.Calls "GetConfigurationData"" time="0.1878" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns host configuration path" name="Src\LabHostDefaults.Returns host configuration path" time="0.0397" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves path containing an environment variable" name="Src\LabHostDefaults.Resolves path containing an environment variable" time="0.0476" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'ConfigurationPath' parameter" name="Src\LabHostDefaults.Calls 'Set-LabDefaults' with passed 'ConfigurationPath' parameter" time="0.0304" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'DifferencingVhdPath' parameter" name="Src\LabHostDefaults.Calls 'Set-LabDefaults' with passed 'DifferencingVhdPath' parameter" time="0.0332" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'HotfixPath' parameter" name="Src\LabHostDefaults.Calls 'Set-LabDefaults' with passed 'HotfixPath' parameter" time="0.0378" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'IsoPath' parameter" name="Src\LabHostDefaults.Calls 'Set-LabDefaults' with passed 'IsoPath' parameter" time="0.0355" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'ParentVhdPath' parameter" name="Src\LabHostDefaults.Calls 'Set-LabDefaults' with passed 'ParentVhdPath' parameter" time="0.0331" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'ResourcePath' parameter" name="Src\LabHostDefaults.Calls 'Set-LabDefaults' with passed 'ResourcePath' parameter" time="0.037" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'ModuleCachePath' parameter" name="Src\LabHostDefaults.Calls 'Set-LabDefaults' with passed 'ModuleCachePath' parameter" time="0.0387" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Set-LabDefaults" with passed "ResourceShareName" parameter" name="Src\LabHostDefaults.Calls "Set-LabDefaults" with passed "ResourceShareName" parameter" time="0.0262" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when passed an invalid path" name="Src\LabHostDefaults.Throws when passed an invalid path" time="0.0239" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabImage" executed="True" result="Success" success="True" time="1.7191" asserts="0" description="Src\LabImage"> <results> <test-case description="Returns null when there is no parent image when Id specified" name="Src\LabImage.Returns null when there is no parent image when Id specified" time="0.1831" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns null when there is are no parent images" name="Src\LabImage.Returns null when there is are no parent images" time="0.0339" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all available parent images when no Id is specified" name="Src\LabImage.Returns all available parent images when no Id is specified" time="0.0334" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a single parent image when Id specified" name="Src\LabImage.Returns a single parent image when Id specified" time="0.0337" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns image generation 'VHD' for VHD file" name="Src\LabImage.Returns image generation 'VHD' for VHD file" time="0.0334" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns image generation 'VHDX' for VHDX file" name="Src\LabImage.Returns image generation 'VHDX' for VHDX file" time="0.0356" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when parent image is found" name="Src\LabImage.Passes when parent image is found" time="0.0434" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when parent image is not found" name="Src\LabImage.Fails when parent image is not found" time="0.0198" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" name="Src\LabImage.Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" time="0.0179" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if image already exists" name="Src\LabImage.Throws if image already exists" time="0.0532" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Deletes parent VHDX when image creation fails" name="Src\LabImage.Deletes parent VHDX when image creation fails" time="0.0695" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Deletes existing image if it already exists and -Force is specified" name="Src\LabImage.Deletes existing image if it already exists and -Force is specified" time="0.0704" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeLabMediaImageDownload" to download ISO media (if not present)" name="Src\LabImage.Calls "InvokeLabMediaImageDownload" to download ISO media (if not present)" time="0.0696" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "NewDiskImage" with -PassThru to leave VHDX mounted" name="Src\LabImage.Calls "NewDiskImage" with -PassThru to leave VHDX mounted" time="0.0697" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses "GPT" partition style for x64 media" name="Src\LabImage.Uses "GPT" partition style for x64 media" time="0.0736" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses "MBR" partition style for x86 media" name="Src\LabImage.Uses "MBR" partition style for x86 media" time="0.0748" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses custom partition style when specified" name="Src\LabImage.Uses custom partition style when specified" time="0.0715" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandWindowsImage" with the media WIM image name" name="Src\LabImage.Calls "ExpandWindowsImage" with the media WIM image name" time="0.0715" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandWindowsImage" with the media WIM image index" name="Src\LabImage.Calls "ExpandWindowsImage" with the media WIM image index" time="0.0715" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandWindowsImage" with "WindowsOptionalFeature"" name="Src\LabImage.Calls "ExpandWindowsImage" with "WindowsOptionalFeature"" time="0.0785" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandWindowsImage" with "WimPath"" name="Src\LabImage.Calls "ExpandWindowsImage" with "WimPath"" time="0.0777" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandWindowsImage" with "SourcePath"" name="Src\LabImage.Calls "ExpandWindowsImage" with "SourcePath"" time="0.0802" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "AddDiskImageHotfix" to inject hotfixes" name="Src\LabImage.Calls "AddDiskImageHotfix" to inject hotfixes" time="0.0913" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetDiskImageBootVolume" to configure boot volume" name="Src\LabImage.Calls "SetDiskImageBootVolume" to configure boot volume" time="0.0815" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Dismounts image" name="Src\LabImage.Dismounts image" time="0.0848" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Test-LabImage" and "Get-LabImage" with "ConfigurationData" when specified (#97)" name="Src\LabImage.Calls "Test-LabImage" and "Get-LabImage" with "ConfigurationData" when specified (#97)" time="0.0956" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabMedia" executed="True" result="Success" success="True" time="1.2359" asserts="0" description="Src\LabMedia"> <results> <test-case description="Does not throw with valid mandatory parameters" name="Src\LabMedia.Does not throw with valid mandatory parameters" time="0.1827" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws with an invalid Uri" name="Src\LabMedia.Throws with an invalid Uri" time="0.0163" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "Id" parameter is missing" name="Src\LabMedia.Throws when "Id" parameter is missing" time="0.0184" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "Filename" parameter is missing" name="Src\LabMedia.Throws when "Filename" parameter is missing" time="0.0161" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "Architecture" parameter is missing" name="Src\LabMedia.Throws when "Architecture" parameter is missing" time="0.0168" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "MediaType" parameter is missing" name="Src\LabMedia.Throws when "MediaType" parameter is missing" time="0.0176" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "Uri" parameter is missing" name="Src\LabMedia.Throws when "Uri" parameter is missing" time="0.0138" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "System.Management.Automation.PSCustomObject" object type" name="Src\LabMedia.Returns "System.Management.Automation.PSCustomObject" object type" time="0.0147" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates ProductKey custom entry when "ProductKey" is specified" name="Src\LabMedia.Creates ProductKey custom entry when "ProductKey" is specified" time="0.0133" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if media Id cannot be resolved" name="Src\LabMedia.Throws if media Id cannot be resolved" time="0.0603" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns configuration data media entry if it exists" name="Src\LabMedia.Returns configuration data media entry if it exists" time="0.0154" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns default media if configuration data entry does not exist" name="Src\LabMedia.Returns default media if configuration data entry does not exist" time="0.0233" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all built-in media when no "Id" is specified" name="Src\LabMedia.Returns all built-in media when no "Id" is specified" time="0.0669" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a single matching built-in media when "Id" is specified" name="Src\LabMedia.Returns a single matching built-in media when "Id" is specified" time="0.0297" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns null if no built-in media is found when "Id" is specified" name="Src\LabMedia.Returns null if no built-in media is found when "Id" is specified" time="0.0327" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when media ISO has been downloaded" name="Src\LabMedia.Passes when media ISO has been downloaded" time="0.0509" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when media ISO has not been downloaded" name="Src\LabMedia.Fails when media ISO has not been downloaded" time="0.0238" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when media Id is not found" name="Src\LabMedia.Fails when media Id is not found" time="0.0226" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.IO.FileInfo" object type" name="Src\LabMedia.Returns a "System.IO.FileInfo" object type" time="0.0466" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "ParentVhdPath" if media type is "VHD"" name="Src\LabMedia.Calls "InvokeResourceDownload" with "ParentVhdPath" if media type is "VHD"" time="0.0269" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "IsoPath" if media type is "ISO"" name="Src\LabMedia.Calls "InvokeResourceDownload" with "IsoPath" if media type is "ISO"" time="0.0269" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "IsoPath" if media type is "WIM"" name="Src\LabMedia.Calls "InvokeResourceDownload" with "IsoPath" if media type is "WIM"" time="0.0271" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "Force" parameter when specified" name="Src\LabMedia.Calls "InvokeResourceDownload" with "Force" parameter when specified" time="0.0258" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with large "BufferSize" for file Uris" name="Src\LabMedia.Calls "InvokeResourceDownload" with large "BufferSize" for file Uris" time="0.0274" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "InvokeResourceDownload" when "DisableLocalFileCaching" is enabled" name="Src\LabMedia.Does not call "InvokeResourceDownload" when "DisableLocalFileCaching" is enabled" time="0.0307" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns source Uri when "DisableLocalFileCaching" is enabled" name="Src\LabMedia.Returns source Uri when "DisableLocalFileCaching" is enabled" time="0.0277" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.IO.FileInfo" object type" name="Src\LabMedia.Returns a "System.IO.FileInfo" object type" time="0.0535" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "Checksum" parameter when specified" name="Src\LabMedia.Calls "InvokeResourceDownload" with "Checksum" parameter when specified" time="0.0262" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "Force" parameter when specified" name="Src\LabMedia.Calls "InvokeResourceDownload" with "Force" parameter when specified" time="0.026" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when custom media type is "ISO" and OperatingSystem is "Linux"" name="Src\LabMedia.Throws when custom media type is "ISO" and OperatingSystem is "Linux"" time="0.0387" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when custom media type is "WIM" and OperatingSystem is "Linux"" name="Src\LabMedia.Throws when custom media type is "WIM" and OperatingSystem is "Linux"" time="0.0213" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when custom media type is "ISO" and "ImageName" is not specified" name="Src\LabMedia.Throws when custom media type is "ISO" and "ImageName" is not specified" time="0.0208" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when custom media type is "WIM" and "ImageName" is not specified" name="Src\LabMedia.Throws when custom media type is "WIM" and "ImageName" is not specified" time="0.0196" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when custom media already exists and "Force" is not specified" name="Src\LabMedia.Throws when custom media already exists and "Force" is not specified" time="0.0253" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw when custom media type is "VHD" and "ImageName" is not specified" name="Src\LabMedia.Does not throw when custom media type is "VHD" and "ImageName" is not specified" time="0.0308" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw when custom media already exists and "Force" is specified" name="Src\LabMedia.Does not throw when custom media already exists and "Force" is specified" time="0.0267" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes existing custom media entry when 'Id' does exist" name="Src\LabMedia.Removes existing custom media entry when 'Id' does exist" time="0.0517" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not remove any entries when custom media 'Id' doesn't exist" name="Src\LabMedia.Does not remove any entries when custom media 'Id' doesn't exist" time="0.0208" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabModule" executed="True" result="Success" success="True" time="0.2704" asserts="0" description="Src\LabModule"> <results> <test-case description="Returns "System.Collections.Hashtable" object type" name="Src\LabModule.Returns "System.Collections.Hashtable" object type" time="0.1794" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all PowerShell modules when not defined on the node" name="Src\LabModule.Returns all PowerShell modules when not defined on the node" time="0.023" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all DSC resources when not defined on the node" name="Src\LabModule.Returns all DSC resources when not defined on the node" time="0.0238" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns PowerShell modules only defined on the node" name="Src\LabModule.Returns PowerShell modules only defined on the node" time="0.0212" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns DSC resource modules only defined on the node" name="Src\LabModule.Returns DSC resource modules only defined on the node" time="0.023" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabResource" executed="True" result="Success" success="True" time="1.7012" asserts="0" description="Src\LabResource"> <results> <test-case description="Passes when no resources are defined in the configuration data" name="Src\LabResource.Passes when no resources are defined in the configuration data" time="0.17" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when all defined resources are present and "Id" parameter is not specified" name="Src\LabResource.Passes when all defined resources are present and "Id" parameter is not specified" time="0.0432" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when defined resource is present and "Id" parameter is specified" name="Src\LabResource.Passes when defined resource is present and "Id" parameter is specified" time="0.0213" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when a resource is missing and "Id" parameter is not specified" name="Src\LabResource.Fails when a resource is missing and "Id" parameter is not specified" time="0.0312" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when a resource is missing and "Id" parameter is specified" name="Src\LabResource.Fails when a resource is missing and "Id" parameter is specified" time="0.0331" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses resource "Filename" property if specified" name="Src\LabResource.Uses resource "Filename" property if specified" time="0.0257" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "TestResourceDownload" with "Checksum" parameter when defined" name="Src\LabResource.Calls "TestResourceDownload" with "Checksum" parameter when defined" time="0.024" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads all media when "MediaId" parameter is not specified" name="Src\LabResource.Downloads all media when "MediaId" parameter is not specified" time="0.1747" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads only unique media when "MediaId" parameter is not specified" name="Src\LabResource.Downloads only unique media when "MediaId" parameter is not specified" time="0.0984" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads single media when "MediaId" parameter is specified" name="Src\LabResource.Downloads single media when "MediaId" parameter is specified" time="0.0736" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads all required hotfixes" name="Src\LabResource.Downloads all required hotfixes" time="0.0408" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads all resources when "ResourceId" parameter is not specified" name="Src\LabResource.Downloads all resources when "ResourceId" parameter is not specified" time="0.0562" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads single resource when "ResourceId" parameter is specified" name="Src\LabResource.Downloads single resource when "ResourceId" parameter is specified" time="0.0325" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads a single DSC resource module" name="Src\LabResource.Downloads a single DSC resource module" time="0.0344" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads multiple DSC resource modules" name="Src\LabResource.Downloads multiple DSC resource modules" time="0.0345" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads a single PowerShell module" name="Src\LabResource.Downloads a single PowerShell module" time="0.037" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads multiple PowerShell modules" name="Src\LabResource.Downloads multiple PowerShell modules" time="0.0398" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses resource "Filename" property if specified" name="Src\LabResource.Uses resource "Filename" property if specified" time="0.0372" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns resource record if "ResourceId" is found" name="Src\LabResource.Returns resource record if "ResourceId" is found" time="0.0379" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "ResourceId" is not found" name="Src\LabResource.Throws if "ResourceId" is not found" time="0.0206" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates destination "Resources" directory if it does not exist on target file sytem" name="Src\LabResource.Creates destination "Resources" directory if it does not exist on target file sytem" time="0.0549" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes "Invoke-LabResourceDownload" with "ResourceId" if resource is not found" name="Src\LabResource.Invokes "Invoke-LabResourceDownload" with "ResourceId" if resource is not found" time="0.0471" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses resource "Filename" property if specified" name="Src\LabResource.Uses resource "Filename" property if specified" time="0.0468" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies resource by default" name="Src\LabResource.Copies resource by default" time="0.045" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies resource to explicit target destination path" name="Src\LabResource.Copies resource to explicit target destination path" time="0.0434" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandZipArchive" if "Expand" property is specified on a "ZIP" resource" name="Src\LabResource.Calls "ExpandZipArchive" if "Expand" property is specified on a "ZIP" resource" time="0.0423" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandZipArchive" to explicit target path when "Expand" is specified on a "ZIP" resource" name="Src\LabResource.Calls "ExpandZipArchive" to explicit target path when "Expand" is specified on a "ZIP" resource" time="0.0434" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandIso" if "Expand" property is specified on an "ISO" resource" name="Src\LabResource.Calls "ExpandIso" if "Expand" property is specified on an "ISO" resource" time="0.0425" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandIso" to explicit target path when "Expand" is specified on a "ISO" resource" name="Src\LabResource.Calls "ExpandIso" to explicit target path when "Expand" is specified on a "ISO" resource" time="0.0399" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "Expand" property is specified on an "EXE" resource" name="Src\LabResource.Throws if "Expand" property is specified on an "EXE" resource" time="0.0397" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "System.Boolean" object type" name="Src\LabResource.Returns "System.Boolean" object type" time="0.0509" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when local .EXE exists" name="Src\LabResource.Passes when local .EXE exists" time="0.0344" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when local .EXE does not exist" name="Src\LabResource.Fails when local .EXE does not exist" time="0.019" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when local ISO folder exists" name="Src\LabResource.Passes when local ISO folder exists" time="0.0158" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when local ISO folder does not exist" name="Src\LabResource.Fails when local ISO folder does not exist" time="0.0166" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when local ZIP folder exists" name="Src\LabResource.Passes when local ZIP folder exists" time="0.0184" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when local ZIP folder does not exist" name="Src\LabResource.Fails when local ZIP folder does not exist" time="0.0173" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when local .EXE has "Expand" = "True"" name="Src\LabResource.Throws when local .EXE has "Expand" = "True"" time="0.0177" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabSwitch" executed="True" result="Success" success="True" time="0.6147" asserts="0" description="Src\LabSwitch"> <results> <test-case description="Returns a "System.Collections.Hashtable" object type" name="Src\LabSwitch.Returns a "System.Collections.Hashtable" object type" time="0.1691" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when switch type is "External" and "NetAdapterName" is not specified" name="Src\LabSwitch.Throws when switch type is "External" and "NetAdapterName" is not specified" time="0.0209" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes "NetAdapterName" if switch type is not "External"" name="Src\LabSwitch.Removes "NetAdapterName" if switch type is not "External"" time="0.0191" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes "AllowManagementOS" if switch type is not "External"" name="Src\LabSwitch.Removes "AllowManagementOS" if switch type is not "External"" time="0.0159" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Collections.Hashtable" object type" name="Src\LabSwitch.Returns a "System.Collections.Hashtable" object type" time="0.0522" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns specified network switch from configuration data if defined" name="Src\LabSwitch.Returns specified network switch from configuration data if defined" time="0.0273" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns existing "External" switch if "Name" cannot be resolved" name="Src\LabSwitch.Returns existing "External" switch if "Name" cannot be resolved" time="0.0334" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a default "Internal" switch if the switch cannot be resolved" name="Src\LabSwitch.Returns a default "Internal" switch if the switch cannot be resolved" time="0.0252" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when network switch is found" name="Src\LabSwitch.Passes when network switch is found" time="0.0565" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when an existing switch is found" name="Src\LabSwitch.Passes when an existing switch is found" time="0.0234" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when network switch is not found" name="Src\LabSwitch.Fails when network switch is not found" time="0.0278" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResource"" name="Src\LabSwitch.Calls "InvokeDscResource"" time="0.0496" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "InvokeDscResource" for an existing switch" name="Src\LabSwitch.Does not call "InvokeDscResource" for an existing switch" time="0.0217" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResource" with "Ensure" = "Absent"" name="Src\LabSwitch.Calls "InvokeDscResource" with "Ensure" = "Absent"" time="0.0513" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "InvokeDscResource" for an existing switch" name="Src\LabSwitch.Does not call "InvokeDscResource" for an existing switch" time="0.0212" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabVM" executed="True" result="Success" success="True" time="2.9933" asserts="0" description="Src\LabVM"> <results> <test-case description="Returns a "System.Collections.Hashtable" object type" name="Src\LabVM.Returns a "System.Collections.Hashtable" object type" time="0.1795" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns node-specific configuration data when present" name="Src\LabVM.Returns node-specific configuration data when present" time="0.0254" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns node-specific configuration data when present and "NoEnumerateWildcardNode" is specified" name="Src\LabVM.Returns node-specific configuration data when present and "NoEnumerateWildcardNode" is specified" time="0.0216" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns wildcard node when node-specific data is not defined" name="Src\LabVM.Returns wildcard node when node-specific data is not defined" time="0.0232" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns default when "NoEnumerateWildcardNode" is specified and node-specific data is not defined" name="Src\LabVM.Returns default when "NoEnumerateWildcardNode" is specified and node-specific data is not defined" time="0.029" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns default if wildcard and node-specific data is not present" name="Src\LabVM.Returns default if wildcard and node-specific data is not present" time="0.0256" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Lability_" specific properties over generic properties" name="Src\LabVM.Returns "Lability_" specific properties over generic properties" time="0.0205" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds "EnvironmentPrefix" to "NodeDisplayName" when defined" name="Src\LabVM.Adds "EnvironmentPrefix" to "NodeDisplayName" when defined" time="0.0208" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds "EnvironmentSuffix" to "NodeDisplayName" when defined" name="Src\LabVM.Adds "EnvironmentSuffix" to "NodeDisplayName" when defined" time="0.0199" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Management.Automation.PSCustomObject" object type" name="Src\LabVM.Returns a "System.Management.Automation.PSCustomObject" object type" time="0.0597" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns specific node when "Name" is specified" name="Src\LabVM.Returns specific node when "Name" is specified" time="0.0373" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all nodes when "Name" is not specified" name="Src\LabVM.Returns all nodes when "Name" is not specified" time="0.0477" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors when node cannot be found" name="Src\LabVM.Errors when node cannot be found" time="0.0525" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Boolean" object type" name="Src\LabVM.Returns a "System.Boolean" object type" time="0.0683" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a result for each VM when "Name" is not specified" name="Src\LabVM.Returns a result for each VM when "Name" is not specified" time="0.0601" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when VM is configured correctly" name="Src\LabVM.Passes when VM is configured correctly" time="0.0446" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when image is invalid" name="Src\LabVM.Fails when image is invalid" time="0.0345" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when switch configuration is incorrect" name="Src\LabVM.Fails when switch configuration is incorrect" time="0.0464" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when VM disk configuration is invalid" name="Src\LabVM.Fails when VM disk configuration is invalid" time="0.0417" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when VM configuration is incorrect" name="Src\LabVM.Fails when VM configuration is incorrect" time="0.0478" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Test-LabImage" and "TestLabVMDisk" with "ConfigurationData" (#97)" name="Src\LabVM.Calls "Test-LabImage" and "TestLabVMDisk" with "ConfigurationData" (#97)" time="0.0513" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "ClientCertificatePath" cannot be found" name="Src\LabVM.Throws when "ClientCertificatePath" cannot be found" time="0.0478" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw when "ClientCertificatePath" cannot be found and "IsQuickVM" = "$true"" name="Src\LabVM.Does not throw when "ClientCertificatePath" cannot be found and "IsQuickVM" = "$true"" time="0.0794" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "RootCertificatePath" cannot be found" name="Src\LabVM.Throws when "RootCertificatePath" cannot be found" time="0.0299" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw when "RootCertificatePath" cannot be found and "IsQuickVM" = "$true"" name="Src\LabVM.Does not throw when "RootCertificatePath" cannot be found and "IsQuickVM" = "$true"" time="0.0668" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates parent image if it is not already present" name="Src\LabVM.Creates parent image if it is not already present" time="0.0658" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabSwitch" to configure VM switch" name="Src\LabVM.Calls "SetLabSwitch" to configure VM switch" time="0.0694" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabSwitch" once per network switch" name="Src\LabVM.Calls "SetLabSwitch" once per network switch" time="0.0723" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ResetLabVMDisk" to create VM disk" name="Src\LabVM.Calls "ResetLabVMDisk" to create VM disk" time="0.0686" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates virtual machine" name="Src\LabVM.Creates virtual machine" time="0.071" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates virtual machine with "GuestIntegrationServices" when specified" name="Src\LabVM.Creates virtual machine with "GuestIntegrationServices" when specified" time="0.0784" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not inject resources when "OperatingSystem" is "Linux"" name="Src\LabVM.Does not inject resources when "OperatingSystem" is "Linux"" time="0.0738" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Injects VM resources" name="Src\LabVM.Injects VM resources" time="0.0831" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not create a snapshot when "NoSnapshot" is specified" name="Src\LabVM.Does not create a snapshot when "NoSnapshot" is specified" time="0.0763" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Writes warning when VM "WarningMessage" is defined" name="Src\LabVM.Writes warning when VM "WarningMessage" is defined" time="0.0744" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Test-LabImage" with "ConfigurationData" (#97)" name="Src\LabVM.Calls "Test-LabImage" with "ConfigurationData" (#97)" time="0.0773" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ResetLabVMDisk" with "ConfigurationData" (#97)" name="Src\LabVM.Calls "ResetLabVMDisk" with "ConfigurationData" (#97)" time="0.0896" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabVirtualMachine" with "ConfigurationData" (#97)" name="Src\LabVM.Calls "SetLabVirtualMachine" with "ConfigurationData" (#97)" time="0.0868" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns when no client or root certificate is used" name="Src\LabVM.Warns when no client or root certificate is used" time="0.0277" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when VM cannot be found" name="Src\LabVM.Throws when VM cannot be found" time="0.0553" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes all snapshots" name="Src\LabVM.Removes all snapshots" time="0.0532" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes the virtual machine" name="Src\LabVM.Removes the virtual machine" time="0.0482" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes the VHDX file" name="Src\LabVM.Removes the VHDX file" time="0.0491" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not remove the virtual switch by default" name="Src\LabVM.Does not remove the virtual switch by default" time="0.0514" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes the virtual switch when "RemoveSwitch" is specified" name="Src\LabVM.Removes the virtual switch when "RemoveSwitch" is specified" time="0.0504" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "RemoveLabVirtualMachine" with "ConfigurationData" (#97)" name="Src\LabVM.Calls "RemoveLabVirtualMachine" with "ConfigurationData" (#97)" time="0.0513" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "RemoveLabVMDisk" with "ConfigurationData" (#97)" name="Src\LabVM.Calls "RemoveLabVMDisk" with "ConfigurationData" (#97)" time="0.0511" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes existing virtual machine" name="Src\LabVM.Removes existing virtual machine" time="0.0696" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a new virtual machine" name="Src\LabVM.Creates a new virtual machine" time="0.0521" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a new virtual machine without a snapshot when "NoSnapshot" is specified" name="Src\LabVM.Creates a new virtual machine without a snapshot when "NoSnapshot" is specified" time="0.0573" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a new virtual machine" name="Src\LabVM.Creates a new virtual machine" time="0.0799" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a new virtual machine without a snapshot when "NoSnapshot" is specified" name="Src\LabVM.Creates a new virtual machine without a snapshot when "NoSnapshot" is specified" time="0.0514" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes existing virtual machine" name="Src\LabVM.Removes existing virtual machine" time="0.077" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabVMDefaults" executed="True" result="Success" success="True" time="1.3592" asserts="0" description="Src\LabVMDefaults"> <results> <test-case description="Calls "RemoveConfigurationData" method" name="Src\LabVMDefaults.Calls "RemoveConfigurationData" method" time="0.2112" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Management.Automation.PSCustomObject" object type" name="Src\LabVMDefaults.Returns a "System.Management.Automation.PSCustomObject" object type" time="0.0511" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return "BootOrder" property" name="Src\LabVMDefaults.Does not return "BootOrder" property" time="0.0292" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return "BootOrder" property" name="Src\LabVMDefaults.Does not return "BootOrder" property" time="0.0635" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "StartupMemory" value" name="Src\LabVMDefaults.Sets "StartupMemory" value" time="0.0403" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "MinimumMemory" value" name="Src\LabVMDefaults.Sets "MinimumMemory" value" time="0.0422" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "MaximumMemory" value" name="Src\LabVMDefaults.Sets "MaximumMemory" value" time="0.0371" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "ProcessorCount" value" name="Src\LabVMDefaults.Sets "ProcessorCount" value" time="0.0399" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "Media" value" name="Src\LabVMDefaults.Sets "Media" value" time="0.0531" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "SwitchName" value" name="Src\LabVMDefaults.Sets "SwitchName" value" time="0.0424" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "Timezone" value" name="Src\LabVMDefaults.Sets "Timezone" value" time="0.039" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "InputLocale" value" name="Src\LabVMDefaults.Sets "InputLocale" value" time="0.0347" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "InputLocale" value" name="Src\LabVMDefaults.Sets "InputLocale" value" time="0.0356" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "SystemLocale" value" name="Src\LabVMDefaults.Sets "SystemLocale" value" time="0.0354" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "UILanguage" value" name="Src\LabVMDefaults.Sets "UILanguage" value" time="0.0363" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "UserLocale" value" name="Src\LabVMDefaults.Sets "UserLocale" value" time="0.0352" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "RegisteredOwner" value" name="Src\LabVMDefaults.Sets "RegisteredOwner" value" time="0.0366" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "RegisteredOrganization" value" name="Src\LabVMDefaults.Sets "RegisteredOrganization" value" time="0.0363" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "BootDelay" value" name="Src\LabVMDefaults.Sets "BootDelay" value" time="0.0367" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "CustomBootstrapOrder" value" name="Src\LabVMDefaults.Sets "CustomBootstrapOrder" value" time="0.0354" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "GuestIntegrationServices" value" name="Src\LabVMDefaults.Sets "GuestIntegrationServices" value" time="0.0361" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "ClientCertificatePath" value" name="Src\LabVMDefaults.Sets "ClientCertificatePath" value" time="0.0366" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "RootCertificatePath" value" name="Src\LabVMDefaults.Sets "RootCertificatePath" value" time="0.039" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "Timezone" cannot be resolved" name="Src\LabVMDefaults.Throws if "Timezone" cannot be resolved" time="0.0386" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "ClientCertificatePath" file cannot be found" name="Src\LabVMDefaults.Throws if "ClientCertificatePath" file cannot be found" time="0.0336" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "RootCertificatePath" file cannot be found" name="Src\LabVMDefaults.Throws if "RootCertificatePath" file cannot be found" time="0.032" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "StartupMemory" is less than "MinimumMemory"" name="Src\LabVMDefaults.Throws if "StartupMemory" is less than "MinimumMemory"" time="0.0293" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "StartupMemory" is greater than "MaximumMemory"" name="Src\LabVMDefaults.Throws if "StartupMemory" is greater than "MaximumMemory"" time="0.0315" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "Media" cannot be resolved" name="Src\LabVMDefaults.Throws if "Media" cannot be resolved" time="0.0577" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetConfigurationData" to write data to disk" name="Src\LabVMDefaults.Calls "SetConfigurationData" to write data to disk" time="0.0537" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabVMDisk" executed="True" result="Success" success="True" time="1.1332" asserts="0" description="Src\LabVMDisk"> <results> <test-case description="Appends the VM's name to the host "DifferencingVhdPath"" name="Src\LabVMDisk.Appends the VM's name to the host "DifferencingVhdPath"" time="0.1942" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabMedia" to resolve the parent VHDX path" name="Src\LabVMDisk.Calls "Get-LabMedia" to resolve the parent VHDX path" time="0.0675" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetDscResource" with virtual machine name" name="Src\LabVMDisk.Calls "GetDscResource" with virtual machine name" time="0.0416" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" name="Src\LabVMDisk.Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" time="0.0424" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabMedia" to resolve the parent VHDX path" name="Src\LabVMDisk.Calls "Get-LabMedia" to resolve the parent VHDX path" time="0.0719" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "TestDscResource" with virtual machine name" name="Src\LabVMDisk.Calls "TestDscResource" with virtual machine name" time="0.0454" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "TestDscResource" with "MaximumSize" when image is not available (#104)" name="Src\LabVMDisk.Calls "TestDscResource" with "MaximumSize" when image is not available (#104)" time="0.0451" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "TestDscResource" with "VHDX" when image is not available (#104)" name="Src\LabVMDisk.Calls "TestDscResource" with "VHDX" when image is not available (#104)" time="0.0458" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" name="Src\LabVMDisk.Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" time="0.0477" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabMedia" to resolve the parent VHDX path" name="Src\LabVMDisk.Calls "Get-LabMedia" to resolve the parent VHDX path" time="0.0757" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResource" with virtual machine name" name="Src\LabVMDisk.Calls "InvokeDscResource" with virtual machine name" time="0.0466" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" name="Src\LabVMDisk.Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" time="0.053" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabMedia" to resolve the parent VHDX path" name="Src\LabVMDisk.Calls "Get-LabMedia" to resolve the parent VHDX path" time="0.0649" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResource" with virtual "Ensure" = "Absent"" name="Src\LabVMDisk.Calls "InvokeDscResource" with virtual "Ensure" = "Absent"" time="0.0507" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" name="Src\LabVMDisk.Calls "Get-LabImage" with "ConfigurationData" when specified (#97)" time="0.0468" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes any existing snapshots" name="Src\LabVMDisk.Removes any existing snapshots" time="0.0659" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes the existing VHDX file" name="Src\LabVMDisk.Removes the existing VHDX file" time="0.0375" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a new VHDX file" name="Src\LabVMDisk.Creates a new VHDX file" time="0.0467" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "RemoveLabVMDisk" and "SetLabVMDisk" with "ConfigurationData" when specified (#97)" name="Src\LabVMDisk.Calls "RemoveLabVMDisk" and "SetLabVMDisk" with "ConfigurationData" when specified (#97)" time="0.0439" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabVMDiskFile" executed="True" result="Success" success="True" time="1.9334" asserts="0" description="Src\LabVMDiskFile"> <results> <test-case description="Calls "InvokeModuleCacheDownload" with "Force" when specified" name="Src\LabVMDiskFile.Calls "InvokeModuleCacheDownload" with "Force" when specified" time="0.1998" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandModuleCache" with "Clean" when specified" name="Src\LabVMDiskFile.Calls "ExpandModuleCache" with "Clean" when specified" time="0.035" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandLabResource" using "ResourceShare" path" name="Src\LabVMDiskFile.Calls "ExpandLabResource" using "ResourceShare" path" time="0.0601" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ResolveLabModule" to query DSC resource modules" name="Src\LabVMDiskFile.Calls "ResolveLabModule" to query DSC resource modules" time="0.0668" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ResolveLabModule" to query PowerShell modules" name="Src\LabVMDiskFile.Calls "ResolveLabModule" to query PowerShell modules" time="0.0414" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabVMDiskModule" to expand modules" name="Src\LabVMDiskFile.Calls "SetLabVMDiskModule" to expand modules" time="0.0468" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetUnattendXml" to create "\Windows\System32\Sysprep\Unattend.xml" file" name="Src\LabVMDiskFile.Calls "SetUnattendXml" to create "\Windows\System32\Sysprep\Unattend.xml" file" time="0.067" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetBootStrap" to inject default bootstrap" name="Src\LabVMDiskFile.Calls "SetBootStrap" to inject default bootstrap" time="0.0627" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetBootStrap" to inject custom bootstrap when specified" name="Src\LabVMDiskFile.Calls "SetBootStrap" to inject custom bootstrap when specified" time="0.0389" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetBootStrap" with "CoreCLR" to inject CoreCLR bootstrap when specified" name="Src\LabVMDiskFile.Calls "SetBootStrap" with "CoreCLR" to inject CoreCLR bootstrap when specified" time="0.0391" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetSetupCompleteCmd" with "\Windows\Setup\Scripts" path" name="Src\LabVMDiskFile.Calls "SetSetupCompleteCmd" with "\Windows\Setup\Scripts" path" time="0.0376" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns if .mof file cannot be found" name="Src\LabVMDiskFile.Warns if .mof file cannot be found" time="0.0695" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies .mof file if found" name="Src\LabVMDiskFile.Copies .mof file if found" time="0.0412" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies .meta.mof file if found" name="Src\LabVMDiskFile.Copies .meta.mof file if found" time="0.0406" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies default client certificate" name="Src\LabVMDiskFile.Copies default client certificate" time="0.076" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies default root certificate" name="Src\LabVMDiskFile.Copies default root certificate" time="0.0499" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies custom client certificate" name="Src\LabVMDiskFile.Copies custom client certificate" time="0.0452" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies custom root certificate" name="Src\LabVMDiskFile.Copies custom root certificate" time="0.0445" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops "ShellHWDetection" service" name="Src\LabVMDiskFile.Stops "ShellHWDetection" service" time="0.1352" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Mounts virtual machine VHDX file" name="Src\LabVMDiskFile.Mounts virtual machine VHDX file" time="0.0803" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Starts "ShellHWDetection" service" name="Src\LabVMDiskFile.Starts "ShellHWDetection" service" time="0.0921" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabVMDiskFileResource" to copy node resources" name="Src\LabVMDiskFile.Calls "SetLabVMDiskFileResource" to copy node resources" time="0.0872" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabVMDiskFileBootstrap" to copy Lability bootstrap" name="Src\LabVMDiskFile.Calls "SetLabVMDiskFileBootstrap" to copy Lability bootstrap" time="0.078" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabVMDiskFileUnattendXml" to copy unattended installation file" name="Src\LabVMDiskFile.Calls "SetLabVMDiskFileUnattendXml" to copy unattended installation file" time="0.0807" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabVMDiskFileMof" to copy node DSC configuaration files" name="Src\LabVMDiskFile.Calls "SetLabVMDiskFileMof" to copy node DSC configuaration files" time="0.079" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabVMDiskFileCertificate" to copy node certificate files" name="Src\LabVMDiskFile.Calls "SetLabVMDiskFileCertificate" to copy node certificate files" time="0.0829" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabVMDiskFileModule" to copy PowerShell/DSC resource modules" name="Src\LabVMDiskFile.Calls "SetLabVMDiskFileModule" to copy PowerShell/DSC resource modules" time="0.0759" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Dismounts virtual machine VHDX file" name="Src\LabVMDiskFile.Dismounts virtual machine VHDX file" time="0.0801" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Src\LabVMSnapshot" executed="True" result="Success" success="True" time="0.3908" asserts="0" description="Src\LabVMSnapshot"> <results> <test-case description="Calls "Get-VMSnapshot" for each virtual machine specified" name="Src\LabVMSnapshot.Calls "Get-VMSnapshot" for each virtual machine specified" time="0.2063" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Remove-VMSnapshot" for each virtual machine snapshot" name="Src\LabVMSnapshot.Calls "Remove-VMSnapshot" for each virtual machine snapshot" time="0.044" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Checkpoint-VM" for each virtual machine specified" name="Src\LabVMSnapshot.Calls "Checkpoint-VM" for each virtual machine specified" time="0.0539" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-VMSnapshot" for each virtual machine specified" name="Src\LabVMSnapshot.Calls "Get-VMSnapshot" for each virtual machine specified" time="0.0573" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns when snapshot name cannot be found" name="Src\LabVMSnapshot.Warns when snapshot name cannot be found" time="0.0293" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </test-results> |