From eae26dc0fa981ba34d66f70061b697c363417660 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Fri, 17 Jun 2016 14:03:28 -0700 Subject: [PATCH] Add test to verify that a simple workflow can run --- test/fullclr/PowerShellGithubDev.Tests.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/fullclr/PowerShellGithubDev.Tests.ps1 b/test/fullclr/PowerShellGithubDev.Tests.ps1 index 69cb5ef820..628f9f1e2c 100644 --- a/test/fullclr/PowerShellGithubDev.Tests.ps1 +++ b/test/fullclr/PowerShellGithubDev.Tests.ps1 @@ -28,6 +28,12 @@ Describe 'build.psm1 and powershell.exe' { [Microsoft.PowerShell.Commands.SecurityDescriptorCommandsBase].Assembly.Location | Should Be ( Join-Path $env:DEVPATH Microsoft.PowerShell.Security.dll) } + + It 'loads Microsoft.PowerShell.Workflow.ServiceCore.dll' { + workflow wfTest {}; wfTest ## Trigger the loading of ServiceCore.dll + [Microsoft.PowerShell.Workflow.PSWorkflowJob].Assembly.Location | Should Be ( + Join-Path $env:DEVPATH Microsoft.PowerShell.Workflow.ServiceCore.dll) + } } }