Skip to content

Commit

Permalink
Update embedded CFamily analyzer to 6.50.0.64514 (#4997)
Browse files Browse the repository at this point in the history
Fixes #4983
  • Loading branch information
georgii-borovinskikh-sonarsource authored Nov 1, 2023
1 parent 843bfc0 commit 728b64b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void CallAnalyzer_IntegrationTest(string testCaseFileName)

var messages = InvokeAnalyzer(request);

messages.Should().BeEquivalentTo(expectedMessages, e => e.WithStrictOrdering());
messages.Where(x => !string.IsNullOrEmpty(x.Filename)).Should().BeEquivalentTo(expectedMessages, e => e.WithStrictOrdering());
}

private static void CheckRulesMetadataFilesExist()
Expand Down
2 changes: 1 addition & 1 deletion src/EmbeddedSonarAnalyzer.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<PropertyGroup>
<!-- Note: Guide on how to update the analyzers is on the xtranet! -->
<EmbeddedSonarAnalyzerVersion>9.12.0.78982</EmbeddedSonarAnalyzerVersion>
<EmbeddedSonarCFamilyAnalyzerVersion>6.49.0.62722</EmbeddedSonarCFamilyAnalyzerVersion>
<EmbeddedSonarCFamilyAnalyzerVersion>6.50.0.64514</EmbeddedSonarCFamilyAnalyzerVersion>
<EmbeddedSonarJSAnalyzerVersion>10.8.0.24207</EmbeddedSonarJSAnalyzerVersion>
<!-- Secrets
Secrets are special case: we get the analyzer binaries from a NuGet package, and the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class CFamilyEmbeddedSonarWayRulesTests
private const int Inactive_C_Rules = 123;

private const int Active_CPP_Rules = 436;
private const int Inactive_CPP_Rules = 205;
private const int Inactive_CPP_Rules = 206;

private readonly CFamilySonarWayRulesConfigProvider rulesMetadataCache = new CFamilySonarWayRulesConfigProvider(CFamilyShared.CFamilyFilesDirectory);

Expand Down

0 comments on commit 728b64b

Please sign in to comment.