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

SLVS-1678 Use unique generated compilation database names #5875

Conversation

georgii-borovinskikh-sonarsource
Copy link
Contributor

@georgii-borovinskikh-sonarsource georgii-borovinskikh-sonarsource commented Dec 5, 2024

act.Should().Throw<ArgumentNullException>().Which.ParamName.Should().Be("filePath");
}

[TestInitialize]

Choose a reason for hiding this comment

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

TestInitialize should be at the top of the class

Copy link
Contributor

Choose a reason for hiding this comment

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

Some small feedback


private static IAnalysisStatusNotifierFactory CreateDefaultAnalysisStatusNotifier(out IAnalysisStatusNotifier notifier)
private void SetUpDefaultAnalysisStatusNotifier(out IAnalysisStatusNotifier notifier)

Choose a reason for hiding this comment

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

I would remove the out parameter and make the IAnalysisStatusNotifier a field.


notifier.Received().AnalysisFailed(exception);
}

private static ISLCoreServiceProvider CreatServiceProvider(out IAnalysisSLCoreService analysisService, bool result = true)
private void SetUpServiceProvider(out IAnalysisSLCoreService analysisService, bool result = true)

Choose a reason for hiding this comment

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

I would remove the out parameter and make the IAnalysisSLCoreService a field.

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.

2 participants