pulumi/sdk/dotnet/Pulumi.Automation.Tests
Anton Tayanovskyy 6d393ac929 Avoid overriding dotnet proj settings accidentally (#6670)
* Add failing test

* Guard against overrding project settings accidentally

* Throw exception in case of conflct

* Update sdk/dotnet/Pulumi.Automation/DictionaryContentsComparer.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectRuntime.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectTemplateConfigValue.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectTemplate.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectRuntimeOptions.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectBackend.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectSettings.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Reduce nesting

* Make the new exception public

* Introduce a CHANGELOG entry since we add to pub API

* Stricter check before throwing

* Address PR feedback, round 1

* Use Reference.Equals check

* Move DictionaryContentsComparer out of top-level

Co-authored-by: Komal Ali <komal@pulumi.com>
Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
2021-04-01 22:01:00 +01:00
..
Data Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
Serialization JSON does not admit trailing commas 2021-03-12 16:32:55 -05:00
AssemblyAttributes.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
CommandExceptionTests.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
EventLogWatcherTests.cs [automation/dotnet] Expose structured logging (#6572) 2021-03-30 14:57:38 -04:00
LocalPulumiCmdTests.cs Use CliWrap for subprocess management (#6654) 2021-03-31 10:41:02 -04:00
LocalWorkspaceTests.cs Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
Pulumi.Automation.Tests.csproj [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
xunit.runner.json [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00