SGen tests should compare against expectation not previous. (#56877)
authorSteve Molloy <smolloy@microsoft.com>
Wed, 11 Aug 2021 20:22:18 +0000 (13:22 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Aug 2021 20:22:18 +0000 (13:22 -0700)
commit4e0b7f679f0a1e9dfbf58b6213762510a10031a9
tree28131521bb332029f4be369d6d1c840e0443ce10
parent129dcdd5ef05feb287e4cadf253306c168f4196e
SGen tests should compare against expectation not previous. (#56877)

* SGen tests should compare against expectation, not previous.

* Use RoslynCodeTask instead of old fashioned task embedded in SerializableAssembly.
src/libraries/Microsoft.XmlSerializer.Generator/tests/Expected.SerializableAssembly.XmlSerializers.cs [new file with mode: 0644]
src/libraries/Microsoft.XmlSerializer.Generator/tests/Microsoft.XmlSerializer.Generator.Tests.csproj
src/libraries/Microsoft.XmlSerializer.Generator/tests/SGenTests.cs
src/libraries/Microsoft.XmlSerializer.Generator/tests/SerializableAssembly.csproj