17 instantiations of TestSubscriptionResource
Aspire.Hosting.Azure.Tests (17)
AzureBicepProvisionerTests.cs (7)
312var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000042"); 351var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000042"); 381var subscription = new TestSubscriptionResource([]); 418var scopedSubscription = new TestSubscriptionResource([], existingResourceGroup, scopedSubscriptionId); 427subscription: new TestSubscriptionResource([]), 449var subscription = new TestSubscriptionResource([]); 513var 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)
312var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000042"); 351var subscription = new TestSubscriptionResource([], subscriptionId: "00000000-0000-0000-0000-000000000042"); 381var subscription = new TestSubscriptionResource([]); 418var scopedSubscription = new TestSubscriptionResource([], existingResourceGroup, scopedSubscriptionId); 449var subscription = new TestSubscriptionResource([]); 513var 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);