47 references to BuildSemaphore
Aspire.Hosting.Maui (1)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
96
var semaphore = queueAnnotation.
BuildSemaphore
;
Aspire.Hosting.Maui.Tests (46)
MauiBuildQueueTests.cs (46)
29
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
64
Assert.Equal(0, annotation!.
BuildSemaphore
.CurrentCount);
82
Assert.Equal(1, annotation!.
BuildSemaphore
.CurrentCount);
199
Assert.Equal(1, annotation!.
BuildSemaphore
.CurrentCount);
353
Assert.Equal(1, annotation!.
BuildSemaphore
.CurrentCount);
361
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
434
Assert.Equal(1, annotation!.
BuildSemaphore
.CurrentCount);
453
Assert.Equal(1, annotation!.
BuildSemaphore
.CurrentCount);
520
Assert.Equal(0, annotation!.
BuildSemaphore
.CurrentCount);
572
Assert.Equal(0, annotation!.
BuildSemaphore
.CurrentCount);
649
Assert.Equal(0, annotation!.
BuildSemaphore
.CurrentCount);
660
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
668
await annotation!.
BuildSemaphore
.WaitAsync();
682
annotation.
BuildSemaphore
,
688
Assert.Equal(0, annotation.
BuildSemaphore
.CurrentCount);
697
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
738
await annotation!.
BuildSemaphore
.WaitAsync();
752
annotation.
BuildSemaphore
,
764
Assert.Equal(0, annotation.
BuildSemaphore
.CurrentCount);
772
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
795
await annotation!.
BuildSemaphore
.WaitAsync();
805
annotation.
BuildSemaphore
,
814
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
822
await annotation!.
BuildSemaphore
.WaitAsync();
841
annotation.
BuildSemaphore
,
850
Assert.Equal(0, annotation.
BuildSemaphore
.CurrentCount);
855
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
876
await annotation!.
BuildSemaphore
.WaitAsync();
881
annotation.
BuildSemaphore
,
902
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
910
await annotation!.
BuildSemaphore
.WaitAsync();
927
annotation.
BuildSemaphore
,
936
Assert.Equal(0, annotation.
BuildSemaphore
.CurrentCount);
944
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
964
await annotation!.
BuildSemaphore
.WaitAsync();
969
annotation.
BuildSemaphore
,
978
Assert.Equal(0, annotation.
BuildSemaphore
.CurrentCount);
992
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
1000
await annotation!.
BuildSemaphore
.WaitAsync();
1019
annotation.
BuildSemaphore
,
1027
Assert.Equal(0, annotation.
BuildSemaphore
.CurrentCount);
1032
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
1040
await annotation!.
BuildSemaphore
.WaitAsync();
1049
annotation.
BuildSemaphore
,
1058
Assert.Equal(1, annotation.
BuildSemaphore
.CurrentCount);
1130
Assert.Equal(1, annotation!.
BuildSemaphore
.CurrentCount);