Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ProjectRootCalculator, cleanup PathHelper #5060

Merged

Conversation

georgii-borovinskikh-sonarsource
Copy link
Contributor

Fixes #5058

@@ -45,197 +45,6 @@ public void PathHelper_EscapeFileName()
actualEscaped.Should().Be(expectedEscaped);
}

[TestMethod]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The methods tested here were unused, so I removed them and these tests

@@ -53,83 +53,6 @@ public static string EscapeFileName(string unescapedName)
return escapedName.ToString();
}

/// <summary>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed unused methods

@@ -28,6 +28,7 @@
namespace SonarLint.VisualStudio.ConnectedMode
{
[Export(typeof(IStatefulServerBranchProvider))]
// note: this class does not seem to be safe from concurrent updates
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add a ticket to backlog so we can track it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@georgii-borovinskikh-sonarsource georgii-borovinskikh-sonarsource merged commit 1085957 into feature/mute-server-issues Nov 29, 2023
8 checks passed
@georgii-borovinskikh-sonarsource georgii-borovinskikh-sonarsource deleted the gb/root-calculator branch November 29, 2023 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add IProjectRootCalculator
2 participants