23 lines
699 B
C#
23 lines
699 B
C#
using System;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Xml.Linq;
|
|
using FluentAssertions;
|
|
using Microsoft.DotNet.TestFramework;
|
|
using Microsoft.DotNet.Tools.Test.Utilities;
|
|
using Xunit;
|
|
|
|
namespace EndToEnd.Tests
|
|
{
|
|
public class OfficialBuilderTests : TestBase
|
|
{
|
|
[Fact]
|
|
public void OfficialBuilderAtrribute()
|
|
{
|
|
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("OfficialBuilder:Microsoft");
|
|
}
|
|
}
|
|
}
|