16 instantiations of TestSubscriptionResource
Aspire.Hosting.Azure.Tests (16)
AzureBicepProvisionerTests.cs (6)
279var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000042"); 314var subscription = new TestSubscriptionResource([]); 351var scopedSubscription = new TestSubscriptionResource([], existingResourceGroup, scopedSubscriptionId); 360subscription: new TestSubscriptionResource([]), 382var subscription = new TestSubscriptionResource([]); 412var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000044");
AzureDeployerTests.cs (3)
92var subscription = new TestSubscriptionResource([], resourceGroup: null, resourceGroupLookupReturnsNotFound: true); 158var subscription = new TestSubscriptionResource(new Dictionary<string, object> 207var 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);
8 references to TestSubscriptionResource
Aspire.Hosting.Azure.Tests (8)
AzureBicepProvisionerTests.cs (5)
279var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000042"); 314var subscription = new TestSubscriptionResource([]); 351var scopedSubscription = new TestSubscriptionResource([], existingResourceGroup, scopedSubscriptionId); 382var subscription = new TestSubscriptionResource([]); 412var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000044");
AzureDeployerTests.cs (3)
92var subscription = new TestSubscriptionResource([], resourceGroup: null, resourceGroupLookupReturnsNotFound: true); 158var subscription = new TestSubscriptionResource(new Dictionary<string, object> 207var subscription = new TestSubscriptionResource([], resourceGroup: null, resourceGroupLookupReturnsNotFound: true);