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="477" errors="0" failures="0" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2017-06-28" time="09:26:45"> <environment user="Iain" machine-name="OFFICEPC" cwd="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7" user-domain="OFFICEPC" platform="Microsoft Windows 10 Enterprise|C:\WINDOWS|\Device\Harddisk0\Partition4" nunit-version="2.5.8.0" os-version="10.0.15063" clr-version="4.0.30319.42000" /> <culture-info current-culture="en-GB" current-uiculture="en-GB" /> <test-suite type="TestFixture" name="Pester" executed="True" result="Success" success="True" time="22.3751" asserts="0" description="Pester"> <results> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7AccessPolicy.Tests.ps1" executed="True" result="Success" success="True" time="0.6994" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7AccessPolicy.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7AccessPolicy" executed="True" result="Success" success="True" time="0.6994" asserts="0" description="XenDesktop7\VE_XD7AccessPolicy"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.185" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7AccessPolicy.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1093" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7AccessPolicy.Get-TargetResource.Invokes script block without credentials by default" time="0.0232" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7AccessPolicy.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0264" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" snapin is registered" name="XenDesktop7\VE_XD7AccessPolicy.Get-TargetResource.Asserts "Citrix.Broker.Admin.V2" snapin is registered" time="0.026" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.5144" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Returns a System.Boolean type" time="0.0511" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when access policy mandatory parameters are correct" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Passes when access policy mandatory parameters are correct" time="0.0214" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when access policy 'DeliveryGroup' is correct" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Passes when access policy 'DeliveryGroup' is correct" time="0.0189" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when access policy 'Enabled' is correct" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Passes when access policy 'Enabled' is correct" time="0.0188" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when access policy 'AllowRestart' is correct" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Passes when access policy 'AllowRestart' is correct" time="0.019" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when access policy 'Name' is correct" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Passes when access policy 'Name' is correct" time="0.0187" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when access policy 'Description' is correct" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Passes when access policy 'Description' is correct" time="0.023" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when access policy 'IncludeUsers' is correct" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Passes when access policy 'IncludeUsers' is correct" time="0.0205" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when access policy 'ExcludeUsers' is correct" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Passes when access policy 'ExcludeUsers' is correct" time="0.0298" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when access policy 'Ensure' is correct" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Passes when access policy 'Ensure' is correct" time="0.0255" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when access policy 'DeliveryGroup' is incorrect" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Fails when access policy 'DeliveryGroup' is incorrect" time="0.0207" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when access policy 'Enabled' is incorrect" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Fails when access policy 'Enabled' is incorrect" time="0.0199" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when access policy 'AllowRestart' is incorrect" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Fails when access policy 'AllowRestart' is incorrect" time="0.0221" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when access policy 'Name' is incorrect" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Fails when access policy 'Name' is incorrect" time="0.0827" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when access policy 'Description' is incorrect" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Fails when access policy 'Description' is incorrect" time="0.0195" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when access policy 'IncludeUsers' is incorrect" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Fails when access policy 'IncludeUsers' is incorrect" time="0.0211" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when access policy 'ExcludeUsers' is incorrect" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Fails when access policy 'ExcludeUsers' is incorrect" time="0.0199" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when access policy 'AccessType' parameter is incorrect" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Fails when access policy 'AccessType' parameter is incorrect" time="0.02" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when access policy 'Protocol' parameter is incorrect" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Fails when access policy 'Protocol' parameter is incorrect" time="0.021" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when access policy 'Ensure' parameter is incorrect" name="XenDesktop7\VE_XD7AccessPolicy.Test-TargetResource.Fails when access policy 'Ensure' parameter is incorrect" time="0.0208" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0" asserts="0" description="Set-TargetResource"> <results /> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Administrator.Tests.ps1" executed="True" result="Success" success="True" time="0.9628" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Administrator.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7Administrator" executed="True" result="Success" success="True" time="0.9628" asserts="0" description="XenDesktop7\VE_XD7Administrator"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.2685" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7Administrator.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1555" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Defaults to "Ensure" = "Present"" name="XenDesktop7\VE_XD7Administrator.Get-TargetResource.Defaults to "Ensure" = "Present"" time="0.0259" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Administrator.Get-TargetResource.Invokes script block without credentials by default" time="0.0301" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Administrator.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0281" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.DelegatedAdmin.Admin.V1" snapin is registered" name="XenDesktop7\VE_XD7Administrator.Get-TargetResource.Asserts "Citrix.DelegatedAdmin.Admin.V1" snapin is registered" time="0.029" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.1562" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7Administrator.Test-TargetResource.Returns a System.Boolean type" time="0.0479" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when all properties are correct" name="XenDesktop7\VE_XD7Administrator.Test-TargetResource.Returns True when all properties are correct" time="0.025" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Enabled" property is incorrect, but "Ensure" = "Absent"" name="XenDesktop7\VE_XD7Administrator.Test-TargetResource.Returns True when "Enabled" property is incorrect, but "Ensure" = "Absent"" time="0.037" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Enabled" property is incorrect" name="XenDesktop7\VE_XD7Administrator.Test-TargetResource.Returns False when "Enabled" property is incorrect" time="0.0229" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" property is incorrect" name="XenDesktop7\VE_XD7Administrator.Test-TargetResource.Returns False when "Ensure" property is incorrect" time="0.0234" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.538" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls New-AdminAdministrator when administrator does not exist" name="XenDesktop7\VE_XD7Administrator.Set-TargetResource.Calls New-AdminAdministrator when administrator does not exist" time="0.1908" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls Set-AdminAdministrator when administrator does exist" name="XenDesktop7\VE_XD7Administrator.Set-TargetResource.Calls Set-AdminAdministrator when administrator does exist" time="0.119" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls Remove-AdminAdministrator when "Ensure" = "Absent"" name="XenDesktop7\VE_XD7Administrator.Set-TargetResource.Calls Remove-AdminAdministrator when "Ensure" = "Absent"" time="0.117" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Administrator.Set-TargetResource.Invokes script block without credentials by default" time="0.0508" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Administrator.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0329" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.DelegatedAdmin.Admin.V1" snapin is registered" name="XenDesktop7\VE_XD7Administrator.Set-TargetResource.Asserts "Citrix.DelegatedAdmin.Admin.V1" snapin is registered" time="0.0276" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Catalog.Tests.ps1" executed="True" result="Success" success="True" time="0.6548" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Catalog.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7Catalog" executed="True" result="Success" success="True" time="0.6548" asserts="0" description="XenDesktop7\VE_XD7Catalog"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.2415" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7Catalog.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1267" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw when machine catalog does not exist" name="XenDesktop7\VE_XD7Catalog.Get-TargetResource.Does not throw when machine catalog does not exist" time="0.0348" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Catalog.Get-TargetResource.Invokes script block without credentials by default" time="0.0269" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Catalog.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0264" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" snapin is registered" name="XenDesktop7\VE_XD7Catalog.Get-TargetResource.Asserts "Citrix.Broker.Admin.V2" snapin is registered" time="0.0267" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.4133" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Returns a System.Boolean type" time="0.0515" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when catalog mandatory parameters are correct" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Passes when catalog mandatory parameters are correct" time="0.0194" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when catalog 'IsMultiSession' is correct" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Passes when catalog 'IsMultiSession' is correct" time="0.0255" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when catalog 'Description' is correct" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Passes when catalog 'Description' is correct" time="0.0243" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when catalog 'PvsAddress' is correct" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Passes when catalog 'PvsAddress' is correct" time="0.0228" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when catalog 'PvsDomain' is correct" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Passes when catalog 'PvsDomain' is correct" time="0.0261" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when catalog 'Ensure' is correct" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Passes when catalog 'Ensure' is correct" time="0.0249" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when catalog 'Name' is incorrect" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Fails when catalog 'Name' is incorrect" time="0.0265" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when catalog 'IsMultiSession' is incorrect" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Fails when catalog 'IsMultiSession' is incorrect" time="0.0235" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when catalog 'Description' is incorrect" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Fails when catalog 'Description' is incorrect" time="0.0227" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when catalog 'PvsAddress' is incorrect" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Fails when catalog 'PvsAddress' is incorrect" time="0.0222" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when catalog 'PvsDomain' is incorrect" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Fails when catalog 'PvsDomain' is incorrect" time="0.0203" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when catalog 'Allocation' is incorrect" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Fails when catalog 'Allocation' is incorrect" time="0.0261" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when catalog 'Provisioning' is incorrect" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Fails when catalog 'Provisioning' is incorrect" time="0.0336" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when catalog 'Persistence' is incorrect" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Fails when catalog 'Persistence' is incorrect" time="0.0208" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when catalog 'Ensure' is incorrect" name="XenDesktop7\VE_XD7Catalog.Test-TargetResource.Fails when catalog 'Ensure' is incorrect" time="0.023" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7CatalogMachine.Tests.ps1" executed="True" result="Success" success="True" time="0.7008" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7CatalogMachine.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7CatalogMachine" executed="True" result="Success" success="True" time="0.7008" asserts="0" description="XenDesktop7\VE_XD7CatalogMachine"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.1888" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7CatalogMachine.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1075" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7CatalogMachine.Get-TargetResource.Invokes script block without credentials by default" time="0.0239" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7CatalogMachine.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0348" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" snapin is registered" name="XenDesktop7\VE_XD7CatalogMachine.Get-TargetResource.Asserts "Citrix.Broker.Admin.V2" snapin is registered" time="0.0226" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.105" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7CatalogMachine.Test-TargetResource.Returns a System.Boolean type" time="0.0512" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when catalog membership is correct" name="XenDesktop7\VE_XD7CatalogMachine.Test-TargetResource.Returns True when catalog membership is correct" time="0.0264" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when catalog membership is incorrect" name="XenDesktop7\VE_XD7CatalogMachine.Test-TargetResource.Returns False when catalog membership is incorrect" time="0.0274" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.407" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "New-BrokerMachine" when "Ensure" = "Present" and machine is registered, but not assigned" name="XenDesktop7\VE_XD7CatalogMachine.Set-TargetResource.Calls "New-BrokerMachine" when "Ensure" = "Present" and machine is registered, but not assigned" time="0.1185" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "New-BrokerMachine" when "Ensure" = "Present" and machine is registered and assigned" name="XenDesktop7\VE_XD7CatalogMachine.Set-TargetResource.Does not call "New-BrokerMachine" when "Ensure" = "Present" and machine is registered and assigned" time="0.0538" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is registered and assigned" name="XenDesktop7\VE_XD7CatalogMachine.Set-TargetResource.Calls "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is registered and assigned" time="0.0548" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is not assigned" name="XenDesktop7\VE_XD7CatalogMachine.Set-TargetResource.Does not call "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is not assigned" time="0.0506" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is assigned to another catalog" name="XenDesktop7\VE_XD7CatalogMachine.Set-TargetResource.Does not call "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is assigned to another catalog" time="0.0511" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7CatalogMachine.Set-TargetResource.Invokes script block without credentials by default" time="0.0254" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7CatalogMachine.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0271" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" snapin is registered" name="XenDesktop7\VE_XD7CatalogMachine.Set-TargetResource.Asserts "Citrix.Broker.Admin.V2" snapin is registered" time="0.0258" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Common.Tests.ps1" executed="True" result="Success" success="True" time="3.4332" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Common.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7Common" executed="True" result="Success" success="True" time="3.4332" asserts="0" description="XenDesktop7\VE_XD7Common"> <results> <test-suite type="TestFixture" name="AddInvokeScriptBlockCredentials" executed="True" result="Success" success="True" time="0.0968" asserts="0" description="AddInvokeScriptBlockCredentials"> <results> <test-case description="Adds "ComputerName" key" name="XenDesktop7\VE_XD7Common.AddInvokeScriptBlockCredentials.Adds "ComputerName" key" time="0.0716" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds "Authentication" key" name="XenDesktop7\VE_XD7Common.AddInvokeScriptBlockCredentials.Adds "Authentication" key" time="0.0117" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Adds "Credential" key" name="XenDesktop7\VE_XD7Common.AddInvokeScriptBlockCredentials.Adds "Credential" key" time="0.0134" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="GetXDBrokerMachine" executed="True" result="Success" success="True" time="0.1423" asserts="0" description="GetXDBrokerMachine"> <results> <test-case description="Returns broker machine (by DNS name)" name="XenDesktop7\VE_XD7Common.GetXDBrokerMachine.Returns broker machine (by DNS name)" time="0.0419" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns broker machine (by DomainName\NetBIOS name)" name="XenDesktop7\VE_XD7Common.GetXDBrokerMachine.Returns broker machine (by DomainName\NetBIOS name)" time="0.0254" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns broker machine (by NetBIOS name)" name="XenDesktop7\VE_XD7Common.GetXDBrokerMachine.Returns broker machine (by NetBIOS name)" time="0.024" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when no broker machine is found" name="XenDesktop7\VE_XD7Common.GetXDBrokerMachine.Throws when no broker machine is found" time="0.0286" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when multiple broker machines are found" name="XenDesktop7\VE_XD7Common.GetXDBrokerMachine.Throws when multiple broker machines are found" time="0.0224" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="TestXDMachineIsExistingMember" executed="True" result="Success" success="True" time="0.1077" asserts="0" description="TestXDMachineIsExistingMember"> <results> <test-case description="Returns True when member is present (by DNS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineIsExistingMember.Returns True when member is present (by DNS name)" time="0.0369" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when member is present (by DomainName\NetBios name)" name="XenDesktop7\VE_XD7Common.TestXDMachineIsExistingMember.Returns True when member is present (by DomainName\NetBios name)" time="0.0112" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when existing member is present (by NetBIOS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineIsExistingMember.Returns True when existing member is present (by NetBIOS name)" time="0.0143" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when member is absent (by DNS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineIsExistingMember.Returns False when member is absent (by DNS name)" time="0.0156" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when member is absent (by DomainName\NetBios name)" name="XenDesktop7\VE_XD7Common.TestXDMachineIsExistingMember.Returns False when member is absent (by DomainName\NetBios name)" time="0.0141" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when member is absent (by NetBIOS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineIsExistingMember.Returns False when member is absent (by NetBIOS name)" time="0.0156" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="TestXDMachineMembership" executed="True" result="Success" success="True" time="0.224" asserts="0" description="TestXDMachineMembership"> <results> <test-case description="Returns True when "Ensure" = "Present" and members are present (by DNS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns True when "Ensure" = "Present" and members are present (by DNS name)" time="0.0363" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Present" and members are present (by DomainName\NetBIOS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns True when "Ensure" = "Present" and members are present (by DomainName\NetBIOS name)" time="0.0147" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Present" and members are present (by NetBIOS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns True when "Ensure" = "Present" and members are present (by NetBIOS name)" time="0.0152" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Present" and members are absent by DNS name" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns False when "Ensure" = "Present" and members are absent by DNS name" time="0.0163" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Present" and members are absent (by DomainName\NetBIOS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns False when "Ensure" = "Present" and members are absent (by DomainName\NetBIOS name)" time="0.019" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Present" and members are absent (by NetBIOS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns False when "Ensure" = "Present" and members are absent (by NetBIOS name)" time="0.0123" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and members are absent (by DNS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns True when "Ensure" = "Absent" and members are absent (by DNS name)" time="0.0156" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and members are absent (by DomainName\NetBIOS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns True when "Ensure" = "Absent" and members are absent (by DomainName\NetBIOS name)" time="0.0195" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and members are absent (by NetBIOS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns True when "Ensure" = "Absent" and members are absent (by NetBIOS name)" time="0.0128" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Absent" and members are present (by DNS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns False when "Ensure" = "Absent" and members are present (by DNS name)" time="0.0241" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Absent" and members are present by (DomainName\NetBIOS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns False when "Ensure" = "Absent" and members are present by (DomainName\NetBIOS name)" time="0.0165" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Absent" and members are present (by NetBIOS name)" name="XenDesktop7\VE_XD7Common.TestXDMachineMembership.Returns False when "Ensure" = "Absent" and members are present (by NetBIOS name)" time="0.0217" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="ResolveXDBrokerMachine" executed="True" result="Success" success="True" time="0.1188" asserts="0" description="ResolveXDBrokerMachine"> <results> <test-case description="Returns a broker machine when present (by DNS Name)" name="XenDesktop7\VE_XD7Common.ResolveXDBrokerMachine.Returns a broker machine when present (by DNS Name)" time="0.0329" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a broker machine when present (by DomainName\NetBIOS Name)" name="XenDesktop7\VE_XD7Common.ResolveXDBrokerMachine.Returns a broker machine when present (by DomainName\NetBIOS Name)" time="0.0125" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns a broker machine when present (by NetBIOS Name)" name="XenDesktop7\VE_XD7Common.ResolveXDBrokerMachine.Returns a broker machine when present (by NetBIOS Name)" time="0.0222" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns $null when broker machine is absent (by DNS Name)" name="XenDesktop7\VE_XD7Common.ResolveXDBrokerMachine.Returns $null when broker machine is absent (by DNS Name)" time="0.0206" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns $null when broker machine is absent (by DomainName\NetBIOS Name)" name="XenDesktop7\VE_XD7Common.ResolveXDBrokerMachine.Returns $null when broker machine is absent (by DomainName\NetBIOS Name)" time="0.015" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns $null when broker machine is absent (by NetBIOS Name)" name="XenDesktop7\VE_XD7Common.ResolveXDBrokerMachine.Returns $null when broker machine is absent (by NetBIOS Name)" time="0.0157" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="GetXDInstalledRole" executed="True" result="Success" success="True" time="2.1749" asserts="0" description="GetXDInstalledRole"> <results> <test-case description="Returns role "Controller" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Returns role "Controller" is installed" time="0.1722" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns role "Studio" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Returns role "Studio" is installed" time="0.1321" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns role "Storefront" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Returns role "Storefront" is installed" time="0.1306" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns role "Licensing" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Returns role "Licensing" is installed" time="0.137" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns role "Director" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Returns role "Director" is installed" time="0.1454" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns role "SessionVDA" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Returns role "SessionVDA" is installed" time="0.1498" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns role "DesktopVDA" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Returns role "DesktopVDA" is installed" time="0.1327" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return role "Controller" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Does not return role "Controller" is installed" time="0.1404" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return role "Studio" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Does not return role "Studio" is installed" time="0.1357" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return role "Storefront" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Does not return role "Storefront" is installed" time="0.142" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return role "Licensing" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Does not return role "Licensing" is installed" time="0.139" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return role "Director" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Does not return role "Director" is installed" time="0.1416" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return role "SessionVDA" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Does not return role "SessionVDA" is installed" time="0.1433" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not return role "DesktopVDA" is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Does not return role "DesktopVDA" is installed" time="0.154" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Director" is not installed, but the VDA is installed" name="XenDesktop7\VE_XD7Common.GetXDInstalledRole.Returns False when "Director" is not installed, but the VDA is installed" time="0.1792" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="TestXDInstalledRole" executed="True" result="Success" success="True" time="0.1534" asserts="0" description="TestXDInstalledRole"> <results> <test-case description="Returns true when when specified single role is installed" name="XenDesktop7\VE_XD7Common.TestXDInstalledRole.Returns true when when specified single role is installed" time="0.0441" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns true when when specified multiple roles are installed" name="XenDesktop7\VE_XD7Common.TestXDInstalledRole.Returns true when when specified multiple roles are installed" time="0.0224" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false when when specified single role is not installed" name="XenDesktop7\VE_XD7Common.TestXDInstalledRole.Returns false when when specified single role is not installed" time="0.0177" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false when when specified multiple roles are not installed" name="XenDesktop7\VE_XD7Common.TestXDInstalledRole.Returns false when when specified multiple roles are not installed" time="0.0237" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false when when specified single role is not installed" name="XenDesktop7\VE_XD7Common.TestXDInstalledRole.Returns false when when specified single role is not installed" time="0.025" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns false when when one of specified multiple roles are not installed" name="XenDesktop7\VE_XD7Common.TestXDInstalledRole.Returns false when when one of specified multiple roles are not installed" time="0.0206" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="ResolveXDSetupMedia" executed="True" result="Success" success="True" time="0.1449" asserts="0" description="ResolveXDSetupMedia"> <results> <test-case description="Resolves "Controller" role setup to "XenDesktopServerSetup.exe"." name="XenDesktop7\VE_XD7Common.ResolveXDSetupMedia.Resolves "Controller" role setup to "XenDesktopServerSetup.exe"." time="0.0473" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves "Studio" role setup to "XenDesktopServerSetup.exe"." name="XenDesktop7\VE_XD7Common.ResolveXDSetupMedia.Resolves "Studio" role setup to "XenDesktopServerSetup.exe"." time="0.0193" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves "Licensing" role setup to "XenDesktopServerSetup.exe"." name="XenDesktop7\VE_XD7Common.ResolveXDSetupMedia.Resolves "Licensing" role setup to "XenDesktopServerSetup.exe"." time="0.0207" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves "Director" role setup to "XenDesktopServerSetup.exe"." name="XenDesktop7\VE_XD7Common.ResolveXDSetupMedia.Resolves "Director" role setup to "XenDesktopServerSetup.exe"." time="0.0187" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Resolves "Storefront" role setup to "XenDesktopServerSetup.exe"." name="XenDesktop7\VE_XD7Common.ResolveXDSetupMedia.Resolves "Storefront" role setup to "XenDesktopServerSetup.exe"." time="0.0189" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when no valid installer found." name="XenDesktop7\VE_XD7Common.ResolveXDSetupMedia.Throws when no valid installer found." time="0.02" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="ResolveXDServerSetupArguments" executed="True" result="Success" success="True" time="0.2705" asserts="0" description="ResolveXDServerSetupArguments"> <results> <test-case description="Defaults log path to "%TMP%\Citrix\XenDesktop Installer"." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Defaults log path to "%TMP%\Citrix\XenDesktop Installer"." time="0.0471" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns expected Controller install arguments." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Returns expected Controller install arguments." time="0.0282" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns expected Controller uninstall arguments." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Returns expected Controller uninstall arguments." time="0.0283" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns expected Studio install arguments." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Returns expected Studio install arguments." time="0.0199" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns expected Studio uninstall arguments." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Returns expected Studio uninstall arguments." time="0.0248" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns expected Storefront install arguments." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Returns expected Storefront install arguments." time="0.0211" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns expected Storefront uninstall arguments." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Returns expected Storefront uninstall arguments." time="0.0249" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns expected Licensing install arguments." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Returns expected Licensing install arguments." time="0.0188" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns expected Licensing uninstall arguments." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Returns expected Licensing uninstall arguments." time="0.0191" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns expected Director install arguments." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Returns expected Director install arguments." time="0.0183" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns expected Director uninstall arguments." name="XenDesktop7\VE_XD7Common.ResolveXDServerSetupArguments.Returns expected Director uninstall arguments." time="0.02" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Controller.Tests.ps1" executed="True" result="Success" success="True" time="0.8534" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Controller.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7Controller" executed="True" result="Success" success="True" time="0.8534" asserts="0" description="XenDesktop7\VE_XD7Controller"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.3573" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7Controller.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1082" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Present" when controller exists and "Ensure" = "Present" is specified" name="XenDesktop7\VE_XD7Controller.Get-TargetResource.Returns "Present" when controller exists and "Ensure" = "Present" is specified" time="0.0391" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Absent" when controller does not exist and "Ensure" = "Present" is specified" name="XenDesktop7\VE_XD7Controller.Get-TargetResource.Returns "Absent" when controller does not exist and "Ensure" = "Present" is specified" time="0.0371" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Present" when controller exists and "Ensure" = "Absent" is specified" name="XenDesktop7\VE_XD7Controller.Get-TargetResource.Returns "Present" when controller exists and "Ensure" = "Absent" is specified" time="0.039" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Absent" when controller does not exist and "Ensure" = "Absent" is specified" name="XenDesktop7\VE_XD7Controller.Get-TargetResource.Returns "Absent" when controller does not exist and "Ensure" = "Absent" is specified" time="0.0386" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Controller.Get-TargetResource.Invokes script block without credentials by default" time="0.0343" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Controller.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.031" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.XenDesktop.Admin" module is registered" name="XenDesktop7\VE_XD7Controller.Get-TargetResource.Asserts "Citrix.XenDesktop.Admin" module is registered" time="0.03" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.1357" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7Controller.Test-TargetResource.Returns a System.Boolean type" time="0.0541" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when controller exists in site" name="XenDesktop7\VE_XD7Controller.Test-TargetResource.Returns True when controller exists in site" time="0.0255" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when site does not exist" name="XenDesktop7\VE_XD7Controller.Test-TargetResource.Returns False when site does not exist" time="0.0284" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when controller does not exist in site" name="XenDesktop7\VE_XD7Controller.Test-TargetResource.Returns False when controller does not exist in site" time="0.0277" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.3605" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls Add-XDController when "Ensure" = "Present"" name="XenDesktop7\VE_XD7Controller.Set-TargetResource.Calls Add-XDController when "Ensure" = "Present"" time="0.094" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls Remove-XDController when "Ensure" = "Absent"" name="XenDesktop7\VE_XD7Controller.Set-TargetResource.Calls Remove-XDController when "Ensure" = "Absent"" time="0.0407" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Controller.Set-TargetResource.Invokes script block without credentials by default" time="0.0281" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Controller.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0414" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin" module is registered" name="XenDesktop7\VE_XD7Controller.Set-TargetResource.Asserts "Citrix.Broker.Admin" module is registered" time="0.1564" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Database.Tests.ps1" executed="True" result="Success" success="True" time="0.454" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Database.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7Database" executed="True" result="Success" success="True" time="0.454" asserts="0" description="XenDesktop7\VE_XD7Database"> <results> <test-suite type="TestFixture" name="TestMSSQLDatabase" executed="True" result="Success" success="True" time="0.1465" asserts="0" description="TestMSSQLDatabase"> <results> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Database.TestMSSQLDatabase.Invokes script block without credentials by default" time="0.1241" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Database.TestMSSQLDatabase.Invokes script block with credentials and CredSSP when specified" time="0.0224" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.0436" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7Database.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.0436" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.0899" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7Database.Test-TargetResource.Returns a System.Boolean type" time="0.046" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when database exists" name="XenDesktop7\VE_XD7Database.Test-TargetResource.Returns True when database exists" time="0.0234" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when database does not exist" name="XenDesktop7\VE_XD7Database.Test-TargetResource.Returns False when database does not exist" time="0.0205" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.174" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls New-XDDatabase" name="XenDesktop7\VE_XD7Database.Set-TargetResource.Calls New-XDDatabase" time="0.089" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Database.Set-TargetResource.Invokes script block without credentials by default" time="0.0267" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Database.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0288" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.XenDesktop.Admin" module is registered" name="XenDesktop7\VE_XD7Database.Set-TargetResource.Asserts "Citrix.XenDesktop.Admin" module is registered" time="0.0295" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7DesktopGroup.Tests.ps1" executed="True" result="Success" success="True" time="1.0441" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7DesktopGroup.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7DesktopGroup" executed="True" result="Success" success="True" time="1.0441" asserts="0" description="XenDesktop7\VE_XD7DesktopGroup"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.199" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7DesktopGroup.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1105" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7DesktopGroup.Get-TargetResource.Invokes script block without credentials by default" time="0.0264" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7DesktopGroup.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0291" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" module is registered" name="XenDesktop7\VE_XD7DesktopGroup.Get-TargetResource.Asserts "Citrix.Broker.Admin.V2" module is registered" time="0.033" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.3863" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns a System.Boolean type" time="0.0468" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when all properties match" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns True when all properties match" time="0.0252" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "Ensure" is incorrect" time="0.0194" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "IsMultiSession" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "IsMultiSession" is incorrect" time="0.0238" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "DeliveryType" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "DeliveryType" is incorrect" time="0.0269" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "DesktopType" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "DesktopType" is incorrect" time="0.0266" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Description" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "Description" is incorrect" time="0.026" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "DisplayName" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "DisplayName" is incorrect" time="0.0299" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Enabled" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "Enabled" is incorrect" time="0.0219" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "ColorDepth" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "ColorDepth" is incorrect" time="0.0191" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "IsMaintenanceMode" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "IsMaintenanceMode" is incorrect" time="0.019" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "IsRemotePC" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "IsRemotePC" is incorrect" time="0.0298" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "IsSecureIca" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "IsSecureIca" is incorrect" time="0.0267" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "ShutdownDesktopsAfterUse" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "ShutdownDesktopsAfterUse" is incorrect" time="0.0199" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "TurnOnAddedMachine" is incorrect" name="XenDesktop7\VE_XD7DesktopGroup.Test-TargetResource.Returns False when "TurnOnAddedMachine" is incorrect" time="0.0253" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.4587" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "New-BrokerDesktopGroup" when "Ensure" = "Present" and delivery group does not exists" name="XenDesktop7\VE_XD7DesktopGroup.Set-TargetResource.Calls "New-BrokerDesktopGroup" when "Ensure" = "Present" and delivery group does not exists" time="0.1423" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Set-BrokerDesktopGroup" when "Ensure" = "Present" and delivery group exists" name="XenDesktop7\VE_XD7DesktopGroup.Set-TargetResource.Calls "Set-BrokerDesktopGroup" when "Ensure" = "Present" and delivery group exists" time="0.0441" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Remove-BrokerDesktopGroup" when "Ensure" = "Absent" and delivery group does not exist" name="XenDesktop7\VE_XD7DesktopGroup.Set-TargetResource.Does not call "Remove-BrokerDesktopGroup" when "Ensure" = "Absent" and delivery group does not exist" time="0.0393" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Remove-BrokerDesktopGroup" when "Ensure" = "Absent" and delivery group exists" name="XenDesktop7\VE_XD7DesktopGroup.Set-TargetResource.Calls "Remove-BrokerDesktopGroup" when "Ensure" = "Absent" and delivery group exists" time="0.0414" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when changing "IsMultiSession" property and delivery group exists" name="XenDesktop7\VE_XD7DesktopGroup.Set-TargetResource.Throws when changing "IsMultiSession" property and delivery group exists" time="0.048" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when changing "DesktopType" property and delivery group exists" name="XenDesktop7\VE_XD7DesktopGroup.Set-TargetResource.Throws when changing "DesktopType" property and delivery group exists" time="0.0396" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7DesktopGroup.Set-TargetResource.Invokes script block without credentials by default" time="0.0286" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7DesktopGroup.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0345" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" module is registered" name="XenDesktop7\VE_XD7DesktopGroup.Set-TargetResource.Asserts "Citrix.Broker.Admin.V2" module is registered" time="0.0408" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7DesktopGroupApplication.Tests.ps1" executed="True" result="Success" success="True" time="0.9303" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7DesktopGroupApplication.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7DesktopGroupApplication" executed="True" result="Success" success="True" time="0.9303" asserts="0" description="XenDesktop7\VE_XD7DesktopGroupApplication"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.2172" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7DesktopGroupApplication.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1245" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7DesktopGroupApplication.Get-TargetResource.Invokes script block without credentials by default" time="0.0279" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7DesktopGroupApplication.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0419" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" is registered" name="XenDesktop7\VE_XD7DesktopGroupApplication.Get-TargetResource.Asserts "Citrix.Broker.Admin.V2" is registered" time="0.0229" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.2939" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns a System.Boolean type" time="0.0418" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when all properties match" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns True when all properties match" time="0.0171" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" is incorrect" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns False when "Ensure" is incorrect" time="0.0196" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when 'Path' is incorrect" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns False when 'Path' is incorrect" time="0.0213" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when 'DesktopGroupName' is incorrect" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns False when 'DesktopGroupName' is incorrect" time="0.0199" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when 'Arguments' is incorrect" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns False when 'Arguments' is incorrect" time="0.0204" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when 'WorkingDirectory' is incorrect" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns False when 'WorkingDirectory' is incorrect" time="0.0175" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when 'Description' is incorrect" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns False when 'Description' is incorrect" time="0.0243" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when 'DisplayName' is incorrect" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns False when 'DisplayName' is incorrect" time="0.0187" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Enabled" is incorrect" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns False when "Enabled" is incorrect" time="0.0189" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Visible" is incorrect" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Returns False when "Visible" is incorrect" time="0.0277" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not throw when immutable "ApplicationType" property is specified but application does not exist" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Does not throw when immutable "ApplicationType" property is specified but application does not exist" time="0.0231" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when immutable "ApplicationType" property is specified" name="XenDesktop7\VE_XD7DesktopGroupApplication.Test-TargetResource.Throws when immutable "ApplicationType" property is specified" time="0.0237" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.4191" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "New-BrokerApplication" when "Ensure" = "Present" and application does not exists" name="XenDesktop7\VE_XD7DesktopGroupApplication.Set-TargetResource.Calls "New-BrokerApplication" when "Ensure" = "Present" and application does not exists" time="0.1015" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "New-BrokerApplication" with specified application type" name="XenDesktop7\VE_XD7DesktopGroupApplication.Set-TargetResource.Calls "New-BrokerApplication" with specified application type" time="0.0499" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Set-BrokerApplication" when "Ensure" = "Present" and application exists" name="XenDesktop7\VE_XD7DesktopGroupApplication.Set-TargetResource.Calls "Set-BrokerApplication" when "Ensure" = "Present" and application exists" time="0.0537" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Remove-BrokerApplication" when "Ensure" = "Absent" and application exists" name="XenDesktop7\VE_XD7DesktopGroupApplication.Set-TargetResource.Calls "Remove-BrokerApplication" when "Ensure" = "Absent" and application exists" time="0.0508" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Remove-BrokerApplication" when "Ensure" = "Absent" and application does not exist" name="XenDesktop7\VE_XD7DesktopGroupApplication.Set-TargetResource.Does not call "Remove-BrokerApplication" when "Ensure" = "Absent" and application does not exist" time="0.0422" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7DesktopGroupApplication.Set-TargetResource.Invokes script block without credentials by default" time="0.0313" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7DesktopGroupApplication.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0299" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" is registered" name="XenDesktop7\VE_XD7DesktopGroupApplication.Set-TargetResource.Asserts "Citrix.Broker.Admin.V2" is registered" time="0.0292" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Common.Commands" is registered" name="XenDesktop7\VE_XD7DesktopGroupApplication.Set-TargetResource.Asserts "Citrix.Common.Commands" is registered" time="0.0306" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7DesktopGroupMember.Tests.ps1" executed="True" result="Success" success="True" time="0.8384" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7DesktopGroupMember.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7DesktopGroupMember" executed="True" result="Success" success="True" time="0.8384" asserts="0" description="XenDesktop7\VE_XD7DesktopGroupMember"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.2292" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7DesktopGroupMember.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1477" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7DesktopGroupMember.Get-TargetResource.Invokes script block without credentials by default" time="0.0207" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7DesktopGroupMember.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0307" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" module is registered" name="XenDesktop7\VE_XD7DesktopGroupMember.Get-TargetResource.Asserts "Citrix.Broker.Admin.V2" module is registered" time="0.03" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.1044" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7DesktopGroupMember.Test-TargetResource.Returns a System.Boolean type" time="0.0522" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when delivery group membership is correct" name="XenDesktop7\VE_XD7DesktopGroupMember.Test-TargetResource.Returns True when delivery group membership is correct" time="0.0261" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when delivery catalog membership is incorrect" name="XenDesktop7\VE_XD7DesktopGroupMember.Test-TargetResource.Returns False when delivery catalog membership is incorrect" time="0.0261" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.5048" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "Add-BrokerMachine" when "Ensure" = "Present" and machine is registered, but not assigned" name="XenDesktop7\VE_XD7DesktopGroupMember.Set-TargetResource.Calls "Add-BrokerMachine" when "Ensure" = "Present" and machine is registered, but not assigned" time="0.0962" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Add-BrokerMachine" when "Ensure" = "Present" and machine is registered, but assigned another group" name="XenDesktop7\VE_XD7DesktopGroupMember.Set-TargetResource.Calls "Add-BrokerMachine" when "Ensure" = "Present" and machine is registered, but assigned another group" time="0.0581" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Add-BrokerMachine" when "Ensure" = "Present" and machine is registered and assigned" name="XenDesktop7\VE_XD7DesktopGroupMember.Set-TargetResource.Does not call "Add-BrokerMachine" when "Ensure" = "Present" and machine is registered and assigned" time="0.0521" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws when "Ensure" = "Present" and machine is not registered" name="XenDesktop7\VE_XD7DesktopGroupMember.Set-TargetResource.Throws when "Ensure" = "Present" and machine is not registered" time="0.0522" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is registered and assigned" name="XenDesktop7\VE_XD7DesktopGroupMember.Set-TargetResource.Calls "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is registered and assigned" time="0.0594" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is not assigned" name="XenDesktop7\VE_XD7DesktopGroupMember.Set-TargetResource.Does not call "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is not assigned" time="0.0469" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is assigned another group" name="XenDesktop7\VE_XD7DesktopGroupMember.Set-TargetResource.Does not call "Remove-BrokerMachine" when "Ensure" = "Absent" and machine is assigned another group" time="0.0478" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7DesktopGroupMember.Set-TargetResource.Invokes script block without credentials by default" time="0.0287" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7DesktopGroupMember.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.036" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" module is registered" name="XenDesktop7\VE_XD7DesktopGroupMember.Set-TargetResource.Asserts "Citrix.Broker.Admin.V2" module is registered" time="0.0274" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7EntitlementPolicy.Tests.ps1" executed="True" result="Success" success="True" time="0.6406" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7EntitlementPolicy.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7EntitlementPolicy" executed="True" result="Success" success="True" time="0.6406" asserts="0" description="XenDesktop7\VE_XD7EntitlementPolicy"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.2992" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7EntitlementPolicy.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1276" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-BrokerEntitlementPolicyRule" when "EntitlementType" = "Desktop"" name="XenDesktop7\VE_XD7EntitlementPolicy.Get-TargetResource.Calls "Get-BrokerEntitlementPolicyRule" when "EntitlementType" = "Desktop"" time="0.0523" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Get-BrokerAppEntitlementPolicyRule" when "EntitlementType" = "Application"" name="XenDesktop7\VE_XD7EntitlementPolicy.Get-TargetResource.Calls "Get-BrokerAppEntitlementPolicyRule" when "EntitlementType" = "Application"" time="0.0371" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7EntitlementPolicy.Get-TargetResource.Invokes script block without credentials by default" time="0.0214" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7EntitlementPolicy.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.033" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" module is registered" name="XenDesktop7\VE_XD7EntitlementPolicy.Get-TargetResource.Asserts "Citrix.Broker.Admin.V2" module is registered" time="0.0278" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.3414" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Returns a System.Boolean type" time="0.0754" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when entitlement mandatory parameters are correct" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Passes when entitlement mandatory parameters are correct" time="0.0206" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when entitlement 'Enabled' is correct" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Passes when entitlement 'Enabled' is correct" time="0.016" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when entitlement 'Description' is correct" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Passes when entitlement 'Description' is correct" time="0.0216" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when entitlement 'IncludeUsers' is correct" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Passes when entitlement 'IncludeUsers' is correct" time="0.0206" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when entitlement 'ExcludeUsers' is correct" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Passes when entitlement 'ExcludeUsers' is correct" time="0.0248" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Passes when entitlement 'Ensure' is correct" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Passes when entitlement 'Ensure' is correct" time="0.021" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when entitlement 'Enabled' is incorrect" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Fails when entitlement 'Enabled' is incorrect" time="0.0228" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when entitlement 'Description' is incorrect" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Fails when entitlement 'Description' is incorrect" time="0.0238" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when entitlement 'IncludeUsers' is incorrect" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Fails when entitlement 'IncludeUsers' is incorrect" time="0.0255" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when entitlement 'ExcludeUsers' is incorrect" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Fails when entitlement 'ExcludeUsers' is incorrect" time="0.0228" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when entitlement 'EntitlementType' parameter is incorrect" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Fails when entitlement 'EntitlementType' parameter is incorrect" time="0.0254" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Fails when entitlement 'Ensure' parameter is incorrect" name="XenDesktop7\VE_XD7EntitlementPolicy.Test-TargetResource.Fails when entitlement 'Ensure' parameter is incorrect" time="0.0214" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Feature.Tests.ps1" executed="True" result="Success" success="True" time="1.6312" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Feature.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7Feature" executed="True" result="Success" success="True" time="1.6312" asserts="0" description="XenDesktop7\VE_XD7Feature"> <results> <test-suite type="TestFixture" name="Get-TargetResourece" executed="True" result="Success" success="True" time="0.1362" asserts="0" description="Get-TargetResourece"> <results> <test-case description="Returns a System.Collections.Hashtable." name="XenDesktop7\VE_XD7Feature.Get-TargetResourece.Returns a System.Collections.Hashtable." time="0.089" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Ensure" = "Present" when role is installed" name="XenDesktop7\VE_XD7Feature.Get-TargetResourece.Returns "Ensure" = "Present" when role is installed" time="0.0234" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Ensure" = "Absent" when role is not installed" name="XenDesktop7\VE_XD7Feature.Get-TargetResourece.Returns "Ensure" = "Absent" when role is not installed" time="0.0238" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.4042" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type." name="XenDesktop7\VE_XD7Feature.Test-TargetResource.Returns a System.Boolean type." time="0.3193" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Present" and role is installed" name="XenDesktop7\VE_XD7Feature.Test-TargetResource.Returns True when "Ensure" = "Present" and role is installed" time="0.0247" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Present" and role is not installed" name="XenDesktop7\VE_XD7Feature.Test-TargetResource.Returns False when "Ensure" = "Present" and role is not installed" time="0.0169" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Absent" and role is not installed" name="XenDesktop7\VE_XD7Feature.Test-TargetResource.Returns False when "Ensure" = "Absent" and role is not installed" time="0.018" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and role is installed" name="XenDesktop7\VE_XD7Feature.Test-TargetResource.Returns True when "Ensure" = "Absent" and role is installed" time="0.0254" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="1.0908" asserts="0" description="Set-TargetResource"> <results> <test-case description="Throws with an invalid directory path." name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Throws with an invalid directory path." time="0.0523" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws with a valid file path." name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Throws with a valid file path." time="0.0233" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Controller" and exit code "0"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Controller" and exit code "0"" time="0.0451" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Controller" and exit code "0"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Controller" and exit code "0"" time="0.0392" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Present", "Role" = "Studio" and exit code "0"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Does not flag reboot when "Ensure" = "Present", "Role" = "Studio" and exit code "0"" time="0.0403" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Present", "Role" = "Storefront" and exit code "0"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Does not flag reboot when "Ensure" = "Present", "Role" = "Storefront" and exit code "0"" time="0.0364" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Present", "Role" = "Licensing" and exit code "0"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Does not flag reboot when "Ensure" = "Present", "Role" = "Licensing" and exit code "0"" time="0.0411" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Present", "Role" = "Director" and exit code "0"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Does not flag reboot when "Ensure" = "Present", "Role" = "Director" and exit code "0"" time="0.0402" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Absent", "Role" = "Studio" and exit code "0"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Does not flag reboot when "Ensure" = "Absent", "Role" = "Studio" and exit code "0"" time="0.045" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Absent", "Role" = "Storefront" and exit code "0"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Does not flag reboot when "Ensure" = "Absent", "Role" = "Storefront" and exit code "0"" time="0.0434" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Absent", "Role" = "Licensing" and exit code "0"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Does not flag reboot when "Ensure" = "Absent", "Role" = "Licensing" and exit code "0"" time="0.0909" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Absent", "Role" = "Director" and exit code "0"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Does not flag reboot when "Ensure" = "Absent", "Role" = "Director" and exit code "0"" time="0.0574" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Controller" and exit code = "3010"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Controller" and exit code = "3010"" time="0.0384" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Studio" and exit code = "3010"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Studio" and exit code = "3010"" time="0.038" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Storefront" and exit code = "3010"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Storefront" and exit code = "3010"" time="0.0536" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Licensing" and exit code = "3010"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Licensing" and exit code = "3010"" time="0.1503" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Director" and exit code = "3010"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Director" and exit code = "3010"" time="0.0411" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Controller" and exit code = "3010"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Controller" and exit code = "3010"" time="0.0413" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Studio" and exit code = "3010"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Studio" and exit code = "3010"" time="0.0406" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Storefront" and exit code = "3010"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Storefront" and exit code = "3010"" time="0.0449" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Licensing" and exit code = "3010"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Licensing" and exit code = "3010"" time="0.0434" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Director" and exit code = "3010"" name="XenDesktop7\VE_XD7Feature.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Director" and exit code = "3010"" time="0.0447" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Features.Tests.ps1" executed="True" result="Success" success="True" time="2.6252" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Features.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7Features" executed="True" result="Success" success="True" time="2.6252" asserts="0" description="XenDesktop7\VE_XD7Features"> <results> <test-suite type="TestFixture" name="Get-TargetResourece" executed="True" result="Success" success="True" time="0.9903" asserts="0" description="Get-TargetResourece"> <results> <test-case description="Returns a System.Collections.Hashtable." name="XenDesktop7\VE_XD7Features.Get-TargetResourece.Returns a System.Collections.Hashtable." time="0.3604" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Ensure" = "Present" when role is installed" name="XenDesktop7\VE_XD7Features.Get-TargetResourece.Returns "Ensure" = "Present" when role is installed" time="0.324" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Ensure" = "Absent" when role is not installed" name="XenDesktop7\VE_XD7Features.Get-TargetResourece.Returns "Ensure" = "Absent" when role is not installed" time="0.3059" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.4314" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type." name="XenDesktop7\VE_XD7Features.Test-TargetResource.Returns a System.Boolean type." time="0.3271" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Present" and role is installed" name="XenDesktop7\VE_XD7Features.Test-TargetResource.Returns True when "Ensure" = "Present" and role is installed" time="0.0279" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Present" and role is not installed" name="XenDesktop7\VE_XD7Features.Test-TargetResource.Returns False when "Ensure" = "Present" and role is not installed" time="0.027" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Absent" and role is not installed" name="XenDesktop7\VE_XD7Features.Test-TargetResource.Returns False when "Ensure" = "Absent" and role is not installed" time="0.0224" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and role is installed" name="XenDesktop7\VE_XD7Features.Test-TargetResource.Returns True when "Ensure" = "Absent" and role is installed" time="0.027" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="1.2036" asserts="0" description="Set-TargetResource"> <results> <test-case description="Throws with an invalid directory path." name="XenDesktop7\VE_XD7Features.Set-TargetResource.Throws with an invalid directory path." time="0.0548" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws with a valid file path." name="XenDesktop7\VE_XD7Features.Set-TargetResource.Throws with a valid file path." time="0.0202" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Controller" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Controller" and exit code "0"" time="0.041" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Controller,Studio" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Controller,Studio" and exit code "0"" time="0.035" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Controller,Studio,Storefront" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Controller,Studio,Storefront" and exit code "0"" time="0.0364" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Controller" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Controller" and exit code "0"" time="0.0404" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Controller,Studio" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Controller,Studio" and exit code "0"" time="0.0556" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Controller,Studio,Storefront" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Controller,Studio,Storefront" and exit code "0"" time="0.0424" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Present", "Role" = "Studio" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Does not flag reboot when "Ensure" = "Present", "Role" = "Studio" and exit code "0"" time="0.0375" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Present", "Role" = "Licensing" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Does not flag reboot when "Ensure" = "Present", "Role" = "Licensing" and exit code "0"" time="0.0408" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Present", "Role" = "Storefront" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Does not flag reboot when "Ensure" = "Present", "Role" = "Storefront" and exit code "0"" time="0.0509" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Present", "Role" = "Director" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Does not flag reboot when "Ensure" = "Present", "Role" = "Director" and exit code "0"" time="0.1594" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Present", "Role" = "Storefront,Director" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Does not flag reboot when "Ensure" = "Present", "Role" = "Storefront,Director" and exit code "0"" time="0.0404" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Absent", "Role" = "Studio" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Does not flag reboot when "Ensure" = "Absent", "Role" = "Studio" and exit code "0"" time="0.039" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Absent", "Role" = "Licensing" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Does not flag reboot when "Ensure" = "Absent", "Role" = "Licensing" and exit code "0"" time="0.037" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Absent", "Role" = "Storefront" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Does not flag reboot when "Ensure" = "Absent", "Role" = "Storefront" and exit code "0"" time="0.0372" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Absent", "Role" = "Director" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Does not flag reboot when "Ensure" = "Absent", "Role" = "Director" and exit code "0"" time="0.0442" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not flag reboot when "Ensure" = "Absent", "Role" = "Storefront,Director" and exit code "0"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Does not flag reboot when "Ensure" = "Absent", "Role" = "Storefront,Director" and exit code "0"" time="0.0411" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Controller" and exit code = "3010"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Controller" and exit code = "3010"" time="0.0413" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Studio" and exit code = "3010"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Studio" and exit code = "3010"" time="0.0403" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Licensing" and exit code = "3010"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Licensing" and exit code = "3010"" time="0.0432" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "Storefront,Director" and exit code = "3010"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "Storefront,Director" and exit code = "3010"" time="0.0449" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Controller" and exit code = "3010"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Controller" and exit code = "3010"" time="0.0444" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Studio" and exit code = "3010"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Studio" and exit code = "3010"" time="0.0479" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Licensing" and exit code = "3010"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Licensing" and exit code = "3010"" time="0.0456" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "Storefront,Director" and exit code = "3010"" name="XenDesktop7\VE_XD7Features.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "Storefront,Director" and exit code = "3010"" time="0.0428" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Role.Tests.ps1" executed="True" result="Success" success="True" time="0.7231" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Role.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7Role" executed="True" result="Success" success="True" time="0.7231" asserts="0" description="XenDesktop7\VE_XD7Role"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.1795" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7Role.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.0931" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Role.Get-TargetResource.Invokes script block without credentials by default" time="0.03" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Role.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0251" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.DelegatedAdmin.Admin.V1" module is registered" name="XenDesktop7\VE_XD7Role.Get-TargetResource.Asserts "Citrix.DelegatedAdmin.Admin.V1" module is registered" time="0.0313" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.3385" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns a System.Boolean type" time="0.0519" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Present" and all members are present (by Domain\User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns True when "Ensure" = "Present" and all members are present (by Domain\User)" time="0.0252" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and no members are present (by Domain\User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns True when "Ensure" = "Absent" and no members are present (by Domain\User)" time="0.0307" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Present" and not all members are present (by Domain\User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns False when "Ensure" = "Present" and not all members are present (by Domain\User)" time="0.0191" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Present" and all members are present (by User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns True when "Ensure" = "Present" and all members are present (by User)" time="0.0208" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and no members are present (by User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns True when "Ensure" = "Absent" and no members are present (by User)" time="0.0187" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Present" and not all members are present (by User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns False when "Ensure" = "Present" and not all members are present (by User)" time="0.0292" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and all members are absent (by Domain\User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns True when "Ensure" = "Absent" and all members are absent (by Domain\User)" time="0.0313" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and no members are present (by Domain\User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns True when "Ensure" = "Absent" and no members are present (by Domain\User)" time="0.0233" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Absent" and not all members are Absent (by Domain\User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns False when "Ensure" = "Absent" and not all members are Absent (by Domain\User)" time="0.0254" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and all members are absent (by User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns True when "Ensure" = "Absent" and all members are absent (by User)" time="0.0197" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and no members are present (by User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns True when "Ensure" = "Absent" and no members are present (by User)" time="0.0245" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Absent" and not all members are Absent (by User)" name="XenDesktop7\VE_XD7Role.Test-TargetResource.Returns False when "Ensure" = "Absent" and not all members are Absent (by User)" time="0.0188" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.2051" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "Add-AdminRight" once per administrator when "Ensure" = "Present"" name="XenDesktop7\VE_XD7Role.Set-TargetResource.Calls "Add-AdminRight" once per administrator when "Ensure" = "Present"" time="0.0682" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Remove-AdminRight" once per administrator when "Ensure" = "Absent"" name="XenDesktop7\VE_XD7Role.Set-TargetResource.Calls "Remove-AdminRight" once per administrator when "Ensure" = "Absent"" time="0.0479" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Role.Set-TargetResource.Invokes script block without credentials by default" time="0.028" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Role.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.03" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.DelegatedAdmin.Admin.V1" module is registered" name="XenDesktop7\VE_XD7Role.Set-TargetResource.Asserts "Citrix.DelegatedAdmin.Admin.V1" module is registered" time="0.031" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Site.Tests.ps1" executed="True" result="Success" success="True" time="0.4355" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7Site.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7Site" executed="True" result="Success" success="True" time="0.4355" asserts="0" description="XenDesktop7\VE_XD7Site"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.1866" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7Site.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1036" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Site.Get-TargetResource.Invokes script block without credentials by default" time="0.0277" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Site.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.026" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.XenDesktop.Admin" module is registered" name="XenDesktop7\VE_XD7Site.Get-TargetResource.Asserts "Citrix.XenDesktop.Admin" module is registered" time="0.0293" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.1333" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns True when all properties match" name="XenDesktop7\VE_XD7Site.Test-TargetResource.Returns True when all properties match" time="0.0461" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "SiteName" is incorrect" name="XenDesktop7\VE_XD7Site.Test-TargetResource.Returns False when "SiteName" is incorrect" time="0.0228" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "SiteDatabaseName" is incorrect" name="XenDesktop7\VE_XD7Site.Test-TargetResource.Returns False when "SiteDatabaseName" is incorrect" time="0.0229" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "LoggingDatabaseName" is incorrect" name="XenDesktop7\VE_XD7Site.Test-TargetResource.Returns False when "LoggingDatabaseName" is incorrect" time="0.0219" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "MonitorDatabaseName" is incorrect" name="XenDesktop7\VE_XD7Site.Test-TargetResource.Returns False when "MonitorDatabaseName" is incorrect" time="0.0195" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.1156" asserts="0" description="Set-TargetResource"> <results> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7Site.Set-TargetResource.Invokes script block without credentials by default" time="0.0579" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7Site.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0266" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.XenDesktop.Admin" module is registered" name="XenDesktop7\VE_XD7Site.Set-TargetResource.Asserts "Citrix.XenDesktop.Admin" module is registered" time="0.0311" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7SiteConfig.Tests.ps1" executed="True" result="Success" success="True" time="0.4595" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7SiteConfig.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7SiteConfig" executed="True" result="Success" success="True" time="0.4595" asserts="0" description="XenDesktop7\VE_XD7SiteConfig"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.1906" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7SiteConfig.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.0971" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7SiteConfig.Get-TargetResource.Invokes script block without credentials by default" time="0.0335" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7SiteConfig.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0306" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" module is registered" name="XenDesktop7\VE_XD7SiteConfig.Get-TargetResource.Asserts "Citrix.Broker.Admin.V2" module is registered" time="0.0295" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.1598" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns True when all properties match" name="XenDesktop7\VE_XD7SiteConfig.Test-TargetResource.Returns True when all properties match" time="0.0516" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "TrustRequestsSentToTheXmlServicePort" is incorrect" name="XenDesktop7\VE_XD7SiteConfig.Test-TargetResource.Returns False when "TrustRequestsSentToTheXmlServicePort" is incorrect" time="0.0209" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "SecureIcaRequired" is incorrect" name="XenDesktop7\VE_XD7SiteConfig.Test-TargetResource.Returns False when "SecureIcaRequired" is incorrect" time="0.0182" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "DnsResolutionEnabled" is incorrect" name="XenDesktop7\VE_XD7SiteConfig.Test-TargetResource.Returns False when "DnsResolutionEnabled" is incorrect" time="0.0224" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "ConnectionLeasingEnabled" is incorrect" name="XenDesktop7\VE_XD7SiteConfig.Test-TargetResource.Returns False when "ConnectionLeasingEnabled" is incorrect" time="0.0246" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "BaseOU" is incorrect" name="XenDesktop7\VE_XD7SiteConfig.Test-TargetResource.Returns False when "BaseOU" is incorrect" time="0.022" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.1091" asserts="0" description="Set-TargetResource"> <results> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7SiteConfig.Set-TargetResource.Invokes script block without credentials by default" time="0.058" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7SiteConfig.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.028" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Broker.Admin.V2" module is registered" name="XenDesktop7\VE_XD7SiteConfig.Set-TargetResource.Asserts "Citrix.Broker.Admin.V2" module is registered" time="0.0231" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7SiteLicense.Tests.ps1" executed="True" result="Success" success="True" time="0.8989" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7SiteLicense.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7SiteLicense" executed="True" result="Success" success="True" time="0.8989" asserts="0" description="XenDesktop7\VE_XD7SiteLicense"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.4763" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7SiteLicense.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.3659" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7SiteLicense.Get-TargetResource.Invokes script block without credentials by default" time="0.041" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7SiteLicense.Get-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0372" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Configuration.Admin.V2" module is registered" name="XenDesktop7\VE_XD7SiteLicense.Get-TargetResource.Asserts "Citrix.Configuration.Admin.V2" module is registered" time="0.0322" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.12" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns True when all properties match" name="XenDesktop7\VE_XD7SiteLicense.Test-TargetResource.Returns True when all properties match" time="0.0434" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "LicenseServer" is incorrect" name="XenDesktop7\VE_XD7SiteLicense.Test-TargetResource.Returns False when "LicenseServer" is incorrect" time="0.0136" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "LicenseServerPort" is incorrect" name="XenDesktop7\VE_XD7SiteLicense.Test-TargetResource.Returns False when "LicenseServerPort" is incorrect" time="0.0237" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "LicenseEdition" is incorrect" name="XenDesktop7\VE_XD7SiteLicense.Test-TargetResource.Returns False when "LicenseEdition" is incorrect" time="0.0232" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "LicensingModel" is incorrect" name="XenDesktop7\VE_XD7SiteLicense.Test-TargetResource.Returns False when "LicensingModel" is incorrect" time="0.0161" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.3026" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "Set-SiteConfig"" name="XenDesktop7\VE_XD7SiteLicense.Set-TargetResource.Calls "Set-SiteConfig"" time="0.0717" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Set-SiteConfigMetadata" when "TrustLicenseServerCertificate" = "True"" name="XenDesktop7\VE_XD7SiteLicense.Set-TargetResource.Calls "Set-SiteConfigMetadata" when "TrustLicenseServerCertificate" = "True"" time="0.0605" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Does not call "Set-SiteConfigMetadata" when "TrustLicenseServerCertificate" = "False"" name="XenDesktop7\VE_XD7SiteLicense.Set-TargetResource.Does not call "Set-SiteConfigMetadata" when "TrustLicenseServerCertificate" = "False"" time="0.0362" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block without credentials by default" name="XenDesktop7\VE_XD7SiteLicense.Set-TargetResource.Invokes script block without credentials by default" time="0.0322" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Invokes script block with credentials and CredSSP when specified" name="XenDesktop7\VE_XD7SiteLicense.Set-TargetResource.Invokes script block with credentials and CredSSP when specified" time="0.0325" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Configuration.Admin.V2" snapin is registered" name="XenDesktop7\VE_XD7SiteLicense.Set-TargetResource.Asserts "Citrix.Configuration.Admin.V2" snapin is registered" time="0.0366" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.Licensing.Admin.V1" snapin is registered when "TrustLicenseServerCertificate" is "True"" name="XenDesktop7\VE_XD7SiteLicense.Set-TargetResource.Asserts "Citrix.Licensing.Admin.V1" snapin is registered when "TrustLicenseServerCertificate" is "True"" time="0.0328" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7StoreFrontAuthenticationMethod.Tests.ps1" executed="True" result="Success" success="True" time="0.4689" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7StoreFrontAuthenticationMethod.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_StoreFrontAuthenticationMethod" executed="True" result="Success" success="True" time="0.4689" asserts="0" description="XenDesktop7\VE_StoreFrontAuthenticationMethod"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.1891" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_StoreFrontAuthenticationMethod.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1077" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "UtilsModule" module is registered" name="XenDesktop7\VE_StoreFrontAuthenticationMethod.Get-TargetResource.Asserts "UtilsModule" module is registered" time="0.0391" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "AuthenticationModule" module is registered" name="XenDesktop7\VE_StoreFrontAuthenticationMethod.Get-TargetResource.Asserts "AuthenticationModule" module is registered" time="0.0423" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.0827" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns True when authentication methods match" name="XenDesktop7\VE_StoreFrontAuthenticationMethod.Test-TargetResource.Returns True when authentication methods match" time="0.0428" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when authentication method is missing" name="XenDesktop7\VE_StoreFrontAuthenticationMethod.Test-TargetResource.Returns False when authentication method is missing" time="0.0204" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when additional authentication method is present" name="XenDesktop7\VE_StoreFrontAuthenticationMethod.Test-TargetResource.Returns False when additional authentication method is present" time="0.0195" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.1971" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "Add-DSAuthenticationProtocolsDeployed" method when Ensure is "Present"" name="XenDesktop7\VE_StoreFrontAuthenticationMethod.Set-TargetResource.Calls "Add-DSAuthenticationProtocolsDeployed" method when Ensure is "Present"" time="0.0752" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Remove-DSAuthenticationProtocolsDeployed" method when Ensure is "Absent"" name="XenDesktop7\VE_StoreFrontAuthenticationMethod.Set-TargetResource.Calls "Remove-DSAuthenticationProtocolsDeployed" method when Ensure is "Absent"" time="0.0427" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "UtilsModule" module is registered" name="XenDesktop7\VE_StoreFrontAuthenticationMethod.Set-TargetResource.Asserts "UtilsModule" module is registered" time="0.0399" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "AuthenticationModule" module is registered" name="XenDesktop7\VE_StoreFrontAuthenticationMethod.Set-TargetResource.Asserts "AuthenticationModule" module is registered" time="0.0394" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7StoreFrontBaseUrl.Tests.ps1" executed="True" result="Success" success="True" time="0.3669" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7StoreFrontBaseUrl.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7StoreFrontBaseUrl" executed="True" result="Success" success="True" time="0.3669" asserts="0" description="XenDesktop7\VE_XD7StoreFrontBaseUrl"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.1296" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7StoreFrontBaseUrl.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.0958" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "Citrix.DeliveryServices.Framework.Commands" module is registered" name="XenDesktop7\VE_XD7StoreFrontBaseUrl.Get-TargetResource.Asserts "Citrix.DeliveryServices.Framework.Commands" module is registered" time="0.0338" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.0807" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns True when "BaseUrl" with trailing slash matches" name="XenDesktop7\VE_XD7StoreFrontBaseUrl.Test-TargetResource.Returns True when "BaseUrl" with trailing slash matches" time="0.0443" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "BaseUrl" without trailing slash matches" name="XenDesktop7\VE_XD7StoreFrontBaseUrl.Test-TargetResource.Returns True when "BaseUrl" without trailing slash matches" time="0.0199" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "BaseUrl" does not matches" name="XenDesktop7\VE_XD7StoreFrontBaseUrl.Test-TargetResource.Returns False when "BaseUrl" does not matches" time="0.0165" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.1565" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "Set-DSWebReceiverAuthenticationMethods" method" name="XenDesktop7\VE_XD7StoreFrontBaseUrl.Set-TargetResource.Calls "Set-DSWebReceiverAuthenticationMethods" method" time="0.0763" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "UtilsModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontBaseUrl.Set-TargetResource.Asserts "UtilsModule" module is registered" time="0.0396" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "ClusterConfigurationModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontBaseUrl.Set-TargetResource.Asserts "ClusterConfigurationModule" module is registered" time="0.0407" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7StoreFrontReceiverAuthenticationMethod.Tests.ps1" executed="True" result="Success" success="True" time="0.6206" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7StoreFrontReceiverAuthenticationMethod.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod" executed="True" result="Success" success="True" time="0.6206" asserts="0" description="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.308" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1122" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "UtilsModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Get-TargetResource.Asserts "UtilsModule" module is registered" time="0.0462" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "WebReceiverModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Get-TargetResource.Asserts "WebReceiverModule" module is registered" time="0.054" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "StoresModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Get-TargetResource.Asserts "StoresModule" module is registered" time="0.0956" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.0818" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns True when authentication methods match" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Test-TargetResource.Returns True when authentication methods match" time="0.0445" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when authentication method is missing" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Test-TargetResource.Returns False when authentication method is missing" time="0.0188" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when additional authentication method is present" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Test-TargetResource.Returns False when additional authentication method is present" time="0.0185" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.2308" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "Set-DSWebReceiverAuthenticationMethods" method" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Set-TargetResource.Calls "Set-DSWebReceiverAuthenticationMethods" method" time="0.0728" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "UtilsModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Set-TargetResource.Asserts "UtilsModule" module is registered" time="0.0493" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "WebReceiverModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Set-TargetResource.Asserts "WebReceiverModule" module is registered" time="0.0533" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "StoresModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontReceiverAuthenticationMethod.Set-TargetResource.Asserts "StoresModule" module is registered" time="0.0554" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7StoreFrontUnifiedExperience.Tests.ps1" executed="True" result="Success" success="True" time="0.6983" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7StoreFrontUnifiedExperience.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience" executed="True" result="Success" success="True" time="0.6983" asserts="0" description="XenDesktop7\VE_XD7StoreFrontUnifiedExperience"> <results> <test-suite type="TestFixture" name="Get-TargetResource" executed="True" result="Success" success="True" time="0.3183" asserts="0" description="Get-TargetResource"> <results> <test-case description="Returns a System.Collections.Hashtable type" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Get-TargetResource.Returns a System.Collections.Hashtable type" time="0.1143" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "UtilsModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Get-TargetResource.Asserts "UtilsModule" module is registered" time="0.0535" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "FarmsModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Get-TargetResource.Asserts "FarmsModule" module is registered" time="0.1058" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "StoresModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Get-TargetResource.Asserts "StoresModule" module is registered" time="0.0447" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.1163" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns True when unified experience is enabled on the store and Ensure is "Present"" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Test-TargetResource.Returns True when unified experience is enabled on the store and Ensure is "Present"" time="0.0476" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when unified experience is disabled on the store and Ensure is "Absent"" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Test-TargetResource.Returns True when unified experience is disabled on the store and Ensure is "Absent"" time="0.0213" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when unified experience is disabled on the store and Ensure is "Present"" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Test-TargetResource.Returns False when unified experience is disabled on the store and Ensure is "Present"" time="0.024" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when unified experience is enabled on the store and Ensure is "Absent"" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Test-TargetResource.Returns False when unified experience is enabled on the store and Ensure is "Absent"" time="0.0234" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.2637" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "Set-DSUnifiedExperienceEndpointsForStore" method when Ensure is "Present"" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Set-TargetResource.Calls "Set-DSUnifiedExperienceEndpointsForStore" method when Ensure is "Present"" time="0.0753" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Remove-DSUnifiedExperienceEndpointsForStore" method when Ensure is "Absent"" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Set-TargetResource.Calls "Remove-DSUnifiedExperienceEndpointsForStore" method when Ensure is "Absent"" time="0.0458" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "UtilsModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Set-TargetResource.Asserts "UtilsModule" module is registered" time="0.0487" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "WebReceiverModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Set-TargetResource.Asserts "WebReceiverModule" module is registered" time="0.0475" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Asserts "StoresModule" module is registered" name="XenDesktop7\VE_XD7StoreFrontUnifiedExperience.Set-TargetResource.Asserts "StoresModule" module is registered" time="0.0464" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7VDAController.Tests.ps1" executed="True" result="Success" success="True" time="0.4124" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7VDAController.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7VDAController" executed="True" result="Success" success="True" time="0.4124" asserts="0" description="XenDesktop7\VE_XD7VDAController"> <results> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.2459" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns True when "Ensure" = "Present" and DDC exists with single DDC." name="XenDesktop7\VE_XD7VDAController.Test-TargetResource.Returns True when "Ensure" = "Present" and DDC exists with single DDC." time="0.0821" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Present" and DDC exists with mulitple DDCs." name="XenDesktop7\VE_XD7VDAController.Test-TargetResource.Returns True when "Ensure" = "Present" and DDC exists with mulitple DDCs." time="0.0236" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Present" and DDC does not exist with single DDCs." name="XenDesktop7\VE_XD7VDAController.Test-TargetResource.Returns False when "Ensure" = "Present" and DDC does not exist with single DDCs." time="0.0222" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Present" and DDC does not exist with mulitple DDCs." name="XenDesktop7\VE_XD7VDAController.Test-TargetResource.Returns False when "Ensure" = "Present" and DDC does not exist with mulitple DDCs." time="0.0263" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Absent" and DDC exists with single DDC." name="XenDesktop7\VE_XD7VDAController.Test-TargetResource.Returns False when "Ensure" = "Absent" and DDC exists with single DDC." time="0.0256" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Absent" and DDC exists with mulitple DDCs." name="XenDesktop7\VE_XD7VDAController.Test-TargetResource.Returns False when "Ensure" = "Absent" and DDC exists with mulitple DDCs." time="0.0194" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and DDC does not exist with single DDCs." name="XenDesktop7\VE_XD7VDAController.Test-TargetResource.Returns True when "Ensure" = "Absent" and DDC does not exist with single DDCs." time="0.0253" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and DDC does not exist with mulitple DDCs." name="XenDesktop7\VE_XD7VDAController.Test-TargetResource.Returns True when "Ensure" = "Absent" and DDC does not exist with mulitple DDCs." time="0.0213" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.1665" asserts="0" description="Set-TargetResource"> <results> <test-case description="Calls "Set-ItemProperty" with DDC when name "Ensure" = "Present"" name="XenDesktop7\VE_XD7VDAController.Set-TargetResource.Calls "Set-ItemProperty" with DDC when name "Ensure" = "Present"" time="0.06" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Restart-Service" when "Ensure" = "Present"" name="XenDesktop7\VE_XD7VDAController.Set-TargetResource.Calls "Restart-Service" when "Ensure" = "Present"" time="0.0317" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Set-ItemProperty" without DDC when name "Ensure" = "Absent"" name="XenDesktop7\VE_XD7VDAController.Set-TargetResource.Calls "Set-ItemProperty" without DDC when name "Ensure" = "Absent"" time="0.0331" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Calls "Restart-Service" when "Ensure" = "Absent"" name="XenDesktop7\VE_XD7VDAController.Set-TargetResource.Calls "Restart-Service" when "Ensure" = "Absent"" time="0.0418" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7VDAFeature.Tests.ps1" executed="True" result="Success" success="True" time="1.8227" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\DSC\Resources\XenDesktop7\Tests\Unit\VE_XD7VDAFeature.Tests.ps1"> <results> <test-suite type="TestFixture" name="XenDesktop7\VE_XD7VDAFeature" executed="True" result="Success" success="True" time="1.8227" asserts="0" description="XenDesktop7\VE_XD7VDAFeature"> <results> <test-suite type="TestFixture" name="ResolveXDVdaSetupArguments" executed="True" result="Success" success="True" time="0.6197" asserts="0" description="ResolveXDVdaSetupArguments"> <results> <test-case description="SessionVDA returns default install arguments." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.SessionVDA returns default install arguments." time="0.0997" asserts="0" success="True" result="Success" executed="True" /> <test-case description="SessionVDA returns /enable_real_time_transport argument." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.SessionVDA returns /enable_real_time_transport argument." time="0.018" asserts="0" success="True" result="Success" executed="True" /> <test-case description="SessionVDA returns /optimize argument." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.SessionVDA returns /optimize argument." time="0.0155" asserts="0" success="True" result="Success" executed="True" /> <test-case description="SessionVDA returns /nodesktopexperience argument." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.SessionVDA returns /nodesktopexperience argument." time="0.0173" asserts="0" success="True" result="Success" executed="True" /> <test-case description="SessionVDA returns /components VDA,PLUGINS argument." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.SessionVDA returns /components VDA,PLUGINS argument." time="0.0204" asserts="0" success="True" result="Success" executed="True" /> <test-case description="SessionVDA returns default uninstall arguments." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.SessionVDA returns default uninstall arguments." time="0.0246" asserts="0" success="True" result="Success" executed="True" /> <test-case description="DesktopVDA returns default install arguments." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.DesktopVDA returns default install arguments." time="0.0919" asserts="0" success="True" result="Success" executed="True" /> <test-case description="DesktopVDA returns /enable_real_time_transport argument." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.DesktopVDA returns /enable_real_time_transport argument." time="0.0793" asserts="0" success="True" result="Success" executed="True" /> <test-case description="DesktopVDA returns /optimize argument." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.DesktopVDA returns /optimize argument." time="0.0661" asserts="0" success="True" result="Success" executed="True" /> <test-case description="DesktopVDA returns /nodesktopexperience argument." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.DesktopVDA returns /nodesktopexperience argument." time="0.069" asserts="0" success="True" result="Success" executed="True" /> <test-case description="DesktopVDA returns /components VDA,PLUGINS argument." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.DesktopVDA returns /components VDA,PLUGINS argument." time="0.0657" asserts="0" success="True" result="Success" executed="True" /> <test-case description="DesktopVDA returns default uninstall arguments." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.DesktopVDA returns default uninstall arguments." time="0.0264" asserts="0" success="True" result="Success" executed="True" /> <test-case description="DesktopVDI returns /servervdi argument on server operating system." name="XenDesktop7\VE_XD7VDAFeature.ResolveXDVdaSetupArguments.DesktopVDI returns /servervdi argument on server operating system." time="0.0259" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Get-TargetResourece" executed="True" result="Success" success="True" time="0.1315" asserts="0" description="Get-TargetResourece"> <results> <test-case description="Returns a System.Collections.Hashtable." name="XenDesktop7\VE_XD7VDAFeature.Get-TargetResourece.Returns a System.Collections.Hashtable." time="0.0499" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Ensure" = "Present" when "SessionVDA" role is installed" name="XenDesktop7\VE_XD7VDAFeature.Get-TargetResourece.Returns "Ensure" = "Present" when "SessionVDA" role is installed" time="0.0165" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Ensure" = "Absent" when "SessionVDA" role is not installed" name="XenDesktop7\VE_XD7VDAFeature.Get-TargetResourece.Returns "Ensure" = "Absent" when "SessionVDA" role is not installed" time="0.0211" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Ensure" = "Present" when "DesktopVDA" role is installed" name="XenDesktop7\VE_XD7VDAFeature.Get-TargetResourece.Returns "Ensure" = "Present" when "DesktopVDA" role is installed" time="0.0231" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns "Ensure" = "Absent" when "DesktopVDA" role is not installed" name="XenDesktop7\VE_XD7VDAFeature.Get-TargetResourece.Returns "Ensure" = "Absent" when "DesktopVDA" role is not installed" time="0.0209" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Test-TargetResource" executed="True" result="Success" success="True" time="0.6589" asserts="0" description="Test-TargetResource"> <results> <test-case description="Returns a System.Boolean type." name="XenDesktop7\VE_XD7VDAFeature.Test-TargetResource.Returns a System.Boolean type." time="0.3678" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Present" and role is installed" name="XenDesktop7\VE_XD7VDAFeature.Test-TargetResource.Returns True when "Ensure" = "Present" and role is installed" time="0.0751" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Present" and role is not installed" name="XenDesktop7\VE_XD7VDAFeature.Test-TargetResource.Returns False when "Ensure" = "Present" and role is not installed" time="0.0734" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns False when "Ensure" = "Absent" and role is not installed" name="XenDesktop7\VE_XD7VDAFeature.Test-TargetResource.Returns False when "Ensure" = "Absent" and role is not installed" time="0.0713" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Returns True when "Ensure" = "Absent" and role is installed" name="XenDesktop7\VE_XD7VDAFeature.Test-TargetResource.Returns True when "Ensure" = "Absent" and role is installed" time="0.0714" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="TestFixture" name="Set-TargetResource" executed="True" result="Success" success="True" time="0.4126" asserts="0" description="Set-TargetResource"> <results> <test-case description="Throws with an invalid directory path." name="XenDesktop7\VE_XD7VDAFeature.Set-TargetResource.Throws with an invalid directory path." time="0.0506" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Throws with a valid file path." name="XenDesktop7\VE_XD7VDAFeature.Set-TargetResource.Throws with a valid file path." time="0.0233" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "DesktopVDA" and exit code = "0"" name="XenDesktop7\VE_XD7VDAFeature.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "DesktopVDA" and exit code = "0"" time="0.0459" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "DesktopVDA" and exit code = "3010"" name="XenDesktop7\VE_XD7VDAFeature.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "DesktopVDA" and exit code = "3010"" time="0.0403" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "SessionVDA" and exit code = "0"" name="XenDesktop7\VE_XD7VDAFeature.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "SessionVDA" and exit code = "0"" time="0.0419" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Present", "Role" = "SessionVDA" and exit code = "3010"" name="XenDesktop7\VE_XD7VDAFeature.Set-TargetResource.Flags reboot when "Ensure" = "Present", "Role" = "SessionVDA" and exit code = "3010"" time="0.0469" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "DesktopVDA" and exit code = "0"" name="XenDesktop7\VE_XD7VDAFeature.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "DesktopVDA" and exit code = "0"" time="0.0362" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "DesktopVDA" and exit code = "3010"" name="XenDesktop7\VE_XD7VDAFeature.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "DesktopVDA" and exit code = "3010"" time="0.0401" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "SessionVDA" and exit code = "0"" name="XenDesktop7\VE_XD7VDAFeature.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "SessionVDA" and exit code = "0"" time="0.0452" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Flags reboot when "Ensure" = "Absent", "Role" = "SessionVDA" and exit code = "3010"" name="XenDesktop7\VE_XD7VDAFeature.Set-TargetResource.Flags reboot when "Ensure" = "Absent", "Role" = "SessionVDA" and exit code = "3010"" time="0.042" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> </results> </test-suite> </test-results> |