Adding CmdletsToExport and AliasesToExport to test module manifests. (#9108)

This commit is contained in:
Staffan Gustafsson
2019-03-18 11:09:05 +05:00
committed by Ilya
parent 8f6982cc8a
commit e91d6dcf56
8 changed files with 22 additions and 0 deletions
@@ -33,4 +33,9 @@ FunctionsToExport = @(
'Wait-FileToBePresent'
'Wait-UntilTrue'
)
CmdletsToExport= @()
AliasesToExport= @()
}
@@ -18,4 +18,7 @@ Description = 'Simple console host for console IO tests.'
FunctionsToExport = 'New-TestHost'
AliasesToExport = @()
CmdletsToExport = @()
}
@@ -19,4 +19,7 @@ Description = 'Temporary module for language tests'
FunctionsToExport = 'Get-ParseResults', 'Get-RuntimeError', 'ShouldBeParseError',
'Test-ErrorStmt', 'Test-Ast', 'Test-ErrorStmtForSwitchFlag'
AliasesToExport = @()
CmdletsToExport = @()
}
@@ -18,4 +18,7 @@ Description = 'Temporary module for remoting tests'
FunctionsToExport = 'New-RemoteRunspace', 'New-RemoteSession', 'Enter-RemoteSession', 'Invoke-RemoteCommand', 'Connect-RemoteSession', 'New-RemoteRunspacePool', 'Get-PipePath'
AliasesToExport = @()
CmdletsToExport = @()
}
@@ -10,4 +10,6 @@
Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.'
Description = 'Security tests helper functions'
FunctionsToExport = @()
AliasesToExport = @()
CmdletsToExport = @("Invoke-LanguageModeTestingSupportCmdlet")
}
@@ -7,4 +7,6 @@ Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.'
Description = 'Creates a new HTTP Listener for testing purposes'
RootModule = 'HttpListener.psm1'
FunctionsToExport = @('Start-HttpListener','Stop-HttpListener')
AliasesToExport = @()
CmdletsToExport = @()
}
@@ -15,4 +15,6 @@
'Clear-PSEventLog'
'Wait-PSWinEvent'
)
AliasesToExport = @()
CmdletsToExport = @()
}
@@ -14,4 +14,6 @@
'Start-WebListener'
'Stop-WebListener'
)
AliasesToExport = @()
CmdletsToExport = @()
}