44 references to GetManifestForModel
Aspire.Hosting.JavaScript.Tests (1)
AddJavaScriptAppTests.cs (1)
221var exception = await Assert.ThrowsAsync<DistributedApplicationException>(() => ManifestUtils.GetManifestForModel(appModel, workspace.Path));
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
1307var exception = await Assert.ThrowsAsync<DistributedApplicationException>(() => ManifestUtils.GetManifestForModel(appModel, workspace.Path)); 1552var manifest = await ManifestUtils.GetManifestForModel(appModel, workspace.Path);
Aspire.Hosting.Redis.Tests (4)
AddRedisTests.cs (4)
154var fullManifest = await ManifestUtils.GetManifestForModel(model); 179var fullManifest = await ManifestUtils.GetManifestForModel(model); 208var fullManifest = await ManifestUtils.GetManifestForModel(model); 234var fullManifest = await ManifestUtils.GetManifestForModel(model);
Aspire.Hosting.Tests (37)
ConditionalReferenceExpressionTests.cs (6)
118var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 137var manifest = await ManifestUtils.GetManifestForModel( 156var manifest = await ManifestUtils.GetManifestForModel( 173var error = await Assert.ThrowsAsync<InvalidOperationException>(() => ManifestUtils.GetManifestForModel( 192var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 213var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>());
ManifestExpressionTests.cs (31)
45var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 72var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 97var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>(), workspace.Path) 174var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 198var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 228var manifest = await ManifestUtils.GetManifestForModel(model); 232var repeated = await ManifestUtils.GetManifestForModel(model); 255var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 276var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 293var error = await Assert.ThrowsAsync<InvalidOperationException>(() => ManifestUtils.GetManifestForModel( 309var initial = await ManifestUtils.GetManifestForModel(model); 314var manifest = await ManifestUtils.GetManifestForModel(model); 329var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 344var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 364var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 392var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 422var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()) 443var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>(), workspace.Path) 459var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()) 482var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 505var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 523var manifest = await ManifestUtils.GetManifestForModel( 552var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 575var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 593var error = await Assert.ThrowsAsync<NotSupportedException>(() => ManifestUtils.GetManifestForModel( 610var error = await Assert.ThrowsAsync<NotSupportedException>(() => ManifestUtils.GetManifestForModel( 636var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 658var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 672var manifest = await ManifestUtils.GetManifestForModel( 686var manifest = await ManifestUtils.GetManifestForModel(app.Services.GetRequiredService<DistributedApplicationModel>()); 703var error = await Assert.ThrowsAsync<InvalidOperationException>(() => ManifestUtils.GetManifestForModel(