25 references to CreatePreviousSnapshot
Aspire.Hosting.Tests (25)
Dcp\ResourceSnapshotBuilderTests.cs (25)
33var snapshot = CreateSnapshotBuilder().ToSnapshot(container, CreatePreviousSnapshot());
53var snapshot = CreateSnapshotBuilder().ToSnapshot(executable, CreatePreviousSnapshot());
80}).ToSnapshot(executable, CreatePreviousSnapshot());
109}).ToSnapshot(executable, CreatePreviousSnapshot());
156}).ToSnapshot(executable, CreatePreviousSnapshot());
211}).ToSnapshot(executable, CreatePreviousSnapshot());
263}).ToSnapshot(executable, CreatePreviousSnapshot(KnownResourceTypes.Project));
308}).ToSnapshot(executable, CreatePreviousSnapshot(KnownResourceTypes.Project));
354}).ToSnapshot(executable, CreatePreviousSnapshot(KnownResourceTypes.Project));
416}).ToSnapshot(executable, CreatePreviousSnapshot());
452var previousSnapshot = CreatePreviousSnapshot() with
499var previousSnapshot = CreatePreviousSnapshot() with
538}).ToSnapshot(executable, CreatePreviousSnapshot());
567}).ToSnapshot(executable, CreatePreviousSnapshot());
601}).ToSnapshot(executable, CreatePreviousSnapshot());
624}).ToSnapshot(executable, CreatePreviousSnapshot());
648}).ToSnapshot(executable, CreatePreviousSnapshot());
672var snapshot = snapshotBuilder.ToSnapshot(executable, CreatePreviousSnapshot());
712}).ToSnapshot(executable, CreatePreviousSnapshot()));
741var projectSnapshot = snapshotBuilder.ToSnapshot(executable, CreatePreviousSnapshot(KnownResourceTypes.Project));
746var customSnapshot = snapshotBuilder.ToSnapshot(executable, CreatePreviousSnapshot("custom-type"));
760var snapshot = CreateSnapshotBuilder().ToSnapshot(executable, CreatePreviousSnapshot());
778var snapshot = CreateSnapshotBuilder().ToSnapshot(executable, CreatePreviousSnapshot());
793var snapshot = CreateSnapshotBuilder().ToSnapshot(executable, CreatePreviousSnapshot());
823var snapshot = CreateSnapshotBuilder().ToSnapshot(executable, CreatePreviousSnapshot());