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="498" errors="0" failures="0" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2016-04-14" time="23:09:19"> <environment user="Iain" machine-name="IBLAPTOP" cwd="C:\Users\Iain\Dropbox\PowerShell\Modules\Lability" user-domain="IBLAPTOP" platform="Microsoft Windows 10 Pro Insider Preview|C:\WINDOWS|\Device\Harddisk1\Partition4" nunit-version="2.5.8.0" os-version="10.0.14295" 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="47.8903" asserts="0"> <results> <test-suite type="TestFixture" name="BootStrap" executed="True" result="Success" success="True" time="2.6655" asserts="0" description="BootStrap"> <results> <test-case description="Returns a "System.Management.Automation.ScriptBlock" type" name="BootStrap.Returns a "System.Management.Automation.ScriptBlock" type" time="1.4251" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Includes custom BootStrap injection point" name="BootStrap.Includes custom BootStrap injection point" time="0.0925" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates target file "SetupComplete.cmd"" name="BootStrap.Creates target file "SetupComplete.cmd"" time="0.1054" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Bypasses Powershell execution policy" name="BootStrap.Bypasses Powershell execution policy" time="0.0361" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Runs non-interactively" name="BootStrap.Runs non-interactively" time="0.0303" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates scheduled tasks for CoreCLR image" name="BootStrap.Creates scheduled tasks for CoreCLR image" time="0.0354" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses ASCII encoding" name="BootStrap.Uses ASCII encoding" time="0.4549" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates target file "BootStrap.ps1"" name="BootStrap.Creates target file "BootStrap.ps1"" time="0.1185" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Replaces custom BootStrap injection point with custom BootStrap" name="BootStrap.Replaces custom BootStrap injection point with custom BootStrap" time="0.0405" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses UTF8 encoding" name="BootStrap.Uses UTF8 encoding" time="0.0672" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns empty string when "CustomBootStrapOrder" = "Disabled"" name="BootStrap.Returns empty string when "CustomBootStrapOrder" = "Disabled"" time="0.1035" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns configuration bootstrap when "CustomBootStrapOrder" = "ConfigurationOnly"" name="BootStrap.Returns configuration bootstrap when "CustomBootStrapOrder" = "ConfigurationOnly"" time="0.0249" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns media bootstrap when "CustomBootStrapOrder" = "MediaOnly"" name="BootStrap.Returns media bootstrap when "CustomBootStrapOrder" = "MediaOnly"" time="0.0239" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns configuration bootstrap first when "CustomBootStrapOrder" = "ConfigurationFirst"" name="BootStrap.Returns configuration bootstrap first when "CustomBootStrapOrder" = "ConfigurationFirst"" time="0.0324" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns media bootstrap first when "CustomBootStrapOrder" = "MediaFirst"" name="BootStrap.Returns media bootstrap first when "CustomBootStrapOrder" = "MediaFirst"" time="0.0237" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns configuration bootstrap when "MediaCustomBootstrap" is null" name="BootStrap.Returns configuration bootstrap when "MediaCustomBootstrap" is null" time="0.0235" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns media bootstrap when "ConfigurationCustomBootstrap" is null" name="BootStrap.Returns media bootstrap when "ConfigurationCustomBootstrap" is null" time="0.0279" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="ConfigurationData" executed="True" result="Success" success="True" time="1.7332" asserts="0" description="ConfigurationData"> <results> <test-case description="Resolves 'Host' to module path when custom configuration does not exist" name="ConfigurationData.Resolves 'Host' to module path when custom configuration does not exist" time="0.3891" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'Host' to %ALLUSERSPROFILE% path when custom configuration does exist" name="ConfigurationData.Resolves 'Host' to %ALLUSERSPROFILE% path when custom configuration does exist" time="0.0356" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'VM' to module path when custom configuration does not exist" name="ConfigurationData.Resolves 'VM' to module path when custom configuration does not exist" time="0.0323" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'VM' to %ALLUSERSPROFILE% path when custom configuration does exist" name="ConfigurationData.Resolves 'VM' to %ALLUSERSPROFILE% path when custom configuration does exist" time="0.0197" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'Media' to module path when custom configuration does not exist" name="ConfigurationData.Resolves 'Media' to module path when custom configuration does not exist" time="0.0357" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'Media' to %ALLUSERSPROFILE% path when custom configuration does exist" name="ConfigurationData.Resolves 'Media' to %ALLUSERSPROFILE% path when custom configuration does exist" time="0.0388" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'CustomMedia' to module path when custom configuration does not exist" name="ConfigurationData.Resolves 'CustomMedia' to module path when custom configuration does not exist" time="0.0304" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves 'CustomMedia' to %ALLUSERSPROFILE% path when custom configuration does exist" name="ConfigurationData.Resolves 'CustomMedia' to %ALLUSERSPROFILE% path when custom configuration does exist" time="0.027" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves environment variables in resulting path" name="ConfigurationData.Resolves environment variables in resulting path" time="0.1668" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "CustomBootstrapOrder" property to VM configuration" name="ConfigurationData.Adds missing "CustomBootstrapOrder" property to VM configuration" time="0.1645" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "SecureBoot" property to VM configuration" name="ConfigurationData.Adds missing "SecureBoot" property to VM configuration" time="0.1284" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "GuestIntegrationServices" property to VM configuration" name="ConfigurationData.Adds missing "GuestIntegrationServices" property to VM configuration" time="0.0473" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "OperatingSystem" property to CustomMedia configuration" name="ConfigurationData.Adds missing "OperatingSystem" property to CustomMedia configuration" time="0.1027" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "DisableLocalFileCaching" property to Host configuration" name="ConfigurationData.Adds missing "DisableLocalFileCaching" property to Host configuration" time="0.0572" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds missing "EnableCallStackLogging" property to Host configuration" name="ConfigurationData.Adds missing "EnableCallStackLogging" property to Host configuration" time="0.0564" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes deprecated "UpdatePath" property from Host configuration (Issue #77)" name="ConfigurationData.Removes deprecated "UpdatePath" property from Host configuration (Issue #77)" time="0.0831" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes configuration file" name="ConfigurationData.Removes configuration file" time="0.3181" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="DiskImage" executed="True" result="Success" success="True" time="5.2967" asserts="0" description="DiskImage"> <results> <test-case description="Throws when no disk letter is found" name="DiskImage.Throws when no disk letter is found" time="1.6357" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when no disk letter is found for specified partition type" name="DiskImage.Throws when no disk letter is found for specified partition type" time="0.0513" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a single character" name="DiskImage.Returns a single character" time="0.0502" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if VHD image already exists" name="DiskImage.Throws if VHD image already exists" time="0.0782" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes existing VHD image if it already exists and -Force is specified" name="DiskImage.Removes existing VHD image if it already exists and -Force is specified" time="0.3893" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates new VHD file and initializes disk" name="DiskImage.Creates new VHD file and initializes disk" time="0.0997" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does dismount VHD file if -PassThru is not specified" name="DiskImage.Does dismount VHD file if -PassThru is not specified" time="0.0943" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not dismount VHD file if -PassThru is specified" name="DiskImage.Does not dismount VHD file if -PassThru is specified" time="0.0552" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "BCDBOOT.EXE" with "/f BIOS"" name="DiskImage.Calls "BCDBOOT.EXE" with "/f BIOS"" time="0.151" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "BCDEDIT.EXE" thrice" name="DiskImage.Calls "BCDEDIT.EXE" thrice" time="0.0641" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "BCDBOOT.EXE" with "/f UEFI"" name="DiskImage.Calls "BCDBOOT.EXE" with "/f UEFI"" time="0.0945" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops Shell Hardware Detection service" name="DiskImage.Stops Shell Hardware Detection service" time="0.9518" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a full size active IFS partition" name="DiskImage.Creates a full size active IFS partition" time="0.068" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Formats volume as NTFS" name="DiskImage.Formats volume as NTFS" time="0.0642" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops and starts Shell Hardware Detection service" name="DiskImage.Stops and starts Shell Hardware Detection service" time="0.2421" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates 250MB system partition" name="DiskImage.Creates 250MB system partition" time="0.1333" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates OS partition" name="DiskImage.Creates OS partition" time="0.1288" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Formats volume as NTFS" name="DiskImage.Formats volume as NTFS" time="0.2889" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetDiskImageBootVolumeGpt" when partition style is GPT" name="DiskImage.Calls "SetDiskImageBootVolumeGpt" when partition style is GPT" time="0.0937" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetDiskImageBootVolumeMbr" when partition style is GPT" name="DiskImage.Calls "SetDiskImageBootVolumeMbr" when partition style is GPT" time="0.0337" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Add-WindowsPackage" for no hotfixes" name="DiskImage.Does not call "Add-WindowsPackage" for no hotfixes" time="0.1852" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Add-WindowsPackage" for no hotfixes" name="DiskImage.Does not call "Add-WindowsPackage" for no hotfixes" time="0.0366" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Add-WindowsPackage" for a single hotfix" name="DiskImage.Calls "Add-WindowsPackage" for a single hotfix" time="0.101" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Add-WindowsPackage" for a single hotfix" name="DiskImage.Calls "Add-WindowsPackage" for a single hotfix" time="0.0487" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Add-WindowsPackage" for each hotfix with multiple hotfixes" name="DiskImage.Calls "Add-WindowsPackage" for each hotfix with multiple hotfixes" time="0.076" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Add-WindowsPackage" for each hotfix with multiple hotfixes" name="DiskImage.Calls "Add-WindowsPackage" for each hotfix with multiple hotfixes" time="0.081" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="DscModule" executed="True" result="Success" success="True" time="1.4942" asserts="0" description="DscModule"> <results> <test-case description="Returns true if "GetDscModule" returns a path" name="DscModule.Returns true if "GetDscModule" returns a path" time="0.2777" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false if "GetDscModule" fails" name="DscModule.Returns false if "GetDscModule" fails" time="0.0412" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if module does not exist" name="DscModule.Throws if module does not exist" time="0.1457" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns DSC resource's parent directory path" name="DscModule.Returns DSC resource's parent directory path" time="0.0368" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns DSC resource's DSCResources subdirectory path if ResourceName is specified" name="DscModule.Returns DSC resource's DSCResources subdirectory path if ResourceName is specified" time="0.0478" 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="DscModule.Errors if DSC resource's subdirectory path does not exist and ResourceName is specified" time="0.0508" 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="DscModule.Returns $null if DSC resource's subdirectory path does not exist and ResourceName is specified" time="0.0385" 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="DscModule.Does not throw if DSC module version is equal to the MinimumVersion specified" time="0.0518" 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="DscModule.Does not throw if DSC module version is greater than the MinimumVersion specified" time="0.0384" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors if DSC module version is less than the MinimumVersion specified" name="DscModule.Errors if DSC module version is less than the MinimumVersion specified" time="0.0564" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns $null if DSC module version is less than the MinimumVersion specified" name="DscModule.Returns $null if DSC module version is less than the MinimumVersion specified" time="0.0368" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "True" when the module contains a "DSCResources" folder" name="DscModule.Returns "True" when the module contains a "DSCResources" folder" time="0.2581" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "False" when the module does not contain a "DSCResources" folder" name="DscModule.Returns "False" when the module does not contain a "DSCResources" folder" time="0.0255" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "True" when the module .psm1 contains a "[DSCResource()]" definition" name="DscModule.Returns "True" when the module .psm1 contains a "[DSCResource()]" definition" time="0.0313" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "False" when the module .psm1 does not contain a "[DSCResource()]" definition" name="DscModule.Returns "False" when the module .psm1 does not contain a "[DSCResource()]" definition" time="0.037" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns module with "DSCResources"" name="DscModule.Returns module with "DSCResources"" time="0.1146" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns module with "[DSCResource()]"" name="DscModule.Returns module with "[DSCResource()]"" time="0.0474" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return a module without "DSCResources" and "[DSCResource()]"" name="DscModule.Does not return a module without "DSCResources" and "[DSCResource()]"" time="0.0371" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns versioned module with "DSCResources"" name="DscModule.Returns versioned module with "DSCResources"" time="0.0434" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns versioned module with "[DSCResource()]"" name="DscModule.Returns versioned module with "[DSCResource()]"" time="0.0422" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return a versioned module without "DSCResources" and "[DSCResource()]"" name="DscModule.Does not return a versioned module without "DSCResources" and "[DSCResource()]"" time="0.0356" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="DscResource" executed="True" result="Success" success="True" time="2.0686" asserts="0" description="DscResource"> <results> <test-case description="Does not import module if command is already imported" name="DscResource.Does not import module if command is already imported" time="0.2787" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "GetDscModule" if "UseDefault" is not specified" name="DscResource.Does not call "GetDscModule" if "UseDefault" is not specified" time="0.0832" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetDscModule" if "UseDefault" is specified" name="DscResource.Calls "GetDscModule" if "UseDefault" is specified" time="0.0578" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-<ResourceName>TargetResource" method" name="DscResource.Calls "Get-<ResourceName>TargetResource" method" time="0.1012" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Test-<ResourceName>TargetResource" method" name="DscResource.Calls "Test-<ResourceName>TargetResource" method" time="0.1207" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Set-<ResourceName>TargetResource" method" name="DscResource.Calls "Set-<ResourceName>TargetResource" method" time="0.1273" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Set-<ResourceName>TargetResource" if "TestDscResource" passes" name="DscResource.Does not call "Set-<ResourceName>TargetResource" if "TestDscResource" passes" time="0.0833" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does call "Set-<ResourceName>TargetResource" if "TestDscResource" fails" name="DscResource.Does call "Set-<ResourceName>TargetResource" if "TestDscResource" fails" time="0.0424" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "TestDscResource" fails and "ResourceName" matches "PendingReboot"" name="DscResource.Throws when "TestDscResource" fails and "ResourceName" matches "PendingReboot"" time="0.038" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns Uri when specified" name="DscResource.Returns Uri when specified" time="0.07" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns latest package Uri when "RequiredVersion" is not specified" name="DscResource.Returns latest package Uri when "RequiredVersion" is not specified" time="0.0321" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "RequiredVersion" when "MinimumVersion" and "RequiredVersion" are specified" name="DscResource.Returns "RequiredVersion" when "MinimumVersion" and "RequiredVersion" are specified" time="0.0319" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "System.IO.DirectoryInfo" object type" name="DscResource.Returns "System.IO.DirectoryInfo" object type" time="0.1329" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "InvokeDscResourceDownloadFromPSGallery" when PSGallery module exists" name="DscResource.Does not call "InvokeDscResourceDownloadFromPSGallery" when PSGallery module exists" time="0.0332" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResourceDownloadFromPSGallery" when PSGallery module exists and "Force" is specified" name="DscResource.Calls "InvokeDscResourceDownloadFromPSGallery" when PSGallery module exists and "Force" is specified" time="0.0494" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResourceDownloadFromPSGallery" when PSGallery module does not exist" name="DscResource.Calls "InvokeDscResourceDownloadFromPSGallery" when PSGallery module does not exist" time="0.0364" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "InvokeDscResourceDownloadFromGitHub" when GitHub module exists" name="DscResource.Does not call "InvokeDscResourceDownloadFromGitHub" when GitHub module exists" time="0.0483" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResourceDownloadFromGitHub" when GitHub module exists and "Force" is specified" name="DscResource.Calls "InvokeDscResourceDownloadFromGitHub" when GitHub module exists and "Force" is specified" time="0.0504" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResourceDownloadFromGitHub" when GitHub module does not exist" name="DscResource.Calls "InvokeDscResourceDownloadFromGitHub" when GitHub module does not exist" time="0.038" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "System.IO.DirectoryInfo" object type" name="DscResource.Returns "System.IO.DirectoryInfo" object type" time="0.1898" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetResourceDownload" to download module" name="DscResource.Calls "SetResourceDownload" to download module" time="0.0433" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandZipArchive" to extract module" name="DscResource.Calls "ExpandZipArchive" to extract module" time="0.0495" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandZipArchive" with "Force" when specified" name="DscResource.Calls "ExpandZipArchive" with "Force" when specified" time="0.0718" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResourceDownloadFromPSGallery" when GitHubRepository module is not found" name="DscResource.Calls "InvokeDscResourceDownloadFromPSGallery" when GitHubRepository module is not found" time="0.1402" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Imports "GitHubRepository" module " name="DscResource.Imports "GitHubRepository" module " time="0.0369" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Install-GitHubRepository"" name="DscResource.Calls "Install-GitHubRepository"" time="0.0335" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Install-GitHubRepository" with "Force" when specified" name="DscResource.Calls "Install-GitHubRepository" with "Force" when specified" time="0.0484" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Internal" executed="True" result="Success" success="True" time="1.1677" asserts="0" description="Internal"> <results> <test-case description="Resolves existing home path" name="Internal.Resolves existing home path" time="0.275" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves non-existent home path" name="Internal.Resolves non-existent home path" time="0.0341" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Start-Process" with correct process path" name="Internal.Calls "Start-Process" with correct process path" time="0.115" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Start-Process" with correct arguments" name="Internal.Calls "Start-Process" with correct arguments" time="0.0405" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Waits for "Start-Process" to exit" name="Internal.Waits for "Start-Process" to exit" time="0.0361" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns when process exits with non-zero exit code" name="Internal.Warns when process exits with non-zero exit code" time="0.0504" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return call stack information when "$labDefaults.CallStackLogging" = "$null"" name="Internal.Does not return call stack information when "$labDefaults.CallStackLogging" = "$null"" time="0.0637" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return call stack information when "$labDefaults.CallStackLogging" = "$false"" name="Internal.Does not return call stack information when "$labDefaults.CallStackLogging" = "$false"" time="0.0246" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns call stack information when "$labDefaults.CallStackLogging" = "$true"" name="Internal.Returns call stack information when "$labDefaults.CallStackLogging" = "$true"" time="0.0451" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetFormattedMessage" method" name="Internal.Calls "GetFormattedMessage" method" time="0.0862" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Write-Verbose" method with test message" name="Internal.Calls "Write-Verbose" method with test message" time="0.0569" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetFormattedMessage" method" name="Internal.Calls "GetFormattedMessage" method" time="0.1074" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Write-Warning" method with test message" name="Internal.Calls "Write-Warning" method with test message" time="0.0527" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Collections.Hashtable" object" name="Internal.Returns a "System.Collections.Hashtable" object" time="0.0849" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Converts property value types correctly" name="Internal.Converts property value types correctly" time="0.0308" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Ignores "$null" values when specified" name="Internal.Ignores "$null" values when specified" time="0.0318" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Converts nested "PSCustomObject" types to a hashtable" name="Internal.Converts nested "PSCustomObject" types to a hashtable" time="0.0325" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Resource" executed="True" result="Success" success="True" time="1.7553" asserts="0" description="Resource"> <results> <test-case description="Returns a "System.IO.DirectoryInfo" object if target "Path" already exists" name="Resource.Returns a "System.IO.DirectoryInfo" object if target "Path" already exists" time="0.3094" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.IO.DirectoryInfo" object if target "Path" does not exist" name="Resource.Returns a "System.IO.DirectoryInfo" object if target "Path" does not exist" time="0.0351" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates target "Path" if it does not exist" name="Resource.Creates target "Path" if it does not exist" time="0.0316" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.IO.DirectoryInfo" object if target "DirectoryInfo" already exists" name="Resource.Returns a "System.IO.DirectoryInfo" object if target "DirectoryInfo" already exists" time="0.0308" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.IO.DirectoryInfo" object if target "DirectoryInfo" does not exist" name="Resource.Returns a "System.IO.DirectoryInfo" object if target "DirectoryInfo" does not exist" time="0.0378" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates target "DirectoryInfo" if it does not exist" name="Resource.Creates target "DirectoryInfo" if it does not exist" time="0.0328" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "System.Collections.Hashtable" type" name="Resource.Returns "System.Collections.Hashtable" type" time="0.0884" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns empty checksum if resource does not exist" name="Resource.Returns empty checksum if resource does not exist" time="0.0377" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns correct checksum if resource and checksum files exist" name="Resource.Returns correct checksum if resource and checksum files exist" time="0.0295" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns correct checksum if resource exists but checksum does not exist" name="Resource.Returns correct checksum if resource exists but checksum does not exist" time="0.0866" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns incorrect checksum if incorrect resource and checksum files exist" name="Resource.Returns incorrect checksum if incorrect resource and checksum files exist" time="0.0394" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns incorrect checksum if incorrect resource exists but checksum does not exist" name="Resource.Returns incorrect checksum if incorrect resource exists but checksum does not exist" time="0.0343" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns true if resource exists but no checksum was specified" name="Resource.Returns true if resource exists but no checksum was specified" time="0.1032" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns true if resource exists and checksum is correct" name="Resource.Returns true if resource exists and checksum is correct" time="0.0479" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false if resource does not exist" name="Resource.Returns false if resource does not exist" time="0.0371" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false if resource exists but checksum is incorrect" name="Resource.Returns false if resource exists but checksum is incorrect" time="0.0359" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeWebClientDownload" with specified Uri" name="Resource.Calls "InvokeWebClientDownload" with specified Uri" time="0.123" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeWebClientDownload" with specified destination Path" name="Resource.Calls "InvokeWebClientDownload" with specified destination Path" time="0.0544" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeWebClientDownload" with default 64KB buffer size" name="Resource.Calls "InvokeWebClientDownload" with default 64KB buffer size" time="0.0633" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeWebClientDownload" with 1MB buffer size for file resource" name="Resource.Calls "InvokeWebClientDownload" with 1MB buffer size for file resource" time="0.057" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates checksum file after download" name="Resource.Creates checksum file after download" time="0.1116" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates target parent directory if it does not exist" name="Resource.Creates target parent directory if it does not exist" time="0.0683" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Management.Automation.PSCustomObject" type" name="Resource.Returns a "System.Management.Automation.PSCustomObject" type" time="0.1" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetResourceDownload" if "TestResourceDownload" fails" name="Resource.Calls "SetResourceDownload" if "TestResourceDownload" fails" time="0.0479" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetResourceDownload" if "TestResourceDownload" passes but -Force was specified" name="Resource.Calls "SetResourceDownload" if "TestResourceDownload" passes but -Force was specified" time="0.0507" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "SetResourceDownload" if "TestResourceDownload" passes" name="Resource.Does not call "SetResourceDownload" if "TestResourceDownload" passes" time="0.0618" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="UnattendXml" executed="True" result="Success" success="True" time="0.9165" asserts="0" description="UnattendXml"> <results> <test-case description="Returns a "System.Xml.XmlDocument" type" name="UnattendXml.Returns a "System.Xml.XmlDocument" type" time="0.3251" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates equal number of "x86" and "amd64" components" name="UnattendXml.Creates equal number of "x86" and "amd64" components" time="0.0362" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets encoded Administrator password" name="UnattendXml.Sets encoded Administrator password" time="0.0488" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets timezone" name="UnattendXml.Sets timezone" time="0.0401" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets Input locale" name="UnattendXml.Sets Input locale" time="0.0416" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets System locale" name="UnattendXml.Sets System locale" time="0.0451" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets UI language" name="UnattendXml.Sets UI language" time="0.0734" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets User locale" name="UnattendXml.Sets User locale" time="0.0597" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets computer name" name="UnattendXml.Sets computer name" time="0.0494" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets product key" name="UnattendXml.Sets product key" time="0.0405" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds single synchronous command" name="UnattendXml.Adds single synchronous command" time="0.0353" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds multiple synchronous commands" name="UnattendXml.Adds multiple synchronous commands" time="0.0295" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Saves Xml file to disk" name="UnattendXml.Saves Xml file to disk" time="0.0917" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="VirtualMachine" executed="True" result="Success" success="True" time="1.4628" asserts="0" description="VirtualMachine"> <results> <test-case description="Returns generation 1 VM for x86 media architecture" name="VirtualMachine.Returns generation 1 VM for x86 media architecture" time="0.317" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns generation 2 VM for x64 media architecture" name="VirtualMachine.Returns generation 2 VM for x64 media architecture" time="0.0486" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns generation 1 VM when custom "MBR" partition style is defined" name="VirtualMachine.Returns generation 1 VM when custom "MBR" partition style is defined" time="0.0649" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns generation 2 VM when custom "GPT" partition style is defined" name="VirtualMachine.Returns generation 2 VM when custom "GPT" partition style is defined" time="0.0555" 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="VirtualMachine.Returns generation 1 VM when image generation is "VHD", but media "x64" and partition style is "GPT"" time="0.0601" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns additional "VhdPath" property" name="VirtualMachine.Returns additional "VhdPath" property" time="0.0597" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns additional "RestartIfNeeded" property" name="VirtualMachine.Returns additional "RestartIfNeeded" property" time="0.0555" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return "Media" property" name="VirtualMachine.Does not return "Media" property" time="0.0548" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return "EnableGuestService" property by default" name="VirtualMachine.Does not return "EnableGuestService" property by default" time="0.0551" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "EnableGuestService" property when "GuestIntegrationServices" is specified" name="VirtualMachine.Returns "EnableGuestService" property when "GuestIntegrationServices" is specified" time="0.0759" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Imports Hyper-V DSC resource" name="VirtualMachine.Imports Hyper-V DSC resource" time="0.1253" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns true when VM matches specified configuration" name="VirtualMachine.Returns true when VM matches specified configuration" time="0.0549" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false when VM does not match specified configuration" name="VirtualMachine.Returns false when VM does not match specified configuration" time="0.0507" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false when error is thrown" name="VirtualMachine.Returns false when error is thrown" time="0.0634" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Imports Hyper-V DSC resource" name="VirtualMachine.Imports Hyper-V DSC resource" time="0.1158" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes Hyper-V DSC resource" name="VirtualMachine.Invokes Hyper-V DSC resource" time="0.0522" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Imports Hyper-V DSC resource" name="VirtualMachine.Imports Hyper-V DSC resource" time="0.1026" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes Hyper-V DSC resource" name="VirtualMachine.Invokes Hyper-V DSC resource" time="0.0509" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="WindowsImage" executed="True" result="Success" success="True" time="1.4436" asserts="0" description="WindowsImage"> <results> <test-case description="Mounts ISO image" name="WindowsImage.Mounts ISO image" time="0.5034" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not Mount WIM image" name="WindowsImage.Does not Mount WIM image" time="0.0453" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetWindowsImageIndex" method when passing "WimImageName"" name="WindowsImage.Calls "GetWindowsImageIndex" method when passing "WimImageName"" time="0.0844" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Expand-WindowsImage" with specified "WimImageIndex"" name="WindowsImage.Calls "Expand-WindowsImage" with specified "WimImageIndex"" time="0.0906" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Expand-WindowsImage" with custom "WimPath"" name="WindowsImage.Calls "Expand-WindowsImage" with custom "WimPath"" time="0.0894" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Dismounts ISO image" name="WindowsImage.Dismounts ISO image" time="0.0812" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not dismount WIM image" name="WindowsImage.Does not dismount WIM image" time="0.0507" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "AddWindowsOptionalFeature" when "WindowsOptionalFeature" is defined" name="WindowsImage.Calls "AddWindowsOptionalFeature" when "WindowsOptionalFeature" is defined" time="0.0984" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "AddWindowsOptionalFeature" with custom "SourcePath"" name="WindowsImage.Calls "AddWindowsOptionalFeature" with custom "SourcePath"" time="0.0693" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Int32" type" name="WindowsImage.Returns a "System.Int32" type" time="0.1076" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns the matching image index if found" name="WindowsImage.Returns the matching image index if found" time="0.036" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns nothing when image index is not found" name="WindowsImage.Returns nothing when image index is not found" time="0.0388" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.String" type" name="WindowsImage.Returns a "System.String" type" time="0.0748" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns the matching image name" name="WindowsImage.Returns the matching image name" time="0.036" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns nothing when image name is not found" name="WindowsImage.Returns nothing when image name is not found" time="0.0378" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Lab" executed="True" result="Success" success="True" time="2.5054" asserts="0" description="Lab"> <results> <test-case description="Starts all VMs with matching boot order" name="Lab.Starts all VMs with matching boot order" time="0.5226" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Starts all VMs with differing boot orders individually" name="Lab.Starts all VMs with differing boot orders individually" time="0.1101" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Starts VM using display name" name="Lab.Starts VM using display name" time="0.0855" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Starts VMs in boot order" name="Lab.Starts VMs in boot order" time="0.1178" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Start-Sleep" if a zero boot delay is specified" name="Lab.Does not call "Start-Sleep" if a zero boot delay is specified" time="0.0664" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops all VMs with matching boot order" name="Lab.Stops all VMs with matching boot order" time="0.1488" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops all VMs with differing boot orders individually" name="Lab.Stops all VMs with differing boot orders individually" time="0.1093" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops VM using display name" name="Lab.Stops VM using display name" time="0.091" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Stops VMs in boot order" name="Lab.Stops VMs in boot order" time="0.1024" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Stop-VM" with "Force"" name="Lab.Calls "Stop-VM" with "Force"" time="0.0762" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Start-Sleep" if a zero boot delay is specified" name="Lab.Does not call "Start-Sleep" if a zero boot delay is specified" time="0.0637" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Restore-Lab" with -Force switch" name="Lab.Calls "Restore-Lab" with -Force switch" time="0.0865" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Snapshots VMs when powered off" name="Lab.Snapshots VMs when powered off" time="0.1468" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Snapshots VM using display name" name="Lab.Snapshots VM using display name" time="0.0487" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors when there is one running VM" name="Lab.Errors when there is one running VM" time="0.0728" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors when there are multiple running VMs" name="Lab.Errors when there are multiple running VMs" time="0.0785" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Snapshots VMs when there are running VMs and -Force is specified" name="Lab.Snapshots VMs when there are running VMs and -Force is specified" time="0.0796" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Restores specified snapshot when VMs are powered off" name="Lab.Restores specified snapshot when VMs are powered off" time="0.2107" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Restores VM snapshot using display name" name="Lab.Restores VM snapshot using display name" time="0.0743" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors when there is a running VM" name="Lab.Errors when there is a running VM" time="0.094" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Restores specified snapshot when there are running VMs and -Force is specified" name="Lab.Restores specified snapshot when there are running VMs and -Force is specified" time="0.1199" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabConfiguration" executed="True" result="Success" success="True" time="1.2661" asserts="0" description="LabConfiguration"> <results> <test-case description="Calls "Test-LabVM" for each node" name="LabConfiguration.Calls "Test-LabVM" for each node" time="0.328" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if path is invalid" name="LabConfiguration.Throws if path is invalid" time="0.0881" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw if ".mof" and ".meta.mof" files exist" name="LabConfiguration.Does not throw if ".mof" and ".meta.mof" files exist" time="0.0525" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if ".mof" file is missing" name="LabConfiguration.Throws if ".mof" file is missing" time="0.0504" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns if ".meta.mof" file is missing" name="LabConfiguration.Warns if ".meta.mof" file is missing" time="0.0485" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns if ".mof" file is missing but -SkipMofCheck is specified" name="LabConfiguration.Warns if ".mof" file is missing but -SkipMofCheck is specified" time="0.0507" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws is "Test-LabHostConfiguration" fails" name="LabConfiguration.Throws is "Test-LabHostConfiguration" fails" time="0.1319" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if path is invalid" name="LabConfiguration.Throws if path is invalid" time="0.0611" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "NewLabVM" if node is not configured" name="LabConfiguration.Calls "NewLabVM" if node is not configured" time="0.1717" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "NewLabVM" if node is configured" name="LabConfiguration.Does not call "NewLabVM" if node is configured" time="0.0652" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "NewLabVM" if node is configured but -Force is specified" name="LabConfiguration.Calls "NewLabVM" if node is configured but -Force is specified" time="0.0765" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "RemoveLabVM" for each node" name="LabConfiguration.Calls "RemoveLabVM" for each node" time="0.1416" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabHostConfiguration" executed="True" result="Success" success="True" time="1.3744" asserts="0" description="LabHostConfiguration"> <results> <test-case description="Installs "Microsoft-Hyper-V-All" feature with "WindowsOptionalFeature" on a desktop OS" name="LabHostConfiguration.Installs "Microsoft-Hyper-V-All" feature with "WindowsOptionalFeature" on a desktop OS" time="0.3699" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Installs "Hyper-V" feature using "WindowsFeature" on a server OS" name="LabHostConfiguration.Installs "Hyper-V" feature using "WindowsFeature" on a server OS" time="0.0443" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Installs "RSAT-Hyper-V-Tools" feature using "WindowsFeature" on a server OS" name="LabHostConfiguration.Installs "RSAT-Hyper-V-Tools" feature using "WindowsFeature" on a server OS" time="0.0322" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Checks for a pending reboot" name="LabHostConfiguration.Checks for a pending reboot" time="0.0372" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ImportDscResource once for each host configuration item" name="LabHostConfiguration.Calls "ImportDscResource once for each host configuration item" time="0.1321" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetDscResource once for each host configuration item" name="LabHostConfiguration.Calls "GetDscResource once for each host configuration item" time="0.0481" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when target paths exist" name="LabHostConfiguration.Passes when target paths exist" time="0.1981" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when a target path does not exist" name="LabHostConfiguration.Fails when a target path does not exist" time="0.0352" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when host configuration is correct" name="LabHostConfiguration.Passes when host configuration is correct" time="0.0758" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when host configuration is incorrect" name="LabHostConfiguration.Fails when host configuration is incorrect" time="0.0596" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when host configuration has a pending reboot" name="LabHostConfiguration.Fails when host configuration has a pending reboot" time="0.0629" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when host configuration has a pending reboot but -IgnorePendingReboot is specified" name="LabHostConfiguration.Passes when host configuration has a pending reboot but -IgnorePendingReboot is specified" time="0.0694" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not attempt to create an empty path" name="LabHostConfiguration.Does not attempt to create an empty path" time="0.0907" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "NewDirectory" for each path" name="LabHostConfiguration.Calls "NewDirectory" for each path" time="0.0541" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResource" for each host configuration item" name="LabHostConfiguration.Calls "InvokeDscResource" for each host configuration item" time="0.0647" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabHostDefaults" executed="True" result="Success" success="True" time="0.8749" asserts="0" description="LabHostDefaults"> <results> <test-case description="Calls "GetConfigurationData"" name="LabHostDefaults.Calls "GetConfigurationData"" time="0.226" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns host configuration path" name="LabHostDefaults.Returns host configuration path" time="0.0744" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves path containing an environment variable" name="LabHostDefaults.Resolves path containing an environment variable" time="0.1223" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'ConfigurationPath' parameter" name="LabHostDefaults.Calls 'Set-LabDefaults' with passed 'ConfigurationPath' parameter" time="0.0813" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'DifferencingVhdPath' parameter" name="LabHostDefaults.Calls 'Set-LabDefaults' with passed 'DifferencingVhdPath' parameter" time="0.0656" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'HotfixPath' parameter" name="LabHostDefaults.Calls 'Set-LabDefaults' with passed 'HotfixPath' parameter" time="0.0575" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'IsoPath' parameter" name="LabHostDefaults.Calls 'Set-LabDefaults' with passed 'IsoPath' parameter" time="0.048" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'ParentVhdPath' parameter" name="LabHostDefaults.Calls 'Set-LabDefaults' with passed 'ParentVhdPath' parameter" time="0.0578" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls 'Set-LabDefaults' with passed 'ResourcePath' parameter" name="LabHostDefaults.Calls 'Set-LabDefaults' with passed 'ResourcePath' parameter" time="0.0519" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Set-LabDefaults" with passed "ResourceShareName" parameter" name="LabHostDefaults.Calls "Set-LabDefaults" with passed "ResourceShareName" parameter" time="0.0486" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when passed an invalid path" name="LabHostDefaults.Throws when passed an invalid path" time="0.0416" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabImage" executed="True" result="Success" success="True" time="2.7451" asserts="0" description="LabImage"> <results> <test-case description="Returns null when there is no parent image when Id specified" name="LabImage.Returns null when there is no parent image when Id specified" time="0.2929" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns null when there is are no parent images" name="LabImage.Returns null when there is are no parent images" time="0.0508" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all available parent images when no Id is specified" name="LabImage.Returns all available parent images when no Id is specified" time="0.0658" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a single parent image when Id specified" name="LabImage.Returns a single parent image when Id specified" time="0.0565" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns image generation 'VHD' for VHD file" name="LabImage.Returns image generation 'VHD' for VHD file" time="0.0639" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns image generation 'VHDX' for VHDX file" name="LabImage.Returns image generation 'VHDX' for VHDX file" time="0.0408" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when parent image is found" name="LabImage.Passes when parent image is found" time="0.08" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when parent image is not found" name="LabImage.Fails when parent image is not found" time="0.0389" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if image already exists" name="LabImage.Throws if image already exists" time="0.1441" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Deletes parent VHDX when image creation fails" name="LabImage.Deletes parent VHDX when image creation fails" time="0.135" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Deletes existing image if it already exists and -Force is specified" name="LabImage.Deletes existing image if it already exists and -Force is specified" time="0.1759" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeLabMediaImageDownload" to download ISO media (if not present)" name="LabImage.Calls "InvokeLabMediaImageDownload" to download ISO media (if not present)" time="0.1141" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "NewDiskImage" with -PassThru to leave VHDX mounted" name="LabImage.Calls "NewDiskImage" with -PassThru to leave VHDX mounted" time="0.11" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses "GPT" partition style for x64 media" name="LabImage.Uses "GPT" partition style for x64 media" time="0.1358" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses "MBR" partition style for x86 media" name="LabImage.Uses "MBR" partition style for x86 media" time="0.1222" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses custom partition style when specified" name="LabImage.Uses custom partition style when specified" time="0.1207" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandWindowsImage" with the media WIM image name" name="LabImage.Calls "ExpandWindowsImage" with the media WIM image name" time="0.1505" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandWindowsImage" with the media WIM image index" name="LabImage.Calls "ExpandWindowsImage" with the media WIM image index" time="0.1396" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandWindowsImage" with "WindowsOptionalFeature"" name="LabImage.Calls "ExpandWindowsImage" with "WindowsOptionalFeature"" time="0.1214" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandWindowsImage" with "WimPath"" name="LabImage.Calls "ExpandWindowsImage" with "WimPath"" time="0.1223" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandWindowsImage" with "SourcePath"" name="LabImage.Calls "ExpandWindowsImage" with "SourcePath"" time="0.1016" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "AddDiskImageHotfix" to inject hotfixes" name="LabImage.Calls "AddDiskImageHotfix" to inject hotfixes" time="0.1299" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetDiskImageBootVolume" to configure boot volume" name="LabImage.Calls "SetDiskImageBootVolume" to configure boot volume" time="0.1107" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Dismounts image" name="LabImage.Dismounts image" time="0.1216" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabMedia" executed="True" result="Success" success="True" time="2.3873" asserts="0" description="LabMedia"> <results> <test-case description="Does not throw with valid mandatory parameters" name="LabMedia.Does not throw with valid mandatory parameters" time="0.337" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws with an invalid Uri" name="LabMedia.Throws with an invalid Uri" time="0.0352" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "Id" parameter is missing" name="LabMedia.Throws when "Id" parameter is missing" time="0.0298" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "Filename" parameter is missing" name="LabMedia.Throws when "Filename" parameter is missing" time="0.0298" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "Architecture" parameter is missing" name="LabMedia.Throws when "Architecture" parameter is missing" time="0.0209" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "MediaType" parameter is missing" name="LabMedia.Throws when "MediaType" parameter is missing" time="0.0288" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "Uri" parameter is missing" name="LabMedia.Throws when "Uri" parameter is missing" time="0.0259" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "System.Management.Automation.PSCustomObject" object type" name="LabMedia.Returns "System.Management.Automation.PSCustomObject" object type" time="0.021" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates ProductKey custom entry when "ProductKey" is specified" name="LabMedia.Creates ProductKey custom entry when "ProductKey" is specified" time="0.0391" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if media Id cannot be resolved" name="LabMedia.Throws if media Id cannot be resolved" time="0.1049" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns configuration data media entry if it exists" name="LabMedia.Returns configuration data media entry if it exists" time="0.0661" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns default media if configuration data entry does not exist" name="LabMedia.Returns default media if configuration data entry does not exist" time="0.0386" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all built-in media when no "Id" is specified" name="LabMedia.Returns all built-in media when no "Id" is specified" time="0.0939" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a single matching built-in media when "Id" is specified" name="LabMedia.Returns a single matching built-in media when "Id" is specified" time="0.047" 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="LabMedia.Returns null if no built-in media is found when "Id" is specified" time="0.0467" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when media ISO has been downloaded" name="LabMedia.Passes when media ISO has been downloaded" time="0.1059" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when media ISO has not been downloaded" name="LabMedia.Fails when media ISO has not been downloaded" time="0.0457" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when media Id is not found" name="LabMedia.Fails when media Id is not found" time="0.0385" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.IO.FileInfo" object type" name="LabMedia.Returns a "System.IO.FileInfo" object type" time="0.0936" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "ParentVhdPath" if media type is "VHD"" name="LabMedia.Calls "InvokeResourceDownload" with "ParentVhdPath" if media type is "VHD"" time="0.0745" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "IsoPath" if media type is "ISO"" name="LabMedia.Calls "InvokeResourceDownload" with "IsoPath" if media type is "ISO"" time="0.0543" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "IsoPath" if media type is "WIM"" name="LabMedia.Calls "InvokeResourceDownload" with "IsoPath" if media type is "WIM"" time="0.0481" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "Force" parameter when specified" name="LabMedia.Calls "InvokeResourceDownload" with "Force" parameter when specified" time="0.0439" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with large "BufferSize" for file Uris" name="LabMedia.Calls "InvokeResourceDownload" with large "BufferSize" for file Uris" time="0.0607" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "InvokeResourceDownload" when "DisableLocalFileCaching" is enabled" name="LabMedia.Does not call "InvokeResourceDownload" when "DisableLocalFileCaching" is enabled" time="0.0546" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns source Uri when "DisableLocalFileCaching" is enabled" name="LabMedia.Returns source Uri when "DisableLocalFileCaching" is enabled" time="0.0497" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.IO.FileInfo" object type" name="LabMedia.Returns a "System.IO.FileInfo" object type" time="0.0981" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "Checksum" parameter when specified" name="LabMedia.Calls "InvokeResourceDownload" with "Checksum" parameter when specified" time="0.0422" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeResourceDownload" with "Force" parameter when specified" name="LabMedia.Calls "InvokeResourceDownload" with "Force" parameter when specified" time="0.0393" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when custom media type is "ISO" and OperatingSystem is "Linux"" name="LabMedia.Throws when custom media type is "ISO" and OperatingSystem is "Linux"" time="0.0911" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when custom media type is "WIM" and OperatingSystem is "Linux"" name="LabMedia.Throws when custom media type is "WIM" and OperatingSystem is "Linux"" time="0.0373" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when custom media type is "ISO" and "ImageName" is not specified" name="LabMedia.Throws when custom media type is "ISO" and "ImageName" is not specified" time="0.0435" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when custom media type is "WIM" and "ImageName" is not specified" name="LabMedia.Throws when custom media type is "WIM" and "ImageName" is not specified" time="0.0348" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when custom media already exists and "Force" is not specified" name="LabMedia.Throws when custom media already exists and "Force" is not specified" time="0.0581" 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="LabMedia.Does not throw when custom media type is "VHD" and "ImageName" is not specified" time="0.0791" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw when custom media already exists and "Force" is specified" name="LabMedia.Does not throw when custom media already exists and "Force" is specified" time="0.0718" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes existing custom media entry when 'Id' does exist" name="LabMedia.Removes existing custom media entry when 'Id' does exist" time="0.1196" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not remove any entries when custom media 'Id' doesn't exist" name="LabMedia.Does not remove any entries when custom media 'Id' doesn't exist" time="0.0382" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabNode" executed="True" result="Success" success="True" time="1.5871" asserts="0" description="LabNode"> <results> <test-case description="Passes when single DSC module exists" name="LabNode.Passes when single DSC module exists" time="0.3661" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when multiple DSC modules exist" name="LabNode.Passes when multiple DSC modules exist" time="0.0606" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when single DSC module does not exist" name="LabNode.Fails when single DSC module does not exist" time="0.0617" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when multiple DSC module does not exist" name="LabNode.Fails when multiple DSC module does not exist" time="0.09" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "TestModule" when "SkipDscCheck" specified" name="LabNode.Does not call "TestModule" when "SkipDscCheck" specified" time="0.0607" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when single resource exists" name="LabNode.Passes when single resource exists" time="0.0818" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when multiple resources exist" name="LabNode.Passes when multiple resources exist" time="0.0606" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when single resource does not exist" name="LabNode.Fails when single resource does not exist" time="0.069" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when multiple resource does not exist" name="LabNode.Fails when multiple resource does not exist" time="0.0724" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "TestLabLocalResource" when "SkipResourceCheck" specified" name="LabNode.Does not call "TestLabLocalResource" when "SkipResourceCheck" specified" time="0.0578" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when certificates are present" name="LabNode.Passes when certificates are present" time="0.0485" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when certificates are not present" name="LabNode.Fails when certificates are not present" time="0.0485" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "TestLabNodeCertificate" when "SkipCertificateCheck" specified" name="LabNode.Does not call "TestLabNodeCertificate" when "SkipCertificateCheck" specified" time="0.047" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws is node cannot be resolved" name="LabNode.Throws is node cannot be resolved" time="0.0627" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InstallLabNodeCertificates" name="LabNode.Calls "InstallLabNodeCertificates" time="0.1536" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResourceDownload" when DSC module does not exist" name="LabNode.Calls "InvokeDscResourceDownload" when DSC module does not exist" time="0.0963" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "InvokeDscResourceDownload" when DSC module exists" name="LabNode.Does not call "InvokeDscResourceDownload" when DSC module exists" time="0.0503" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Test-LabNodeConfiguration"" name="LabNode.Calls "Test-LabNodeConfiguration"" time="0.046" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws is node cannot be resolved" name="LabNode.Throws is node cannot be resolved" time="0.0535" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabResource" executed="True" result="Success" success="True" time="3.1527" asserts="0" description="LabResource"> <results> <test-case description="Passes when no resources are defined in the configuration data" name="LabResource.Passes when no resources are defined in the configuration data" time="0.271" 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="LabResource.Passes when all defined resources are present and "Id" parameter is not specified" time="0.0692" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when defined resource is present and "Id" parameter is specified" name="LabResource.Passes when defined resource is present and "Id" parameter is specified" time="0.0487" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when a resource is missing and "Id" parameter is not specified" name="LabResource.Fails when a resource is missing and "Id" parameter is not specified" time="0.0545" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when a resource is missing and "Id" parameter is specified" name="LabResource.Fails when a resource is missing and "Id" parameter is specified" time="0.0432" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses resource "Filename" property if specified" name="LabResource.Uses resource "Filename" property if specified" time="0.0425" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "TestResourceDownload" with "Checksum" parameter when defined" name="LabResource.Calls "TestResourceDownload" with "Checksum" parameter when defined" time="0.0465" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads all media when "MediaId" parameter is not specified" name="LabResource.Downloads all media when "MediaId" parameter is not specified" time="0.2893" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads only unique media when "MediaId" parameter is not specified" name="LabResource.Downloads only unique media when "MediaId" parameter is not specified" time="0.1159" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads single media when "MediaId" parameter is specified" name="LabResource.Downloads single media when "MediaId" parameter is specified" time="0.1228" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads all required hotfixes" name="LabResource.Downloads all required hotfixes" time="0.0727" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads all resources when "ResourceId" parameter is not specified" name="LabResource.Downloads all resources when "ResourceId" parameter is not specified" time="0.1032" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads single resource when "ResourceId" parameter is specified" name="LabResource.Downloads single resource when "ResourceId" parameter is specified" time="0.059" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads a single DSC resource" name="LabResource.Downloads a single DSC resource" time="0.0681" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Downloads multiple DSC resources" name="LabResource.Downloads multiple DSC resources" time="0.047" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses resource "Filename" property if specified" name="LabResource.Uses resource "Filename" property if specified" time="0.0651" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns resource record if "ResourceId" is found" name="LabResource.Returns resource record if "ResourceId" is found" time="0.096" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "ResourceId" is not found" name="LabResource.Throws if "ResourceId" is not found" time="0.0342" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Mounts ISO image read-only" name="LabResource.Mounts ISO image read-only" time="0.1632" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies ISO image contents to destination path recursively" name="LabResource.Copies ISO image contents to destination path recursively" time="0.1029" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Disounts ISO image" name="LabResource.Disounts ISO image" time="0.0688" 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="LabResource.Creates destination "Resources" directory if it does not exist on target file sytem" time="0.1017" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes "Invoke-LabResourceDownload" with "ResourceId" if resource is not found" name="LabResource.Invokes "Invoke-LabResourceDownload" with "ResourceId" if resource is not found" time="0.1334" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses resource "Filename" property if specified" name="LabResource.Uses resource "Filename" property if specified" time="0.0715" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies resource by default" name="LabResource.Copies resource by default" time="0.0771" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies resource to explicit target destination path" name="LabResource.Copies resource to explicit target destination path" time="0.0761" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandZipArchive" if "Expand" property is specified on a "ZIP" resource" name="LabResource.Calls "ExpandZipArchive" if "Expand" property is specified on a "ZIP" resource" time="0.084" 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="LabResource.Calls "ExpandZipArchive" to explicit target path when "Expand" is specified on a "ZIP" resource" time="0.0816" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandIsoResource" if "Expand" property is specified on an "ISO" resource" name="LabResource.Calls "ExpandIsoResource" if "Expand" property is specified on an "ISO" resource" time="0.0751" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandIsoResource" to explicit target path when "Expand" is specified on a "ISO" resource" name="LabResource.Calls "ExpandIsoResource" to explicit target path when "Expand" is specified on a "ISO" resource" time="0.0667" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "Expand" property is specified on an "EXE" resource" name="LabResource.Throws if "Expand" property is specified on an "EXE" resource" time="0.0731" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "System.Boolean" object type" name="LabResource.Returns "System.Boolean" object type" time="0.1135" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when local .EXE exists" name="LabResource.Passes when local .EXE exists" time="0.0455" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when local .EXE does not exist" name="LabResource.Fails when local .EXE does not exist" time="0.0358" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when local ISO folder exists" name="LabResource.Passes when local ISO folder exists" time="0.0312" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when local ISO folder does not exist" name="LabResource.Fails when local ISO folder does not exist" time="0.0299" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when local ZIP folder exists" name="LabResource.Passes when local ZIP folder exists" time="0.0189" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when local ZIP folder does not exist" name="LabResource.Fails when local ZIP folder does not exist" time="0.0199" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when local .EXE has "Expand" = "True"" name="LabResource.Throws when local .EXE has "Expand" = "True"" time="0.0336" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabSwitch" executed="True" result="Success" success="True" time="1.6979" asserts="0" description="LabSwitch"> <results> <test-case description="Returns a "System.Collections.Hashtable" object type" name="LabSwitch.Returns a "System.Collections.Hashtable" object type" time="0.2343" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when switch type is "External" and "NetAdapterName" is not specified" name="LabSwitch.Throws when switch type is "External" and "NetAdapterName" is not specified" time="0.0364" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes "NetAdapterName" if switch type is not "External"" name="LabSwitch.Removes "NetAdapterName" if switch type is not "External"" time="0.0315" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes "AllowManagementOS" if switch type is not "External"" name="LabSwitch.Removes "AllowManagementOS" if switch type is not "External"" time="0.0278" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Collections.Hashtable" object type" name="LabSwitch.Returns a "System.Collections.Hashtable" object type" time="0.1032" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns specified network switch from configuration data if defined" name="LabSwitch.Returns specified network switch from configuration data if defined" time="0.6467" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns existing "External" switch if "Name" cannot be resolved" name="LabSwitch.Returns existing "External" switch if "Name" cannot be resolved" time="0.0986" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a default "Internal" switch if the switch cannot be resolved" name="LabSwitch.Returns a default "Internal" switch if the switch cannot be resolved" time="0.0355" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when network switch is found" name="LabSwitch.Passes when network switch is found" time="0.1638" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when an existing switch is found" name="LabSwitch.Passes when an existing switch is found" time="0.0438" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when network switch is not found" name="LabSwitch.Fails when network switch is not found" time="0.0456" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResource"" name="LabSwitch.Calls "InvokeDscResource"" time="0.0772" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "InvokeDscResource" for an existing switch" name="LabSwitch.Does not call "InvokeDscResource" for an existing switch" time="0.032" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResource" with "Ensure" = "Absent"" name="LabSwitch.Calls "InvokeDscResource" with "Ensure" = "Absent"" time="0.0844" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "InvokeDscResource" for an existing switch" name="LabSwitch.Does not call "InvokeDscResource" for an existing switch" time="0.0372" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabVM" executed="True" result="Success" success="True" time="4.7354" asserts="0" description="LabVM"> <results> <test-case description="Returns a "System.Collections.Hashtable" object type" name="LabVM.Returns a "System.Collections.Hashtable" object type" time="0.3361" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns node-specific configuration data when present" name="LabVM.Returns node-specific configuration data when present" time="0.0436" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns node-specific configuration data when present and "NoEnumerateWildcardNode" is specified" name="LabVM.Returns node-specific configuration data when present and "NoEnumerateWildcardNode" is specified" time="0.0321" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns wildcard node when node-specific data is not defined" name="LabVM.Returns wildcard node when node-specific data is not defined" time="0.0264" 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="LabVM.Returns default when "NoEnumerateWildcardNode" is specified and node-specific data is not defined" time="0.032" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns default if wildcard and node-specific data is not present" name="LabVM.Returns default if wildcard and node-specific data is not present" time="0.0315" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Lability_" specific properties over generic properties" name="LabVM.Returns "Lability_" specific properties over generic properties" time="0.033" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Management.Automation.PSCustomObject" object type" name="LabVM.Returns a "System.Management.Automation.PSCustomObject" object type" time="0.0853" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns specific node when "Name" is specified" name="LabVM.Returns specific node when "Name" is specified" time="0.0462" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns all nodes when "Name" is not specified" name="LabVM.Returns all nodes when "Name" is not specified" time="0.0634" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Errors when node cannot be found" name="LabVM.Errors when node cannot be found" time="0.0559" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Boolean" object type" name="LabVM.Returns a "System.Boolean" object type" time="0.1425" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a result for each VM when "Name" is not specified" name="LabVM.Returns a result for each VM when "Name" is not specified" time="0.0731" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when VM is configured correctly" name="LabVM.Passes when VM is configured correctly" time="0.0539" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when image is invalid" name="LabVM.Fails when image is invalid" time="0.061" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when switch configuration is incorrect" name="LabVM.Fails when switch configuration is incorrect" time="0.1822" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when VM disk configuration is invalid" name="LabVM.Fails when VM disk configuration is invalid" time="0.0621" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when VM configuration is incorrect" name="LabVM.Fails when VM configuration is incorrect" time="0.0865" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "ClientCertificatePath" cannot be found" name="LabVM.Throws when "ClientCertificatePath" cannot be found" time="0.1209" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw when "ClientCertificatePath" cannot be found and "IsQuickVM" = "$true"" name="LabVM.Does not throw when "ClientCertificatePath" cannot be found and "IsQuickVM" = "$true"" time="0.1862" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "RootCertificatePath" cannot be found" name="LabVM.Throws when "RootCertificatePath" cannot be found" time="0.0467" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw when "RootCertificatePath" cannot be found and "IsQuickVM" = "$true"" name="LabVM.Does not throw when "RootCertificatePath" cannot be found and "IsQuickVM" = "$true"" time="0.0915" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates parent image if it is not already present" name="LabVM.Creates parent image if it is not already present" time="0.1012" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabSwitch" to configure VM switch" name="LabVM.Calls "SetLabSwitch" to configure VM switch" time="0.099" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetLabSwitch" once per network switch" name="LabVM.Calls "SetLabSwitch" once per network switch" time="0.0945" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ResetLabVMDisk" to create VM disk" name="LabVM.Calls "ResetLabVMDisk" to create VM disk" time="0.0944" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates virtual machine" name="LabVM.Creates virtual machine" time="0.1078" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates virtual machine with "GuestIntegrationServices" when specified" name="LabVM.Creates virtual machine with "GuestIntegrationServices" when specified" time="0.1239" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not inject resources when "OperatingSystem" is "Linux"" name="LabVM.Does not inject resources when "OperatingSystem" is "Linux"" time="0.1292" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Injects VM DSC custom resources" name="LabVM.Injects VM DSC custom resources" time="0.1143" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Injects VM DSC resources and certificates" name="LabVM.Injects VM DSC resources and certificates" time="0.1076" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Uses CoreCLR bootstrap when "SetupComplete" is specified" name="LabVM.Uses CoreCLR bootstrap when "SetupComplete" is specified" time="0.116" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Injects a custom bootstrap when "CustomBootStrap" is specified" name="LabVM.Injects a custom bootstrap when "CustomBootStrap" is specified" time="0.1242" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a VM snapshot by default" name="LabVM.Creates a VM snapshot by default" time="0.1093" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not create a snapshot when "NoSnapshot" is specified" name="LabVM.Does not create a snapshot when "NoSnapshot" is specified" time="0.1018" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Writes warning when VM "WarningMessage" is defined" name="LabVM.Writes warning when VM "WarningMessage" is defined" time="0.1116" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns when no client or root certificate is used" name="LabVM.Warns when no client or root certificate is used" time="0.076" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when VM cannot be found" name="LabVM.Throws when VM cannot be found" time="0.0896" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes all snapshots" name="LabVM.Removes all snapshots" time="0.19" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes the virtual machine" name="LabVM.Removes the virtual machine" time="0.0648" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes the VHDX file" name="LabVM.Removes the VHDX file" time="0.0686" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not remove the virtual switch by default" name="LabVM.Does not remove the virtual switch by default" time="0.0605" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes the virtual switch when "RemoveSwitch" is specified" name="LabVM.Removes the virtual switch when "RemoveSwitch" is specified" time="0.0752" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes existing virtual machine" name="LabVM.Removes existing virtual machine" time="0.1387" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a new virtual machine" name="LabVM.Creates a new virtual machine" time="0.0865" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a new virtual machine without a snapshot when "NoSnapshot" is specified" name="LabVM.Creates a new virtual machine without a snapshot when "NoSnapshot" is specified" time="0.0828" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a new virtual machine" name="LabVM.Creates a new virtual machine" time="0.1701" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a new virtual machine without a snapshot when "NoSnapshot" is specified" name="LabVM.Creates a new virtual machine without a snapshot when "NoSnapshot" is specified" time="0.0788" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes existing virtual machine" name="LabVM.Removes existing virtual machine" time="0.1267" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabVMDefaults" executed="True" result="Success" success="True" time="2.0185" asserts="0" description="LabVMDefaults"> <results> <test-case description="Calls "RemoveConfigurationData" method" name="LabVMDefaults.Calls "RemoveConfigurationData" method" time="0.293" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a "System.Management.Automation.PSCustomObject" object type" name="LabVMDefaults.Returns a "System.Management.Automation.PSCustomObject" object type" time="0.0842" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return "BootOrder" property" name="LabVMDefaults.Does not return "BootOrder" property" time="0.0501" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return "BootOrder" property" name="LabVMDefaults.Does not return "BootOrder" property" time="0.1103" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "StartupMemory" value" name="LabVMDefaults.Sets "StartupMemory" value" time="0.0684" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "MinimumMemory" value" name="LabVMDefaults.Sets "MinimumMemory" value" time="0.0496" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "MaximumMemory" value" name="LabVMDefaults.Sets "MaximumMemory" value" time="0.0518" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "ProcessorCount" value" name="LabVMDefaults.Sets "ProcessorCount" value" time="0.0519" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "Media" value" name="LabVMDefaults.Sets "Media" value" time="0.0585" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "SwitchName" value" name="LabVMDefaults.Sets "SwitchName" value" time="0.0531" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "Timezone" value" name="LabVMDefaults.Sets "Timezone" value" time="0.0584" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "InputLocale" value" name="LabVMDefaults.Sets "InputLocale" value" time="0.0513" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "InputLocale" value" name="LabVMDefaults.Sets "InputLocale" value" time="0.0538" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "SystemLocale" value" name="LabVMDefaults.Sets "SystemLocale" value" time="0.0539" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "UILanguage" value" name="LabVMDefaults.Sets "UILanguage" value" time="0.0619" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "UserLocale" value" name="LabVMDefaults.Sets "UserLocale" value" time="0.061" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "RegisteredOwner" value" name="LabVMDefaults.Sets "RegisteredOwner" value" time="0.0486" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "RegisteredOrganization" value" name="LabVMDefaults.Sets "RegisteredOrganization" value" time="0.0444" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "BootDelay" value" name="LabVMDefaults.Sets "BootDelay" value" time="0.0593" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "CustomBootstrapOrder" value" name="LabVMDefaults.Sets "CustomBootstrapOrder" value" time="0.0543" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "GuestIntegrationServices" value" name="LabVMDefaults.Sets "GuestIntegrationServices" value" time="0.0573" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "ClientCertificatePath" value" name="LabVMDefaults.Sets "ClientCertificatePath" value" time="0.0597" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Sets "RootCertificatePath" value" name="LabVMDefaults.Sets "RootCertificatePath" value" time="0.0572" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "Timezone" cannot be resolved" name="LabVMDefaults.Throws if "Timezone" cannot be resolved" time="0.0545" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "ClientCertificatePath" file cannot be found" name="LabVMDefaults.Throws if "ClientCertificatePath" file cannot be found" time="0.0574" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "RootCertificatePath" file cannot be found" name="LabVMDefaults.Throws if "RootCertificatePath" file cannot be found" time="0.0547" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "StartupMemory" is less than "MinimumMemory"" name="LabVMDefaults.Throws if "StartupMemory" is less than "MinimumMemory"" time="0.0525" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "StartupMemory" is greater than "MaximumMemory"" name="LabVMDefaults.Throws if "StartupMemory" is greater than "MaximumMemory"" time="0.0551" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws if "Media" cannot be resolved" name="LabVMDefaults.Throws if "Media" cannot be resolved" time="0.0786" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "SetConfigurationData" to write data to disk" name="LabVMDefaults.Calls "SetConfigurationData" to write data to disk" time="0.0736" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabVMDisk" executed="True" result="Success" success="True" time="1.2316" asserts="0" description="LabVMDisk"> <results> <test-case description="Appends the VM's name to the host "DifferencingVhdPath"" name="LabVMDisk.Appends the VM's name to the host "DifferencingVhdPath"" time="0.3138" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabMedia" to resolve the parent VHDX path" name="LabVMDisk.Calls "Get-LabMedia" to resolve the parent VHDX path" time="0.12" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "GetDscResource" with virtual machine name" name="LabVMDisk.Calls "GetDscResource" with virtual machine name" time="0.0565" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabMedia" to resolve the parent VHDX path" name="LabVMDisk.Calls "Get-LabMedia" to resolve the parent VHDX path" time="0.1023" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "TestDscResource" with virtual machine name" name="LabVMDisk.Calls "TestDscResource" with virtual machine name" time="0.0693" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabMedia" to resolve the parent VHDX path" name="LabVMDisk.Calls "Get-LabMedia" to resolve the parent VHDX path" time="0.1141" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResource" with virtual machine name" name="LabVMDisk.Calls "InvokeDscResource" with virtual machine name" time="0.064" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-LabMedia" to resolve the parent VHDX path" name="LabVMDisk.Calls "Get-LabMedia" to resolve the parent VHDX path" time="0.1021" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "InvokeDscResource" with virtual "Ensure" = "Absent"" name="LabVMDisk.Calls "InvokeDscResource" with virtual "Ensure" = "Absent"" time="0.0733" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes any existing snapshots" name="LabVMDisk.Removes any existing snapshots" time="0.1027" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Removes the existing VHDX file" name="LabVMDisk.Removes the existing VHDX file" time="0.055" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates a new VHDX file" name="LabVMDisk.Creates a new VHDX file" time="0.0585" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabVMDiskFile" executed="True" result="Success" success="True" time="1.6793" asserts="0" description="LabVMDiskFile"> <results> <test-case description="Mounts virtual machine VHDX file" name="LabVMDiskFile.Mounts virtual machine VHDX file" time="0.3695" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "ExpandLabResource" to inject disk resource" name="LabVMDiskFile.Calls "ExpandLabResource" to inject disk resource" time="0.1058" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Dismounts virtual machine VHDX file" name="LabVMDiskFile.Dismounts virtual machine VHDX file" time="0.1092" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Mounts virtual machine VHDX file" name="LabVMDiskFile.Mounts virtual machine VHDX file" time="0.2565" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies DSC resources" name="LabVMDiskFile.Copies DSC resources" time="0.1081" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates "Unattend.xml" file" name="LabVMDiskFile.Creates "Unattend.xml" file" time="0.1101" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies default "BootStrap.ps1"" name="LabVMDiskFile.Copies default "BootStrap.ps1"" time="0.1156" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies "BootStrap.ps1" with a custom bootstrap when "CustomBootStrap" is specified" name="LabVMDiskFile.Copies "BootStrap.ps1" with a custom bootstrap when "CustomBootStrap" is specified" time="0.145" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies default "SetupComplete.cmd"" name="LabVMDiskFile.Copies default "SetupComplete.cmd"" time="0.1235" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Copies CoreCLR "SetupComplete.cmd"" name="LabVMDiskFile.Copies CoreCLR "SetupComplete.cmd"" time="0.1238" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Dismounts virtual machine VHDX file" name="LabVMDiskFile.Dismounts virtual machine VHDX file" time="0.1122" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="LabVMSnapshot" executed="True" result="Success" success="True" time="0.6305" asserts="0" description="LabVMSnapshot"> <results> <test-case description="Calls "Get-VMSnapshot" for each virtual machine specified" name="LabVMSnapshot.Calls "Get-VMSnapshot" for each virtual machine specified" time="0.2747" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Remove-VMSnapshot" for each virtual machine snapshot" name="LabVMSnapshot.Calls "Remove-VMSnapshot" for each virtual machine snapshot" time="0.0822" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Checkpoint-VM" for each virtual machine specified" name="LabVMSnapshot.Calls "Checkpoint-VM" for each virtual machine specified" time="0.0982" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-VMSnapshot" for each virtual machine specified" name="LabVMSnapshot.Calls "Get-VMSnapshot" for each virtual machine specified" time="0.1089" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Warns when snapshot name cannot be found" name="LabVMSnapshot.Warns when snapshot name cannot be found" time="0.0665" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </test-results> |