test: optimize win_psmodule tests (#53431)

This commit is contained in:
Jordan Borean
2019-03-11 05:43:21 +10:00
committed by GitHub
parent 57f706e5a0
commit 830a11dd38
23 changed files with 841 additions and 1235 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>--- NAME ---</id>
<version>--- VERSION ---</version>
<authors>Ansible</authors>
<owners>Ansible</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Test for Ansible win_ps* modules</description>
<releaseNotes></releaseNotes>
<copyright>Copyright (c) 2019 Ansible, licensed under MIT.</copyright>
<tags>PSModule PSIncludes_Function PSFunction_--- FUNCTION --- PSCommand_--- FUNCTION ---</tags>
</metadata>
</package>

View File

@@ -0,0 +1,17 @@
@{
RootModule = '--- NAME ---.psm1'
ModuleVersion = '--- VERSION ---'
GUID = '--- GUID ---'
Author = 'Ansible'
Copyright = 'Copyright (c) 2019 Ansible, licensed under MIT.'
Description = "Test for Ansible win_ps* modules"
PowerShellVersion = '3.0'
FunctionsToExport = @(
"--- FUNCTION ---"
)
PrivateData = @{
PSData = @{
--- PS_DATA ---
}
}
}

View File

@@ -0,0 +1,10 @@
Function --- FUNCTION --- {
return [PSCustomObject]@{
Name = "--- NAME ---"
Version = "--- VERSION ---"
Repo = "--- REPO ---"
}
}
Export-ModuleMember -Function --- FUNCTION ---