├── .eslintignore
├── docs
├── packaging-the-module.md
├── testing-with-pester.md
├── debugging-modules.md
└── samples
│ ├── xkcd
│ └── pic.png
│ └── readme.md
├── powershell
├── .eslintignore
├── resources
│ ├── assets
│ │ ├── tools
│ │ │ └── Resources
│ │ │ │ ├── .gitattributes
│ │ │ │ └── .gitignore
│ │ └── pack-module.ps1
│ ├── signing
│ │ └── MSSharedLibKey.snk
│ ├── modules
│ │ └── Az.Accounts
│ │ │ └── 2.13.1
│ │ │ ├── FuzzySharp.dll
│ │ │ ├── Hyak.Common.dll
│ │ │ ├── Microsoft.Azure.Common.dll
│ │ │ ├── lib
│ │ │ ├── netfx
│ │ │ │ ├── Azure.Core.dll
│ │ │ │ ├── Newtonsoft.Json.dll
│ │ │ │ ├── System.Numerics.Vectors.dll
│ │ │ │ ├── System.Xml.ReaderWriter.dll
│ │ │ │ ├── Microsoft.Identity.Client.dll
│ │ │ │ ├── System.Text.Encodings.Web.dll
│ │ │ │ ├── System.Reflection.DispatchProxy.dll
│ │ │ │ ├── System.Security.Cryptography.Cng.dll
│ │ │ │ ├── System.Diagnostics.DiagnosticSource.dll
│ │ │ │ ├── System.Runtime.CompilerServices.Unsafe.dll
│ │ │ │ └── Microsoft.Identity.Client.Extensions.Msal.dll
│ │ │ ├── netcoreapp2.1
│ │ │ │ ├── Azure.Core.dll
│ │ │ │ └── Microsoft.Identity.Client.dll
│ │ │ ├── netstandard2.0
│ │ │ │ ├── System.Memory.dll
│ │ │ │ ├── msalruntime.dll
│ │ │ │ ├── Azure.Identity.dll
│ │ │ │ ├── System.Buffers.dll
│ │ │ │ ├── msalruntime_x86.dll
│ │ │ │ ├── System.Memory.Data.dll
│ │ │ │ ├── System.Text.Json.dll
│ │ │ │ ├── msalruntime_arm64.dll
│ │ │ │ ├── System.Private.ServiceModel.dll
│ │ │ │ ├── System.Security.Permissions.dll
│ │ │ │ ├── Microsoft.Bcl.AsyncInterfaces.dll
│ │ │ │ ├── System.Net.Http.WinHttpHandler.dll
│ │ │ │ ├── System.Security.AccessControl.dll
│ │ │ │ ├── System.ServiceModel.Primitives.dll
│ │ │ │ ├── Microsoft.Identity.Client.Broker.dll
│ │ │ │ ├── System.Security.Principal.Windows.dll
│ │ │ │ ├── System.Threading.Tasks.Extensions.dll
│ │ │ │ ├── Azure.Identity.BrokeredAuthentication.dll
│ │ │ │ ├── Microsoft.IdentityModel.Abstractions.dll
│ │ │ │ └── Microsoft.Identity.Client.NativeInterop.dll
│ │ │ └── netcoreapp3.1
│ │ │ │ └── Microsoft.Identity.Client.Extensions.Msal.dll
│ │ │ ├── Microsoft.ApplicationInsights.dll
│ │ │ ├── Microsoft.Rest.ClientRuntime.dll
│ │ │ ├── Microsoft.WindowsAzure.Storage.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Common.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Storage.dll
│ │ │ ├── Microsoft.Rest.ClientRuntime.Azure.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Strategies.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.Aks.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Common.Share.dll
│ │ │ ├── Microsoft.Azure.PowerShell.AssemblyLoading.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Authentication.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Authenticators.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.Compute.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.Monitor.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.Network.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.KeyVault.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.Websites.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll
│ │ │ ├── Microsoft.WindowsAzure.Storage.DataMovement.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.Authorization.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.ResourceManager.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Authentication.Abstractions.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Clients.Storage.Management.dll
│ │ │ ├── Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll
│ │ │ ├── Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll
│ │ │ └── _rels
│ │ │ └── .rels
│ ├── templates
│ │ └── azureMethod.ejs
│ ├── utils
│ │ └── Unprotect-SecureString.ps1
│ └── runtime
│ │ └── csharp
│ │ └── json
│ │ └── Helpers
│ │ └── Seperator.cs
├── utils
│ └── uid.ts
├── changelog.md
├── .eslintrc.yaml
├── test
│ └── resources
│ │ └── operations
│ │ └── model.yaml
├── .npmignore
└── tsconfig.json
├── .azure-pipelines
├── credscan-suppressions.json
└── security-scan.yml
├── .github
└── CODEOWNERS
├── tests-upgrade
├── tests-m4-upgrade
│ ├── mysql
│ │ ├── .gitattributes
│ │ ├── tools
│ │ │ └── Resources
│ │ │ │ ├── .gitattributes
│ │ │ │ └── .gitignore
│ │ └── .gitignore
│ ├── .gitignore
│ ├── README.md
│ ├── datamodels-datatypes-byte
│ │ ├── examples
│ │ │ ├── byte_getNull.json
│ │ │ ├── byte_getEmpty.json
│ │ │ ├── byte_getInvalid.json
│ │ │ ├── byte_getNonAscii.json
│ │ │ └── byte_putNonAscii.json
│ │ └── readme.md
│ ├── datamodels-datatypes-boolean
│ │ ├── examples
│ │ │ ├── bool_getNull.json
│ │ │ ├── bool_getFalse.json
│ │ │ ├── bool_putFalse.json
│ │ │ ├── bool_getTrue.json
│ │ │ └── bool_putTrue.json
│ │ └── readme.md
│ ├── datamodels-datatypes-date
│ │ ├── examples
│ │ │ ├── date_getNull.json
│ │ │ ├── date_getMaxDate.json
│ │ │ ├── date_getMinDate.json
│ │ │ ├── date_putMaxDate.json
│ │ │ └── date_putMinDate.json
│ │ └── readme.md
│ ├── datamodels-datatypes-datetime
│ │ ├── examples
│ │ │ ├── datetime_getNull.json
│ │ │ ├── datetime_getUtcMinDateTime.json
│ │ │ ├── datetime_putUtcMinDateTime.json
│ │ │ ├── datetime_getLocalNoOffsetMinDateTime.json
│ │ │ ├── datetime_putUtcMaxDateTime.json
│ │ │ ├── datetime_getUtcLowercaseMaxDateTime.json
│ │ │ ├── datetime_getUtcUppercaseMaxDateTime.json
│ │ │ ├── datetime_getLocalNegativeOffsetMinDateTime.json
│ │ │ ├── datetime_putLocalNegativeOffsetMinDateTime.json
│ │ │ ├── datetime_putLocalPositiveOffsetMaxDateTime.json
│ │ │ ├── datetime_getLocalPositiveOffsetLowercaseMaxDateTime.json
│ │ │ └── datetime_getLocalPositiveOffsetUppercaseMaxDateTime.json
│ │ └── readme.md
│ ├── basic-get-querystr
│ │ └── readme.md
│ ├── basic-get
│ │ └── readme.md
│ ├── basic-get-delete
│ │ └── readme.md
│ ├── basic-polymorphism
│ │ └── readme.md
│ ├── basic-request-methods
│ │ └── readme.md
│ ├── basic-spec-root
│ │ └── readme.md
│ ├── component-param
│ │ └── readme.md
│ ├── datamodels-enums
│ │ └── readme.md
│ ├── extension-ms-enum
│ │ └── readme.md
│ ├── basic-spec-required
│ │ └── readme.md
│ ├── component-definitions-remote
│ │ └── readme.md
│ ├── component-definitions-url
│ │ └── readme.md
│ ├── component-multiparam
│ │ └── readme.md
│ ├── component-param-inbody
│ │ └── readme.md
│ ├── component-param-remote
│ │ └── readme.md
│ ├── extension-ms-clientname
│ │ └── readme.md
│ ├── extension-ms-examples
│ │ └── readme.md
│ ├── extension-ms-mutability
│ │ └── readme.md
│ ├── extension-ms-pageable
│ │ └── readme.md
│ ├── basic-get-delete-put-patch
│ │ └── readme.md
│ ├── basic-get-response-operation
│ │ └── readme.md
│ ├── component-definitions-local
│ │ └── readme.md
│ ├── component-param-additional
│ │ └── readme.md
│ ├── component-param-grouping
│ │ └── readme.md
│ ├── component-param-localremote
│ │ └── readme.md
│ ├── datamodels-combineschema
│ │ └── readme.md
│ ├── datamodels-datatypes-array
│ │ └── readme.md
│ ├── datamodels-datatypes-file
│ │ └── readme.md
│ ├── datamodels-datatypes-integer
│ │ └── readme.md
│ ├── datamodels-datatypes-object
│ │ └── readme.md
│ ├── datamodels-datatypes-string
│ │ └── readme.md
│ ├── extension-ms-azureresource
│ │ └── readme.md
│ ├── extension-ms-clientflatten
│ │ └── readme.md
│ ├── extension-ms-paramlocation
│ │ └── readme.md
│ ├── basic-response-multioperation
│ │ └── readme.md
│ ├── component-definitions-combined
│ │ └── readme.md
│ ├── component-param-resourceasarraay
│ │ └── readme.md
│ ├── component-param-specialproperties
│ │ └── readme.md
│ ├── datamodels-datatypes-mixedtypes
│ │ └── readme.md
│ ├── datamodels-datatypes-nullable
│ │ └── readme.md
│ ├── datamodels-datatypes-unixtime
│ │ └── readme.md
│ ├── extension-ms-discriminatorvalue
│ │ └── readme.md
│ ├── extension-ms-longruningoperation
│ │ └── readme.md
│ ├── datamodels-datatypes-boolean-quirks
│ │ └── readme.md
│ ├── basic-disableazure-get
│ │ └── readme.md
│ ├── basic-disableazure-response
│ │ └── readme.md
│ ├── examples
│ │ └── WorkspaceDelete.json
│ ├── directive-aliasremoval
│ │ └── readme.md
│ └── directive-enum
│ │ └── readme.md
└── tests-sdk1-support
│ ├── .gitignore
│ ├── datamodels-datatypes-byte
│ ├── examples
│ │ ├── byte_getNull.json
│ │ ├── byte_getEmpty.json
│ │ ├── byte_getInvalid.json
│ │ ├── byte_getNonAscii.json
│ │ └── byte_putNonAscii.json
│ └── readme.md
│ ├── datamodels-datatypes-boolean
│ ├── examples
│ │ ├── bool_getNull.json
│ │ ├── bool_getFalse.json
│ │ ├── bool_putFalse.json
│ │ ├── bool_getTrue.json
│ │ └── bool_putTrue.json
│ └── readme.md
│ ├── datamodels-datatypes-date
│ ├── examples
│ │ ├── date_getNull.json
│ │ ├── date_getMaxDate.json
│ │ ├── date_getMinDate.json
│ │ ├── date_putMaxDate.json
│ │ └── date_putMinDate.json
│ └── readme.md
│ ├── datamodels-datatypes-datetime
│ ├── examples
│ │ ├── datetime_getNull.json
│ │ ├── datetime_getUtcMinDateTime.json
│ │ ├── datetime_putUtcMinDateTime.json
│ │ ├── datetime_getLocalNoOffsetMinDateTime.json
│ │ ├── datetime_putUtcMaxDateTime.json
│ │ ├── datetime_getUtcLowercaseMaxDateTime.json
│ │ ├── datetime_getUtcUppercaseMaxDateTime.json
│ │ ├── datetime_getLocalNegativeOffsetMinDateTime.json
│ │ ├── datetime_putLocalNegativeOffsetMinDateTime.json
│ │ ├── datetime_putLocalPositiveOffsetMaxDateTime.json
│ │ ├── datetime_getLocalPositiveOffsetLowercaseMaxDateTime.json
│ │ └── datetime_getLocalPositiveOffsetUppercaseMaxDateTime.json
│ └── readme.md
│ ├── basic-get
│ └── readme.md
│ ├── basic-get-delete
│ └── readme.md
│ ├── basic-get-querystr
│ └── readme.md
│ ├── basic-request-methods
│ └── readme.md
│ ├── basic-spec-root
│ └── readme.md
│ ├── component-param
│ └── readme.md
│ ├── datamodels-enums
│ └── readme.md
│ ├── basic-polymorphism
│ └── readme.md
│ ├── basic-spec-required
│ └── readme.md
│ ├── component-definitions-url
│ └── readme.md
│ ├── component-multiparam
│ └── readme.md
│ ├── extension-ms-enum
│ └── readme.md
│ ├── extension-ms-examples
│ └── readme.md
│ ├── extension-ms-pageable
│ └── readme.md
│ ├── basic-get-delete-put-patch
│ └── readme.md
│ ├── component-definitions-remote
│ └── readme.md
│ ├── component-param-additional
│ └── readme.md
│ ├── component-param-grouping
│ └── readme.md
│ ├── component-param-inbody
│ └── readme.md
│ ├── component-param-remote
│ └── readme.md
│ ├── datamodels-combineschema
│ └── readme.md
│ ├── datamodels-datatypes-array
│ └── readme.md
│ ├── datamodels-datatypes-file
│ └── readme.md
│ ├── extension-ms-azureresource
│ └── readme.md
│ ├── extension-ms-clientflatten
│ └── readme.md
│ ├── extension-ms-clientname
│ └── readme.md
│ ├── extension-ms-mutability
│ └── readme.md
│ ├── extension-ms-paramlocation
│ └── readme.md
│ ├── basic-get-response-operation
│ └── readme.md
│ ├── basic-response-multioperation
│ └── readme.md
│ ├── component-definitions-combined
│ └── readme.md
│ ├── component-definitions-local
│ └── readme.md
│ ├── component-param-localremote
│ └── readme.md
│ ├── datamodels-datatypes-integer
│ └── readme.md
│ ├── datamodels-datatypes-nullable
│ └── readme.md
│ ├── datamodels-datatypes-object
│ └── readme.md
│ ├── datamodels-datatypes-string
│ └── readme.md
│ ├── datamodels-datatypes-unixtime
│ └── readme.md
│ ├── extension-ms-discriminatorvalue
│ └── readme.md
│ ├── component-param-resourceasarraay
│ └── readme.md
│ ├── component-param-specialproperties
│ └── readme.md
│ ├── datamodels-datatypes-boolean-quirks
│ └── readme.md
│ ├── extension-ms-longruningoperation
│ └── readme.md
│ ├── basic-disableazure-get
│ └── readme.md
│ ├── basic-disableazure-response
│ └── readme.md
│ └── examples
│ └── WorkspaceDelete.json
├── .scripts
├── npm-run.js
├── interactive-testserver.ps1
├── generate-tests.ps1
└── run-tests.ps1
├── tests
├── body-complex
│ └── test
│ │ ├── localEnv.json
│ │ ├── Get-ArrayEmpty.Tests.ps1
│ │ ├── loadEnv.ps1
│ │ ├── Get-PrimitiveByte.Tests.ps1
│ │ ├── Get-PrimitiveDate.Tests.ps1
│ │ ├── Get-PrimitiveInt.Tests.ps1
│ │ ├── Get-PrimitiveLong.Tests.ps1
│ │ ├── Get-ArrayNotProvided.Tests.ps1
│ │ ├── Get-PrimitiveFloat.Tests.ps1
│ │ ├── Get-PrimitiveDouble.Tests.ps1
│ │ └── Get-PrimitiveString.Tests.ps1
├── validation
│ └── test
│ │ ├── Get-.Tests.ps1
│ │ └── loadEnv.ps1
├── body-file
│ └── test
│ │ ├── Get-File.Tests.ps1
│ │ ├── Get-FileLarge.Tests.ps1
│ │ ├── loadEnv.ps1
│ │ └── Get-FileEmptyFile.Tests.ps1
├── report
│ └── test
│ │ ├── Get-Report.Tests.ps1
│ │ └── loadEnv.ps1
├── azure-report
│ └── test
│ │ ├── Get-Report.Tests.ps1
│ │ └── loadEnv.ps1
├── azure-resource-x
│ └── test
│ │ ├── Get-Array.Tests.ps1
│ │ ├── Set-Array.Tests.ps1
│ │ ├── Get-Dictionary.Tests.ps1
│ │ └── loadEnv.ps1
├── azure-resource
│ └── test
│ │ ├── Get-Array.Tests.ps1
│ │ ├── Set-Array.Tests.ps1
│ │ ├── Get-Dictionary.Tests.ps1
│ │ └── loadEnv.ps1
├── complex-model
│ └── test
│ │ ├── Get-Redis.Tests.ps1
│ │ └── loadEnv.ps1
├── model-flattening
│ └── test
│ │ ├── Get-Array.Tests.ps1
│ │ ├── Set-Array.Tests.ps1
│ │ ├── Get-Dictionary.Tests.ps1
│ │ ├── Get-WrappedArray.Tests.ps1
│ │ └── Set-WrappedArray.Tests.ps1
├── body-boolean
│ └── test
│ │ ├── Get-BoolNull.Tests.ps1
│ │ ├── Get-BoolTrue.Tests.ps1
│ │ ├── Set-BoolTrue.Tests.ps1
│ │ ├── Get-BoolFalse.Tests.ps1
│ │ ├── Set-BoolFalse.Tests.ps1
│ │ ├── Get-BoolInvalid.Tests.ps1
│ │ └── loadEnv.ps1
├── body-byte
│ └── test
│ │ ├── Get-ByteEmpty.Tests.ps1
│ │ ├── Get-ByteNull.Tests.ps1
│ │ ├── loadEnv.ps1
│ │ ├── Get-ByteInvalid.Tests.ps1
│ │ ├── Get-ByteNonAscii.Tests.ps1
│ │ └── Set-ByteNonAscii.Tests.ps1
├── body-date
│ └── test
│ │ ├── Get-DateNull.Tests.ps1
│ │ ├── loadEnv.ps1
│ │ ├── Get-DateMaxDate.Tests.ps1
│ │ ├── Get-DateMinDate.Tests.ps1
│ │ ├── Set-DateMaxDate.Tests.ps1
│ │ ├── Set-DateMinDate.Tests.ps1
│ │ ├── Get-DateInvalidDate.Tests.ps1
│ │ ├── Get-DateOverflowDate.Tests.ps1
│ │ └── Get-DateUnderflowDate.Tests.ps1
├── body-integer
│ └── test
│ │ ├── Get-IntNull.Tests.ps1
│ │ ├── Set-IntMax32.Tests.ps1
│ │ ├── Set-IntMax64.Tests.ps1
│ │ ├── Set-IntMin32.Tests.ps1
│ │ ├── Set-IntMin64.Tests.ps1
│ │ ├── Get-IntInvalid.Tests.ps1
│ │ ├── Get-IntUnixTime.Tests.ps1
│ │ ├── loadEnv.ps1
│ │ ├── Get-IntNullUnixTime.Tests.ps1
│ │ ├── Get-IntOverflowInt32.Tests.ps1
│ │ ├── Get-IntOverflowInt64.Tests.ps1
│ │ └── Set-IntUnixTimeDate.Tests.ps1
├── head
│ └── test
│ │ └── loadEnv.ps1
├── paging
│ └── test
│ │ ├── loadEnv.ps1
│ │ └── Get-PagingSinglePage.Tests.ps1
├── url
│ └── test
│ │ ├── loadEnv.ps1
│ │ ├── Get-QueryIntNull.Tests.ps1
│ │ ├── Get-PathTenBillion.Tests.ps1
│ │ ├── Get-QueryLongNull.Tests.ps1
│ │ ├── Get-PathBooleanTrue.Tests.ps1
│ │ ├── Get-QueryBooleanNull.Tests.ps1
│ │ ├── Get-QueryBooleanTrue.Tests.ps1
│ │ ├── Get-QueryTenBillion.Tests.ps1
│ │ ├── Get-PathIntOneMillion.Tests.ps1
│ │ ├── Get-QueryBooleanFalse.Tests.ps1
│ │ ├── Invoke-ByteQueryNull.Tests.ps1
│ │ ├── Invoke-DatePathValid.Tests.ps1
│ │ ├── Invoke-DateQueryNull.Tests.ps1
│ │ ├── Invoke-DateQueryValid.Tests.ps1
│ │ ├── Invoke-EmptyQueryByte.Tests.ps1
│ │ ├── Invoke-EnumQueryNull.Tests.ps1
│ │ ├── Invoke-EnumQueryValid.Tests.ps1
│ │ ├── Invoke-FloatQueryNull.Tests.ps1
│ │ ├── Get-QueryIntOneMillion.Tests.ps1
│ │ ├── Invoke-DoubleQueryNull.Tests.ps1
│ │ └── Invoke-StringQueryNull.Tests.ps1
├── azure-special-properties
│ └── test
│ │ ├── Get-Odata.Tests.ps1
│ │ └── loadEnv.ps1
├── body-array
│ └── test
│ │ ├── Get-ArrayEmpty.Tests.ps1
│ │ ├── Get-ArrayNull.Tests.ps1
│ │ ├── Get-ArrayValid.Tests.ps1
│ │ ├── Set-ArrayEmpty.Tests.ps1
│ │ ├── Set-ArrayValid.Tests.ps1
│ │ ├── loadEnv.ps1
│ │ ├── Get-ArrayInvalid.Tests.ps1
│ │ ├── Get-ArrayString.Tests.ps1
│ │ ├── Get-ArrayItemNull.Tests.ps1
│ │ ├── Get-ArrayBase64Url.Tests.ps1
│ │ ├── Get-ArrayByteValid.Tests.ps1
│ │ ├── Get-ArrayDateValid.Tests.ps1
│ │ ├── Get-ArrayEnumValid.Tests.ps1
│ │ ├── Get-ArrayFloatValid.Tests.ps1
│ │ ├── Get-ArrayItemEmpty.Tests.ps1
│ │ ├── Get-ArrayLongValid.Tests.ps1
│ │ ├── Get-ArrayUuidValid.Tests.ps1
│ │ ├── Set-ArrayByteValid.Tests.ps1
│ │ ├── Set-ArrayDateValid.Tests.ps1
│ │ ├── Set-ArrayEnumValid.Tests.ps1
│ │ ├── Set-ArrayFloatValid.Tests.ps1
│ │ ├── Set-ArrayLongValid.Tests.ps1
│ │ ├── Set-ArrayUuidValid.Tests.ps1
│ │ ├── Get-ArrayBooleanTfft.Tests.ps1
│ │ ├── Get-ArrayComplexEmpty.Tests.ps1
│ │ ├── Get-ArrayComplexNull.Tests.ps1
│ │ ├── Get-ArrayComplexValid.Tests.ps1
│ │ ├── Get-ArrayDoubleValid.Tests.ps1
│ │ ├── Get-ArrayIntegerValid.Tests.ps1
│ │ ├── Get-ArrayStringValid.Tests.ps1
│ │ ├── Set-ArrayBooleanTfft.Tests.ps1
│ │ ├── Set-ArrayComplexValid.Tests.ps1
│ │ ├── Set-ArrayDoubleValid.Tests.ps1
│ │ ├── Set-ArrayIntegerValid.Tests.ps1
│ │ ├── Set-ArrayStringValid.Tests.ps1
│ │ ├── Get-ArrayDateTimeValid.Tests.ps1
│ │ ├── Get-ArrayDurationValid.Tests.ps1
│ │ ├── Set-ArrayDateTimeValid.Tests.ps1
│ │ └── Set-ArrayDurationValid.Tests.ps1
├── body-number
│ └── test
│ │ ├── Get-NumberNull.Tests.ps1
│ │ ├── loadEnv.ps1
│ │ ├── Get-NumberBigDouble.Tests.ps1
│ │ ├── Get-NumberBigFloat.Tests.ps1
│ │ ├── Set-NumberBigDouble.Tests.ps1
│ │ ├── Set-NumberBigFloat.Tests.ps1
│ │ ├── Get-NumberBigDecimal.Tests.ps1
│ │ ├── Get-NumberSmallFloat.Tests.ps1
│ │ ├── Set-NumberBigDecimal.Tests.ps1
│ │ └── Set-NumberSmallFloat.Tests.ps1
├── body-string
│ └── test
│ │ ├── Get-StringMbc.Tests.ps1
│ │ ├── Get-StringNull.Tests.ps1
│ │ ├── Set-StringMbc.Tests.ps1
│ │ ├── Set-StringNull.Tests.ps1
│ │ ├── loadEnv.ps1
│ │ ├── Get-StringEmpty.Tests.ps1
│ │ ├── Set-StringEmpty.Tests.ps1
│ │ ├── Get-EnumReferenced.Tests.ps1
│ │ ├── Set-EnumReferenced.Tests.ps1
│ │ ├── Get-StringWhitespace.Tests.ps1
│ │ └── Set-StringWhitespace.Tests.ps1
├── custom-baseUrl
│ └── test
│ │ ├── Get-PathEmpty.Tests.ps1
│ │ └── loadEnv.ps1
├── body-datetime
│ └── test
│ │ ├── loadEnv.ps1
│ │ ├── Get-DatetimeNull.Tests.ps1
│ │ ├── Get-DatetimeInvalid.Tests.ps1
│ │ └── Get-DatetimeOverflow.Tests.ps1
├── body-dictionary
│ └── test
│ │ ├── loadEnv.ps1
│ │ ├── Get-DictionaryEmpty.Tests.ps1
│ │ ├── Get-DictionaryNull.Tests.ps1
│ │ └── Get-DictionaryValid.Tests.ps1
├── body-duration
│ └── test
│ │ ├── loadEnv.ps1
│ │ ├── Get-DurationNull.Tests.ps1
│ │ └── Get-DurationInvalid.Tests.ps1
├── head-exceptions
│ └── test
│ │ └── loadEnv.ps1
├── body-datetime-rfc1123
│ └── test
│ │ └── loadEnv.ps1
├── httpInfrastructure
│ └── test
│ │ └── loadEnv.ps1
├── required-optional
│ └── test
│ │ └── loadEnv.ps1
├── azure-parameter-grouping
│ └── test
│ │ └── loadEnv.ps1
├── extensible-enums-swagger
│ └── test
│ │ └── loadEnv.ps1
├── subscriptionId-apiVersion
│ └── test
│ │ └── loadEnv.ps1
├── url-multi-collectionFormat
│ └── test
│ │ └── loadEnv.ps1
└── custom-baseUrl-more-options
│ └── test
│ └── loadEnv.ps1
├── .gitattributes
├── samples
└── TimesWire
│ └── generated
│ └── tests
│ └── get-article.tests.ps1
└── tools
└── docker
└── readme.md
/.eslintignore:
--------------------------------------------------------------------------------
1 | **/*.d.ts
--------------------------------------------------------------------------------
/docs/packaging-the-module.md:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/powershell/.eslintignore:
--------------------------------------------------------------------------------
1 | **/*.d.ts
--------------------------------------------------------------------------------
/.azure-pipelines/credscan-suppressions.json:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @microsoftgraph/msgraph-powershell-team
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/mysql/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
--------------------------------------------------------------------------------
/powershell/resources/assets/tools/Resources/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/mysql/tools/Resources/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
--------------------------------------------------------------------------------
/docs/testing-with-pester.md:
--------------------------------------------------------------------------------
1 | # Coming Soon - Testing generated modules with Pester
2 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/.gitignore:
--------------------------------------------------------------------------------
1 | generated
2 | generate
3 |
4 | CompareResult
--------------------------------------------------------------------------------
/powershell/utils/uid.ts:
--------------------------------------------------------------------------------
1 | let n = 0;
2 |
3 | export function uid() {
4 | return n++;
5 | }
--------------------------------------------------------------------------------
/docs/debugging-modules.md:
--------------------------------------------------------------------------------
1 | # Coming Soon - Easy Debugging modules with Visual Studio Code.
2 |
3 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/.gitignore:
--------------------------------------------------------------------------------
1 | !**/Generated/**
2 | **/powershell/**
3 | CompareResult
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/README.md:
--------------------------------------------------------------------------------
1 | ### Description
2 | Add test case for autorest powershell upgrade.
--------------------------------------------------------------------------------
/.scripts/npm-run.js:
--------------------------------------------------------------------------------
1 | // Runs the npm run command on each project that has it.
2 | require('./for-each').npm(process.argv[2]);
--------------------------------------------------------------------------------
/docs/samples/xkcd/pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/docs/samples/xkcd/pic.png
--------------------------------------------------------------------------------
/powershell/changelog.md:
--------------------------------------------------------------------------------
1 | # Change Log - @autorest/powershell
2 |
3 | # 3/28/2019
4 | - republishing to force change in package dependency chain.
5 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-byte/examples/byte_getNull.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {}
5 | }
6 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-byte/examples/byte_getNull.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {}
5 | }
6 | }
--------------------------------------------------------------------------------
/powershell/resources/signing/MSSharedLibKey.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/signing/MSSharedLibKey.snk
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-boolean/examples/bool_getNull.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {}
5 | }
6 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-boolean/examples/bool_getNull.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {}
5 | }
6 | }
--------------------------------------------------------------------------------
/tests/body-complex/test/localEnv.json:
--------------------------------------------------------------------------------
1 | {
2 | "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47",
3 | "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f"
4 | }
5 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-byte/examples/byte_getEmpty.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": ""
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-date/examples/date_getNull.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": ""
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-date/examples/date_getNull.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": ""
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/FuzzySharp.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/FuzzySharp.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Hyak.Common.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Hyak.Common.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-boolean/examples/bool_getFalse.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": false
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-boolean/examples/bool_putFalse.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "boolBody": false
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-byte/examples/byte_getEmpty.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": ""
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-boolean/examples/bool_getTrue.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | },
4 | "responses": {
5 | "200": {
6 | "body": true
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_getNull.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": ""
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-boolean/examples/bool_getFalse.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": false
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-boolean/examples/bool_putFalse.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "boolBody": false
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_getNull.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": ""
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-boolean/examples/bool_putTrue.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "boolBody": true
4 | },
5 | "responses": {
6 | "200": {
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-date/examples/date_getMaxDate.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "9999-12-31"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-date/examples/date_getMinDate.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "0001-01-01"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-date/examples/date_putMaxDate.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "dateBody": "9999-12-31"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-date/examples/date_putMinDate.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "dateBody": "0001-01-01"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-boolean/examples/bool_getTrue.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | },
4 | "responses": {
5 | "200": {
6 | "body": true
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-boolean/examples/bool_putTrue.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "boolBody": true
4 | },
5 | "responses": {
6 | "200": {
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-date/examples/date_getMaxDate.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "9999-12-31"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-date/examples/date_getMinDate.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "0001-01-01"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-date/examples/date_putMaxDate.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "dateBody": "9999-12-31"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-date/examples/date_putMinDate.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "dateBody": "0001-01-01"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/.scripts/interactive-testserver.ps1:
--------------------------------------------------------------------------------
1 | $testServer = get-command "$(resolve-path $PSScriptRoot/..)/powershell/node_modules/.bin/start-autorest-express"
2 |
3 | & $testServer --verbose --show-messages --interactive
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-byte/examples/byte_getInvalid.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "::::SWAGGER::::"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-byte/examples/byte_getNonAscii.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "//79/Pv6+fj39g=="
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-byte/examples/byte_putNonAscii.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "byteBody": "//79/Pv6+fj39g=="
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-byte/examples/byte_getInvalid.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "::::SWAGGER::::"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-byte/examples/byte_getNonAscii.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "//79/Pv6+fj39g=="
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-byte/examples/byte_putNonAscii.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "byteBody": "//79/Pv6+fj39g=="
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.Common.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.Common.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/Azure.Core.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/Azure.Core.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/powershell/.eslintrc.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | # configure plugins first
3 | parser: "@typescript-eslint/parser"
4 | plugins:
5 | - "@typescript-eslint"
6 |
7 | # then inherit the common settings
8 | extends:
9 | - "../.default-eslintrc.yaml"
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.ApplicationInsights.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.ApplicationInsights.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Rest.ClientRuntime.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Rest.ClientRuntime.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netcoreapp2.1/Azure.Core.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netcoreapp2.1/Azure.Core.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_getUtcMinDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "0001-01-01T00:00:00Z"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_putUtcMinDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "datetimeBody": "0001-01-01T00:00:00Z"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_getUtcMinDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "0001-01-01T00:00:00Z"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.WindowsAzure.Storage.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.WindowsAzure.Storage.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Memory.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Memory.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/msalruntime.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/msalruntime.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_getLocalNoOffsetMinDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "0001-01-01T00:00:00"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_putUtcMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "datetimeBody": "9999-12-31T23:59:59.999Z"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_putUtcMinDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "datetimeBody": "0001-01-01T00:00:00Z"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Common.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Common.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Storage.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Storage.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Rest.ClientRuntime.Azure.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Rest.ClientRuntime.Azure.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Numerics.Vectors.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Numerics.Vectors.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Xml.ReaderWriter.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Xml.ReaderWriter.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Azure.Identity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Azure.Identity.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Buffers.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Buffers.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/msalruntime_x86.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/msalruntime_x86.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_getUtcLowercaseMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "9999-12-31t23:59:59.999z"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_getUtcUppercaseMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "9999-12-31T23:59:59.999Z"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/mysql/.gitignore:
--------------------------------------------------------------------------------
1 | bin
2 | obj
3 | .vs
4 | generated
5 | internal
6 | exports
7 | custom/*.psm1
8 | test/*-TestResults.xml
9 | /*.ps1
10 | /*.ps1xml
11 | /*.psm1
12 | /*.snk
13 | /*.csproj
14 | /*.nuspec
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_getLocalNoOffsetMinDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "0001-01-01T00:00:00"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_putUtcMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "datetimeBody": "9999-12-31T23:59:59.999Z"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Strategies.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Strategies.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/Microsoft.Identity.Client.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/Microsoft.Identity.Client.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Text.Encodings.Web.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Text.Encodings.Web.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Memory.Data.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Memory.Data.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Text.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Text.Json.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/msalruntime_arm64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/msalruntime_arm64.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_getUtcLowercaseMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "9999-12-31t23:59:59.999z"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_getUtcUppercaseMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "9999-12-31T23:59:59.999Z"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Aks.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Aks.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Common.Share.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Common.Share.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_getLocalNegativeOffsetMinDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "0001-01-01T00:00:00-14:00"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_getLocalNegativeOffsetMinDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "0001-01-01T00:00:00-14:00"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.AssemblyLoading.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.AssemblyLoading.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Authentication.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Authentication.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Authenticators.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Authenticators.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Compute.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Compute.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Monitor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Monitor.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Network.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Network.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Reflection.DispatchProxy.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Reflection.DispatchProxy.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Security.Cryptography.Cng.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Security.Cryptography.Cng.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_putLocalNegativeOffsetMinDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "datetimeBody": "0001-01-01T00:00:00-14:00"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_putLocalPositiveOffsetMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "datetimeBody": "9999-12-31T23:59:59.999+14:00"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/mysql/tools/Resources/.gitignore:
--------------------------------------------------------------------------------
1 | bin
2 | obj
3 | .vs
4 | generated
5 | internal
6 | exports
7 | custom/*.psm1
8 | test/*-TestResults.xml
9 | /*.ps1
10 | /*.ps1xml
11 | /*.psm1
12 | /*.snk
13 | /*.csproj
14 | /*.nuspec
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_putLocalNegativeOffsetMinDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "datetimeBody": "0001-01-01T00:00:00-14:00"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.KeyVault.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.KeyVault.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Websites.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Websites.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.WindowsAzure.Storage.DataMovement.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.WindowsAzure.Storage.DataMovement.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netcoreapp2.1/Microsoft.Identity.Client.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netcoreapp2.1/Microsoft.Identity.Client.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_getLocalPositiveOffsetLowercaseMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "9999-12-31t23:59:59.999+14:00"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/examples/datetime_getLocalPositiveOffsetUppercaseMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "9999-12-31T23:59:59.999+14:00"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_putLocalPositiveOffsetMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "datetimeBody": "9999-12-31T23:59:59.999+14:00"
4 | },
5 | "responses": {
6 | "200": {}
7 | }
8 | }
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Diagnostics.DiagnosticSource.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Diagnostics.DiagnosticSource.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Private.ServiceModel.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Private.ServiceModel.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Security.Permissions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Security.Permissions.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_getLocalPositiveOffsetLowercaseMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "9999-12-31t23:59:59.999+14:00"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/examples/datetime_getLocalPositiveOffsetUppercaseMaxDateTime.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {},
3 | "responses": {
4 | "200": {
5 | "body": "9999-12-31T23:59:59.999+14:00"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Authorization.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Authorization.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Runtime.CompilerServices.Unsafe.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/System.Runtime.CompilerServices.Unsafe.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Net.Http.WinHttpHandler.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Net.Http.WinHttpHandler.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Security.AccessControl.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Security.AccessControl.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.ServiceModel.Primitives.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.ServiceModel.Primitives.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.ResourceManager.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.ResourceManager.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/Microsoft.Identity.Client.Extensions.Msal.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netfx/Microsoft.Identity.Client.Extensions.Msal.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Microsoft.Identity.Client.Broker.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Microsoft.Identity.Client.Broker.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Security.Principal.Windows.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Security.Principal.Windows.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-get-querystr/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 | ```
10 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-get/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-get/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/powershell/resources/assets/tools/Resources/.gitignore:
--------------------------------------------------------------------------------
1 | bin
2 | obj
3 | .vs
4 | generated
5 | internal
6 | exports
7 | custom/*.psm1
8 | custom/autogen-model-cmdlets
9 | test/*-TestResults.xml
10 | /*.ps1
11 | /*.ps1xml
12 | /*.psm1
13 | /*.snk
14 | /*.csproj
15 | /*.nuspec
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Authentication.Abstractions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Authentication.Abstractions.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Storage.Management.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Clients.Storage.Management.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-get-delete/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-polymorphism/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-request-methods/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 | ```
10 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-spec-root/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-param/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-enums/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/extension-ms-enum/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-get-delete/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-get-querystr/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 | ```
10 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-request-methods/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 | ```
10 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-spec-root/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-param/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-enums/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Azure.Identity.BrokeredAuthentication.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Azure.Identity.BrokeredAuthentication.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Microsoft.IdentityModel.Abstractions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Microsoft.IdentityModel.Abstractions.dll
--------------------------------------------------------------------------------
/powershell/test/resources/operations/model.yaml:
--------------------------------------------------------------------------------
1 | details:
2 | default:
3 | title: TestService
4 | prefix: az
5 | azure: true
6 | service-name: testservice
7 | subject-prefix: ''
8 |
9 | info:
10 | x-ms-metadata:
11 | name: foo
12 |
13 | schemas:
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-spec-required/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-definitions-remote/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 | ```
10 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-definitions-url/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 | ```
10 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-multiparam/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-param-inbody/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-param-remote/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/extension-ms-clientname/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/extension-ms-examples/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/extension-ms-mutability/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/extension-ms-pageable/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-polymorphism/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-spec-required/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-definitions-url/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 | ```
10 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-multiparam/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/extension-ms-enum/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/extension-ms-examples/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/extension-ms-pageable/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netcoreapp3.1/Microsoft.Identity.Client.Extensions.Msal.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netcoreapp3.1/Microsoft.Identity.Client.Extensions.Msal.dll
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Microsoft.Identity.Client.NativeInterop.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/lib/netstandard2.0/Microsoft.Identity.Client.NativeInterop.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-get-delete-put-patch/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-get-response-operation/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-definitions-local/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-param-additional/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-param-grouping/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-param-localremote/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-combineschema/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-array/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-boolean/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-byte/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-date/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-file/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-integer/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-object/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-string/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/extension-ms-azureresource/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/extension-ms-clientflatten/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/extension-ms-paramlocation/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-get-delete-put-patch/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-definitions-remote/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 | ```
10 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-param-additional/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-param-grouping/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-param-inbody/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-param-remote/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-combineschema/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-array/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-byte/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-date/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-file/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/extension-ms-azureresource/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/extension-ms-clientflatten/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/extension-ms-clientname/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/extension-ms-mutability/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/extension-ms-paramlocation/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoftgraph/autorest.powershell/main/powershell/resources/modules/Az.Accounts/2.13.1/Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-response-multioperation/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-definitions-combined/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-param-resourceasarraay/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/component-param-specialproperties/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-datetime/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-mixedtypes/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-nullable/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-unixtime/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/extension-ms-discriminatorvalue/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/extension-ms-longruningoperation/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-get-response-operation/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-response-multioperation/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-definitions-combined/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-definitions-local/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-param-localremote/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-boolean/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-datetime/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-integer/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-nullable/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-object/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-string/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-unixtime/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/extension-ms-discriminatorvalue/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/datamodels-datatypes-boolean-quirks/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-param-resourceasarraay/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/component-param-specialproperties/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/datamodels-datatypes-boolean-quirks/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/extension-ms-longruningoperation/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | ```
11 |
--------------------------------------------------------------------------------
/powershell/.npmignore:
--------------------------------------------------------------------------------
1 | !dist/**/*
2 | src/
3 | dist/test/
4 | package/
5 | .npmignore
6 | tsconfig.json
7 | *.ts
8 | changelog.md
9 | .eslint*
10 | !*.d.ts
11 | *.tgz
12 | .vscode
13 | .scripts
14 | attic/
15 | generated/
16 | notes.md
17 | Examples/
18 | samples/
19 | *.log
20 | package-deps.json
21 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-disableazure-get/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 |
8 | azure: false
9 |
10 | input-file:
11 | - $(this-folder)/swagger.json
12 |
13 | ```
14 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Don't allow people to merge changes to these generated files, because the result
2 | # may be invalid. You need to run "rush update" again.
3 | shrinkwrap.yaml merge=binary
4 | npm-shrinkwrap.json merge=binary
5 | yarn.lock merge=binary
6 |
7 | * text=auto eol=lf
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/basic-disableazure-response/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 |
8 | azure: false
9 |
10 | input-file:
11 | - $(this-folder)/swagger.json
12 |
13 | ```
14 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-disableazure-get/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 |
8 | azure: false
9 |
10 | input-file:
11 | - $(this-folder)/swagger.json
12 |
13 | ```
14 |
--------------------------------------------------------------------------------
/powershell/resources/templates/azureMethod.ejs:
--------------------------------------------------------------------------------
1 | <%if(!method.extensions || !method.extensions['x-ms-long-running-operation']) {-%>
2 | <%- include('method', {method: method, clientPrefix: clientPrefix}) %>
3 | <%} else {-%>
4 | <%- include('longRunningOperationMethod', {method: method, clientPrefix: clientPrefix}) %>
5 | <%};-%>
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/basic-disableazure-response/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 |
8 | azure: false
9 |
10 | input-file:
11 | - $(this-folder)/swagger.json
12 |
13 | ```
14 |
--------------------------------------------------------------------------------
/docs/samples/readme.md:
--------------------------------------------------------------------------------
1 | # PowerShell Samples
2 |
3 | The following samples are available:
4 |
5 | - [XKCD](./xkcd/readme.md) - an simple example making cmdlets for an XKCD service
6 | - [TimesWire](./timeswire/readme.md) - an example showing how to use the NY Times wire service, adding custom authentication layer, and adding a Pester test.
7 |
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/examples/WorkspaceDelete.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "workspaceName": "myWorkspace",
4 | "resourceGroupName": "rg",
5 | "api-version": "2018-04-01",
6 | "subscriptionId": "subid"
7 | },
8 | "responses": {
9 | "200": {},
10 | "202": {},
11 | "204": {}
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/samples/TimesWire/generated/tests/get-article.tests.ps1:
--------------------------------------------------------------------------------
1 | # Pull In Mocking Support
2 | . "$PSScriptRoot/HttpPipelineMocking.ps1"
3 |
4 | # Run Some tests
5 | Describe 'Get-Article Tests' {
6 | It "gets sports articles" {
7 | (get-article -section sports -source nyt -HttpPipelineAppend $mock).Results.length | Should -be 20
8 | }
9 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-sdk1-support/examples/WorkspaceDelete.json:
--------------------------------------------------------------------------------
1 | {
2 | "parameters": {
3 | "workspaceName": "myWorkspace",
4 | "resourceGroupName": "rg",
5 | "api-version": "2018-04-01",
6 | "subscriptionId": "subid"
7 | },
8 | "responses": {
9 | "200": {},
10 | "202": {},
11 | "204": {}
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/powershell/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "dist",
5 | "rootDir": ".",
6 | "types": [
7 | "mocha"
8 | ]
9 | },
10 | "include": [
11 | "."
12 | ],
13 | "exclude": [
14 | "dist",
15 | "resources",
16 | "node_modules",
17 | "**/*.d.ts"
18 | ]
19 | }
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/directive-aliasremoval/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | directive:
11 | - where:
12 | parameter-name: ResourceGroupName
13 | clear-alias: true
14 | ```
15 |
--------------------------------------------------------------------------------
/powershell/resources/assets/pack-module.ps1:
--------------------------------------------------------------------------------
1 | # ----------------------------------------------------------------------------------
2 | ${$project.pwshCommentHeader}
3 | # ----------------------------------------------------------------------------------
4 | Write-Host -ForegroundColor Green 'Packing module...'
5 | dotnet pack $PSScriptRoot --no-build /nologo
6 | Write-Host -ForegroundColor Green '-------------Done-------------'
--------------------------------------------------------------------------------
/tests-upgrade/tests-m4-upgrade/directive-enum/readme.md:
--------------------------------------------------------------------------------
1 | ### AutoRest Configuration
2 | > see https://aka.ms/autorest
3 |
4 | ``` yaml
5 | require:
6 | - $(this-folder)/../readme.azure.noprofile.md
7 | input-file:
8 | - $(this-folder)/swagger.json
9 |
10 | directive:
11 | - where:
12 | enum-name: provisioningState
13 | enum-value-name: Upgrading
14 | set:
15 | enum-value-name: Update
16 | ```
17 |
--------------------------------------------------------------------------------
/.azure-pipelines/security-scan.yml:
--------------------------------------------------------------------------------
1 | trigger:
2 | branches:
3 | include:
4 | - '*'
5 |
6 | pool:
7 | vmImage: "windows-2019"
8 |
9 | steps:
10 | - task: ms-codeanalysis.vss-microsoft-security-code-analysis-devops.build-task-credscan.CredScan@2
11 | displayName: 'Run CredScan'
12 | continueOnError: true
13 | inputs:
14 | toolMajorVersion: "V2"
15 | suppressionsFile: .azure-pipelines\credscan-suppressions.json
--------------------------------------------------------------------------------
/.scripts/generate-tests.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param (
3 | [Parameter()]
4 | [string[]]
5 | $swaggers,
6 |
7 | [Parameter()]
8 | [string]
9 | [AllowEmptyString()]
10 | $outputRoot = '',
11 |
12 | [Parameter()]
13 | [string]
14 | $autorestVersion
15 | )
16 | $testServer = get-command "$(resolve-path $PSScriptRoot/..)/powershell/node_modules/.bin/start-autorest-express"
17 | & $testServer --verbose --show-messages pwsh $PSScriptRoot/generate.ps1 @PSBoundParameters
--------------------------------------------------------------------------------
/.scripts/run-tests.ps1:
--------------------------------------------------------------------------------
1 |
2 | [CmdletBinding()]
3 | param (
4 | [Parameter()]
5 | [string[]]
6 | $swaggers,
7 | [switch]$Live,
8 | [switch]$Record,
9 | [switch]$Playback
10 | )
11 |
12 | if( $Live -or $Record ) {
13 | $testServer = get-command "$(resolve-path $PSScriptRoot/..)/powershell/node_modules/.bin/start-autorest-express"
14 | & $testServer pwsh $PSScriptRoot/run.ps1 $swaggers -Live:$Live -Record:$Record -Playback:$Playback
15 | } else {
16 | & pwsh $PSScriptRoot/run.ps1 @PSBoundParameters
17 | }
--------------------------------------------------------------------------------
/tests/validation/test/Get-.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/powershell/resources/utils/Unprotect-SecureString.ps1:
--------------------------------------------------------------------------------
1 | #This script converts securestring to plaintext
2 |
3 | param(
4 | [Parameter(Mandatory, ValueFromPipeline)]
5 | [System.Security.SecureString]
6 | ${SecureString}
7 | )
8 |
9 | $ssPtr = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($SecureString)
10 | try {
11 | $plaintext = [System.Runtime.InteropServices.Marshal]::PtrToStringBSTR($ssPtr)
12 | } finally {
13 | [System.Runtime.InteropServices.Marshal]::ZeroFreeBSTR($ssPtr)
14 | }
15 |
16 | return $plaintext
--------------------------------------------------------------------------------
/tests/body-file/test/Get-File.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-File.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-File' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/report/test/Get-Report.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-Report.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-Report' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/powershell/resources/modules/Az.Accounts/2.13.1/_rels/.rels:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/tests/azure-report/test/Get-Report.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-Report.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-Report' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/azure-resource-x/test/Get-Array.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-Array.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-Array' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/azure-resource-x/test/Set-Array.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-Array.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-Array' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/azure-resource/test/Get-Array.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-Array.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-Array' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/azure-resource/test/Set-Array.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-Array.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-Array' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-complex/test/Get-ArrayEmpty.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayEmpty.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayEmpty' {
10 | It 'Get' {
11 | { Get-ArrayEmpty | Should -be $null } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/complex-model/test/Get-Redis.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-Redis.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-Redis' {
10 | It 'List' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/model-flattening/test/Get-Array.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-Array.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-Array' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/model-flattening/test/Set-Array.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-Array.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-Array' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-boolean/test/Get-BoolNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-BoolNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-BoolNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-boolean/test/Get-BoolTrue.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-BoolTrue.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-BoolTrue' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-boolean/test/Set-BoolTrue.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-BoolTrue.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-BoolTrue' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-byte/test/Get-ByteEmpty.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ByteEmpty.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ByteEmpty' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-byte/test/Get-ByteNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ByteNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ByteNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-date/test/Get-DateNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DateNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DateNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-file/test/Get-FileLarge.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-FileLarge.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-FileLarge' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/Get-IntNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-IntNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-IntNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/Set-IntMax32.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-IntMax32.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-IntMax32' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/Set-IntMax64.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-IntMax64.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-IntMax64' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/Set-IntMin32.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-IntMin32.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-IntMin32' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/Set-IntMin64.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-IntMin64.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-IntMin64' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/head/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/paging/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/report/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/url/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/azure-special-properties/test/Get-Odata.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-Odata.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-Odata' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayEmpty.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayEmpty.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayEmpty' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayEmpty.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayEmpty.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayEmpty' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-boolean/test/Get-BoolFalse.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-BoolFalse.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-BoolFalse' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-boolean/test/Set-BoolFalse.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-BoolFalse.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-BoolFalse' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-byte/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-date/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-file/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-number/test/Get-NumberNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-NumberNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-NumberNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-number/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-string/test/Get-StringMbc.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-StringMbc.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-StringMbc' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-string/test/Get-StringNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-StringNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-StringNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-string/test/Set-StringMbc.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-StringMbc.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-StringMbc' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-string/test/Set-StringNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-StringNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-StringNull' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-string/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/custom-baseUrl/test/Get-PathEmpty.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PathEmpty.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PathEmpty' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Get-QueryIntNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-QueryIntNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-QueryIntNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/validation/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/powershell/resources/runtime/csharp/json/Helpers/Seperator.cs:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | namespace Carbon.Data
6 | {
7 | internal static class Seperator
8 | {
9 | public static readonly char[] Dash = { '-' };
10 | }
11 | }
--------------------------------------------------------------------------------
/tests/azure-report/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/azure-resource-x/test/Get-Dictionary.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-Dictionary.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-Dictionary' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/azure-resource-x/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/azure-resource/test/Get-Dictionary.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-Dictionary.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-Dictionary' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/azure-resource/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayInvalid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayInvalid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayInvalid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayString.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayString.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayString' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-boolean/test/Get-BoolInvalid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-BoolInvalid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-BoolInvalid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-boolean/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-byte/test/Get-ByteInvalid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ByteInvalid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ByteInvalid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-byte/test/Get-ByteNonAscii.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ByteNonAscii.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ByteNonAscii' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-byte/test/Set-ByteNonAscii.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ByteNonAscii.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ByteNonAscii' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-complex/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-date/test/Get-DateMaxDate.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DateMaxDate.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DateMaxDate' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-date/test/Get-DateMinDate.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DateMinDate.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DateMinDate' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-date/test/Set-DateMaxDate.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-DateMaxDate.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-DateMaxDate' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-date/test/Set-DateMinDate.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-DateMinDate.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-DateMinDate' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-datetime/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-dictionary/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-duration/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-integer/test/Get-IntInvalid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-IntInvalid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-IntInvalid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/Get-IntUnixTime.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-IntUnixTime.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-IntUnixTime' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-string/test/Get-StringEmpty.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-StringEmpty.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-StringEmpty' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-string/test/Set-StringEmpty.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-StringEmpty.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-StringEmpty' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/complex-model/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/custom-baseUrl/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/head-exceptions/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/model-flattening/test/Get-Dictionary.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-Dictionary.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-Dictionary' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Get-PathTenBillion.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PathTenBillion.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PathTenBillion' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Get-QueryLongNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-QueryLongNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-QueryLongNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayItemNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayItemNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayItemNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-complex/test/Get-PrimitiveByte.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PrimitiveByte.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PrimitiveByte' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-complex/test/Get-PrimitiveDate.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PrimitiveDate.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PrimitiveDate' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-complex/test/Get-PrimitiveInt.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PrimitiveInt.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PrimitiveInt' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-complex/test/Get-PrimitiveLong.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PrimitiveLong.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PrimitiveLong' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-datetime-rfc1123/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-datetime/test/Get-DatetimeNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DatetimeNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DatetimeNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-duration/test/Get-DurationNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DurationNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DurationNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-file/test/Get-FileEmptyFile.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-FileEmptyFile.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-FileEmptyFile' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/httpInfrastructure/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/required-optional/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/url/test/Get-PathBooleanTrue.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PathBooleanTrue.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PathBooleanTrue' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Get-QueryBooleanNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-QueryBooleanNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-QueryBooleanNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Get-QueryBooleanTrue.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-QueryBooleanTrue.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-QueryBooleanTrue' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Get-QueryTenBillion.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-QueryTenBillion.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-QueryTenBillion' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/azure-parameter-grouping/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/azure-special-properties/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayBase64Url.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayBase64Url.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayBase64Url' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayByteValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayByteValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayByteValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayDateValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayDateValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayDateValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayEnumValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayEnumValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayEnumValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayFloatValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayFloatValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayFloatValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayItemEmpty.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayItemEmpty.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayItemEmpty' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayLongValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayLongValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayLongValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayUuidValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayUuidValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayUuidValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayByteValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayByteValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayByteValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayDateValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayDateValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayDateValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayEnumValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayEnumValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayEnumValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayFloatValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayFloatValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayFloatValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayLongValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayLongValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayLongValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayUuidValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayUuidValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayUuidValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-complex/test/Get-ArrayNotProvided.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayNotProvided.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayNotProvided' {
10 | It 'Get' {
11 | { Get-ArrayNotProvided | Should -be $null } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-complex/test/Get-PrimitiveFloat.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PrimitiveFloat.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PrimitiveFloat' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-date/test/Get-DateInvalidDate.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DateInvalidDate.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DateInvalidDate' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-number/test/Get-NumberBigDouble.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-NumberBigDouble.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-NumberBigDouble' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-number/test/Get-NumberBigFloat.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-NumberBigFloat.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-NumberBigFloat' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-number/test/Set-NumberBigDouble.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-NumberBigDouble.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-NumberBigDouble' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-number/test/Set-NumberBigFloat.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-NumberBigFloat.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-NumberBigFloat' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-string/test/Get-EnumReferenced.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-EnumReferenced.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-EnumReferenced' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-string/test/Set-EnumReferenced.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-EnumReferenced.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-EnumReferenced' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/extensible-enums-swagger/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/model-flattening/test/Get-WrappedArray.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-WrappedArray.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-WrappedArray' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/model-flattening/test/Set-WrappedArray.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-WrappedArray.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-WrappedArray' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/paging/test/Get-PagingSinglePage.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PagingSinglePage.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PagingSinglePage' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/subscriptionId-apiVersion/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/url-multi-collectionFormat/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/url/test/Get-PathIntOneMillion.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PathIntOneMillion.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PathIntOneMillion' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Get-QueryBooleanFalse.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-QueryBooleanFalse.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-QueryBooleanFalse' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Invoke-ByteQueryNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-ByteQueryNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Invoke-ByteQueryNull' {
10 | It 'Byte' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Invoke-DatePathValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-DatePathValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Invoke-DatePathValid' {
10 | It 'Date' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Invoke-DateQueryNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-DateQueryNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Invoke-DateQueryNull' {
10 | It 'Date' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Invoke-DateQueryValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-DateQueryValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Invoke-DateQueryValid' {
10 | It 'Date' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Invoke-EmptyQueryByte.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-EmptyQueryByte.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Invoke-EmptyQueryByte' {
10 | It 'Empty' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Invoke-EnumQueryNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-EnumQueryNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Invoke-EnumQueryNull' {
10 | It 'Enum' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Invoke-EnumQueryValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-EnumQueryValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Invoke-EnumQueryValid' {
10 | It 'Enum' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Invoke-FloatQueryNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-FloatQueryNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Invoke-FloatQueryNull' {
10 | It 'Float' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tools/docker/readme.md:
--------------------------------------------------------------------------------
1 | # All-in-One Docker Image for Azure PowerShell Code Generation
2 | Packages contained in the image.
3 | * PowerShell 6.2.4
4 | * NodeJS 14.15.5
5 | * Latest autorest
6 | * Dotnet SDK 2.1
7 |
8 | # How to Build the Image
9 | `docker build -t autorest ./`
10 |
11 | # Launch the Image
12 | `docker run -it -v :/src autorest`
13 |
14 | # Code Generation vs Build vs Run
15 | ## Code Generation
16 | `autorest`
17 | ## Build
18 | `pwsh build-module.ps1`
19 | ## Run
20 | `pwsh run-module.ps1`
21 | ## Playback Test
22 | `pwsh test-module.ps1`
23 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayBooleanTfft.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayBooleanTfft.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayBooleanTfft' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayComplexEmpty.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayComplexEmpty.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayComplexEmpty' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayComplexNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayComplexNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayComplexNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayComplexValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayComplexValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayComplexValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayDoubleValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayDoubleValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayDoubleValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayIntegerValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayIntegerValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayIntegerValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayStringValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayStringValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayStringValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayBooleanTfft.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayBooleanTfft.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayBooleanTfft' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayComplexValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayComplexValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayComplexValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayDoubleValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayDoubleValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayDoubleValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayIntegerValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayIntegerValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayIntegerValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayStringValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayStringValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayStringValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-complex/test/Get-PrimitiveDouble.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PrimitiveDouble.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PrimitiveDouble' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-complex/test/Get-PrimitiveString.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-PrimitiveString.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-PrimitiveString' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-date/test/Get-DateOverflowDate.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DateOverflowDate.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DateOverflowDate' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-date/test/Get-DateUnderflowDate.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DateUnderflowDate.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DateUnderflowDate' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-datetime/test/Get-DatetimeInvalid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DatetimeInvalid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DatetimeInvalid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-datetime/test/Get-DatetimeOverflow.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DatetimeOverflow.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DatetimeOverflow' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-dictionary/test/Get-DictionaryEmpty.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DictionaryEmpty.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DictionaryEmpty' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-dictionary/test/Get-DictionaryNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DictionaryNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DictionaryNull' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-dictionary/test/Get-DictionaryValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DictionaryValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DictionaryValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-duration/test/Get-DurationInvalid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-DurationInvalid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-DurationInvalid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/Get-IntNullUnixTime.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-IntNullUnixTime.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-IntNullUnixTime' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/Get-IntOverflowInt32.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-IntOverflowInt32.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-IntOverflowInt32' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/Get-IntOverflowInt64.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-IntOverflowInt64.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-IntOverflowInt64' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-integer/test/Set-IntUnixTimeDate.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-IntUnixTimeDate.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-IntUnixTimeDate' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-number/test/Get-NumberBigDecimal.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-NumberBigDecimal.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-NumberBigDecimal' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-number/test/Get-NumberSmallFloat.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-NumberSmallFloat.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-NumberSmallFloat' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-number/test/Set-NumberBigDecimal.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-NumberBigDecimal.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-NumberBigDecimal' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-number/test/Set-NumberSmallFloat.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-NumberSmallFloat.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-NumberSmallFloat' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-string/test/Get-StringWhitespace.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-StringWhitespace.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-StringWhitespace' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-string/test/Set-StringWhitespace.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-StringWhitespace.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-StringWhitespace' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/custom-baseUrl-more-options/test/loadEnv.ps1:
--------------------------------------------------------------------------------
1 | $envFile = 'env.json'
2 | if ($TestMode -eq 'live') {
3 | $envFile = 'localEnv.json'
4 | }
5 |
6 | if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
7 | $envFilePath = Join-Path $PSScriptRoot $envFile
8 | } else {
9 | $envFilePath = Join-Path $PSScriptRoot '..\$envFile'
10 | }
11 | $env = @{}
12 | if (Test-Path -Path $envFilePath) {
13 | $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
14 | $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant}
15 | }
--------------------------------------------------------------------------------
/tests/url/test/Get-QueryIntOneMillion.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-QueryIntOneMillion.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-QueryIntOneMillion' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Invoke-DoubleQueryNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-DoubleQueryNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Invoke-DoubleQueryNull' {
10 | It 'Double' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/url/test/Invoke-StringQueryNull.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-StringQueryNull.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Invoke-StringQueryNull' {
10 | It 'String' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayDateTimeValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayDateTimeValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayDateTimeValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Get-ArrayDurationValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ArrayDurationValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Get-ArrayDurationValid' {
10 | It 'Get' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayDateTimeValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayDateTimeValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayDateTimeValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tests/body-array/test/Set-ArrayDurationValid.Tests.ps1:
--------------------------------------------------------------------------------
1 | $TestRecordingFile = Join-Path $PSScriptRoot 'Set-ArrayDurationValid.Recording.json'
2 | $currentPath = $PSScriptRoot
3 | while(-not $mockingPath) {
4 | $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
5 | $currentPath = Split-Path -Path $currentPath -Parent
6 | }
7 | . ($mockingPath | Select-Object -First 1).FullName
8 |
9 | Describe 'Set-ArrayDurationValid' {
10 | It 'Put' -skip {
11 | { throw [System.NotImplementedException] } | Should -Not -Throw
12 | }
13 | }
14 |
--------------------------------------------------------------------------------