1 write to _loggingContext
Microsoft.Build.Engine.UnitTests (1)
BackEnd\SdkResolverService_Tests.cs (1)
41
_loggingContext
= new MockLoggingContext(
24 references to _loggingContext
Microsoft.Build.Engine.UnitTests (24)
BackEnd\SdkResolverService_Tests.cs (24)
55
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
98
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
115
SdkResolverException e = Should.Throw<SdkResolverException>(() => service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true));
130
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
147
_loggingContext
,
194
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
211
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
225
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
243
service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
259
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
283
service.ResolveSdk(submissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true).Path.ShouldBe("resolverpath");
286
service.ResolveSdk(submissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true).Path.ShouldBe(MockSdkResolverWithState.Expected);
300
service.ResolveSdk(submissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true).Path.ShouldBe("resolverpath");
303
service.ResolveSdk(submissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true).Path.ShouldBe("resolverpath");
317
service.ResolveSdk(submissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true).Path.ShouldBe("defaultpath");
367
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
373
result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, new SdkReference("foo", "2.0.0", null),
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
449
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
486
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
533
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
579
var result = service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
626
_ => service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk,
_loggingContext
, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true));
658
_loggingContext
,
689
_loggingContext
,