17 instantiations of TestSubscriptionResource
Aspire.Hosting.Azure.Tests (17)
AzureBicepProvisionerTests.cs (7)
281var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000042"); 320var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000042"); 350var subscription = new TestSubscriptionResource([]); 387var scopedSubscription = new TestSubscriptionResource([], existingResourceGroup, scopedSubscriptionId); 396subscription: new TestSubscriptionResource([]), 418var subscription = new TestSubscriptionResource([]); 482var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000044");
AzureDeployerTests.cs (3)
93var subscription = new TestSubscriptionResource([], resourceGroup: null, resourceGroupLookupReturnsNotFound: true); 159var subscription = new TestSubscriptionResource(new Dictionary<string, object> 208var subscription = new TestSubscriptionResource([], resourceGroup: null, resourceGroupLookupReturnsNotFound: true);
ProvisioningTestHelpers.cs (7)
54subscription ?? new TestSubscriptionResource(), 288subscription = new TestSubscriptionResource(_deploymentOutputsProvider); 292subscription = new TestSubscriptionResource(_deploymentOutputs!, _resourceGroup, resourceGroupLookupReturnsNotFound: _resourceGroupLookupReturnsNotFound); 311new TestSubscriptionResource() 323new TestSubscriptionResource() 337subscription = new TestSubscriptionResource(_deploymentOutputsProvider, subscriptionId); 341subscription = new TestSubscriptionResource(_deploymentOutputs!, _resourceGroup, subscriptionId);
9 references to TestSubscriptionResource
Aspire.Hosting.Azure.Tests (9)
AzureBicepProvisionerTests.cs (6)
281var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000042"); 320var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000042"); 350var subscription = new TestSubscriptionResource([]); 387var scopedSubscription = new TestSubscriptionResource([], existingResourceGroup, scopedSubscriptionId); 418var subscription = new TestSubscriptionResource([]); 482var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000044");
AzureDeployerTests.cs (3)
93var subscription = new TestSubscriptionResource([], resourceGroup: null, resourceGroupLookupReturnsNotFound: true); 159var subscription = new TestSubscriptionResource(new Dictionary<string, object> 208var subscription = new TestSubscriptionResource([], resourceGroup: null, resourceGroupLookupReturnsNotFound: true);