Implemented interface member:
method
CompareAsync
Aspire.Hosting.Pipelines.IPipelineOutputComparer<TSnapshot>.CompareAsync(TSnapshot, TSnapshot, System.Threading.CancellationToken)
41 references to CompareAsync
Aspire.Hosting.Tests (41)
Pipelines\PipelineOutputComparisonTests.cs (7)
43
var changes = await comparer.
CompareAsync
(before, after, TestContext.Current.CancellationToken);
51
var repeated = await comparer.
CompareAsync
(before, after, TestContext.Current.CancellationToken);
53
Assert.Empty(await comparer.
CompareAsync
(after, after, TestContext.Current.CancellationToken));
101
Assert.Empty(await comparer.
CompareAsync
(secondBefore, secondAfter, TestContext.Current.CancellationToken));
102
var change = Assert.Single(await comparer.
CompareAsync
(firstBefore, firstAfter, TestContext.Current.CancellationToken));
175
var change = Assert.Single(await comparer.
CompareAsync
(before, after, TestContext.Current.CancellationToken));
179
var reverse = Assert.Single(await comparer.
CompareAsync
(after, before, TestContext.Current.CancellationToken));
Pipelines\PipelineOutputGitFingerprintTests.cs (16)
49
var changes = await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken);
105
var changes = await new DefaultPipelineOutputComparer().
CompareAsync
(before, after, TestContext.Current.CancellationToken);
165
var changes = await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken);
222
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
258
var changes = await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken);
322
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
332
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(staged, sameTarget, TestContext.Current.CancellationToken));
349
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(staged, retargeted, TestContext.Current.CancellationToken));
377
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(before, staged, TestContext.Current.CancellationToken));
381
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(staged, changed, TestContext.Current.CancellationToken));
414
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
460
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
512
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
554
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
562
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(storageBefore, storageAfter, TestContext.Current.CancellationToken));
586
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
Pipelines\PipelineOutputSelectionTests.cs (12)
79
var changes = await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken);
238
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(before, retargeted, TestContext.Current.CancellationToken));
242
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
289
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
311
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
357
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
376
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
409
Assert.Equal(PipelineOutputChangeKind.Changed, Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken)).Kind);
687
var changes = await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken);
762
var changes = await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken);
817
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
857
var changes = await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken);
Pipelines\PipelineOutputStrategyTests.cs (6)
30
Assert.Equal(PipelineOutputChangeKind.Changed, Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken)).Kind);
100
Assert.Equal(PipelineOutputChangeKind.Changed, Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken)).Kind);
118
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
141
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
607
var change = Assert.Single(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));
685
Assert.Empty(await new DefaultPipelineOutputComparer().
CompareAsync
(beforeSnapshot, afterSnapshot, TestContext.Current.CancellationToken));