Skip to content

Commit

Permalink
SLVS-1408 Delete old TeamExplorer controllers and workflows (#5716)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnaskos-sonar committed Oct 17, 2024
1 parent be270af commit f445b8f
Show file tree
Hide file tree
Showing 91 changed files with 305 additions and 13,484 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SonarLint.VisualStudio.Integration.TeamExplorer;

namespace SonarLint.VisualStudio.Integration.UnitTests.TeamExplorer
Expand All @@ -36,4 +34,4 @@ public void ConnectSectionViewModel_Ctor_IsVisibleAndExpanded()
vm.IsExpanded.Should().BeTrue();
}
}
}
}

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions src/Integration.TeamExplorer.UnitTests/ReferencesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SonarLint.VisualStudio.Integration.TeamExplorer;
using SonarLint.VisualStudio.TestInfrastructure;

Expand All @@ -31,19 +27,6 @@ namespace SonarLint.VisualStudio.Integration.UnitTests
[TestClass]
public class ReferencesTests
{
[TestMethod]
public void MicrosoftTeamFoundationClient_EnsureCorrectVersion()
{
var expectedDllVersions = new Dictionary<string, int>
{
{ "VS2022", 16 } // 2022's dll is still 16 and not 17
};

var tfClientAssemblyVersion = AssemblyHelper.GetVersionOfReferencedAssembly(
typeof(TeamExplorerController), "Microsoft.TeamFoundation.Client");

AssertIsCorrectMajorVersion(tfClientAssemblyVersion.Major, expectedDllVersions);
}

[TestMethod]
public void MicrosoftTeamFoundationControls_EnsureCorrectVersion()
Expand Down
Loading

0 comments on commit f445b8f

Please sign in to comment.