Updating the test for the changes in the SDK repo.
This commit is contained in:
parent
a3d39216d2
commit
d780b35afa
1 changed files with 18 additions and 0 deletions
18
test/EndToEnd/TelemetryOptOutDefaultTests.cs
Normal file
18
test/EndToEnd/TelemetryOptOutDefaultTests.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System.IO;
|
||||
using FluentAssertions;
|
||||
using Microsoft.DotNet.Tools.Test.Utilities;
|
||||
using Xunit;
|
||||
|
||||
namespace EndToEnd.Tests
|
||||
{
|
||||
public class TelemetryOptOutDefault : TestBase
|
||||
{
|
||||
[Fact]
|
||||
public void TelemetryOptOutDefaultAttribute()
|
||||
{
|
||||
var dotnetdir = Path.Combine(Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest), "sdk", "7.0.100-dev");
|
||||
var result = AssemblyInfo.Get(Path.Combine(dotnetdir, "dotnet.dll"), "AssemblyMetadataAttribute");
|
||||
result.Should().Contain("TelemetryOptOutDefault:False");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue