13 references to CompletedWithWarning
Aspire.Hosting (5)
Publishing\PublishingActivityReporter.cs (2)
31
CompletionState.
CompletedWithWarning
=> CompletionStates.CompletedWithWarning,
208
CompletionState.
CompletedWithWarning
=> $"{operationName} completed with warnings",
Publishing\PublishingExtensions.cs (2)
46
await step.CompleteAsync(completionText, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
111
await task.CompleteAsync(message, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
Publishing\PublishingStep.cs (1)
148
CompletionState.
CompletedWithWarning
=> $"{Title} completed with warnings",
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
268
0 => ("No azure compute environments found in the model.", CompletionState.
CompletedWithWarning
),
Aspire.Hosting.Tests (7)
Publishing\PublishingActivityReporterTests.cs (6)
282
[InlineData(CompletionState.
CompletedWithWarning
, "Publishing completed with warnings", false)]
299
Assert.Equal(completionState == CompletionState.
CompletedWithWarning
, activity.Data.IsWarning);
339
await step2.CompleteAsync("Step 2 completed with warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
655
Assert.Equal(CompletionState.
CompletedWithWarning
, taskInternal.CompletionState);
708
[InlineData(CompletionState.
CompletedWithWarning
, "Deployment completed with warnings", false)]
725
Assert.Equal(completionState == CompletionState.
CompletedWithWarning
, activity.Data.IsWarning);
Publishing\PublishingExtensionsTests.cs (1)
102
Assert.Equal(CompletionState.
CompletedWithWarning
, taskInternal.CompletionState);