mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Adding CmdletsToExport and AliasesToExport to test module manifests. (#9108)
This commit is contained in:
@@ -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'
|
||||
|
||||
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 = @()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user