Base:
169 references to ToString
Aspire.Dashboard.Tests (3)
Aspire.Hosting (1)
Aspire.Hosting.Azure (3)
Aspire.Hosting.Azure.Tests (83)
AzureBicepProvisionerTests.cs (8)
27Assert.Equal("david", parameters["name"]?["value"]?.ToString());
63Assert.Equal("john", parameters["name"]?["value"]?.ToString());
65Assert.Equal(["a", "b", "c"], parameters["values"]?["value"]?.AsArray()?.Select(v => v?.ToString()) ?? []);
66Assert.Equal("connection string", parameters["conn"]?["value"]?.ToString());
67Assert.Equal("value", parameters["jsonObj"]?["value"]?["key"]?.ToString());
68Assert.Equal("paramValue", parameters["param"]?["value"]?.ToString());
69Assert.Equal("paramValue/1", parameters["expr"]?["value"]?.ToString());
70Assert.Equal("http://localhost:1023", parameters["endpoint"]?["value"]?.ToString());
AzureBicepResourceTests.cs (51)
267Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
361Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
454Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
520Assert.Equal(expectedManifest, appInsightsManifest.ManifestNode.ToString());
574Assert.Equal(expectedManifest, appInsightsManifest.ManifestNode.ToString());
643Assert.Equal(expectedManifest, appInsightsManifest.ManifestNode.ToString());
691Assert.Equal(expectedManifest, appInsightsManifest.ManifestNode.ToString());
750Assert.Equal("azure.bicep.v0", manifest["type"]?.ToString());
751Assert.Equal("infrastructure1.module.bicep", manifest["path"]?.ToString());
790Assert.Equal(expectedManifest, manifest.ToString());
829Assert.Equal(expectedManifest, manifest.ToString());
859Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
920Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
982Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
1044Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
1127Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
1220Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
1309Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
1427Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
1534Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
1559Assert.Equal(expectedManifest, manifest.ToString());
1579Assert.Equal(expectedManifest, manifest.ToString());
1598Assert.Equal(expectedManifest, manifest.ToString());
1650Assert.Equal(expected, manifest.ManifestNode.ToString());
1741Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
1808Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
1925Assert.Equal(expectedStorageManifest, storageManifest.ManifestNode.ToString());
2014Assert.Equal(expectedBlobManifest, blobManifest.ToString());
2029Assert.Equal(expectedQueueManifest, queueManifest.ToString());
2044Assert.Equal(expectedTableManifest, tableManifest.ToString());
2084Assert.Equal(expectedStorageManifest, storageManifest.ManifestNode.ToString());
2173Assert.Equal(expectedBlobManifest, blobManifest.ToString());
2188Assert.Equal(expectedQueueManifest, queueManifest.ToString());
2203Assert.Equal(expectedTableManifest, tableManifest.ToString());
2242Assert.Equal(expectedStorageManifest, storageManifest.ManifestNode.ToString());
2331Assert.Equal(expectedBlobManifest, blobManifest.ToString());
2346Assert.Equal(expectedQueueManifest, queueManifest.ToString());
2361Assert.Equal(expectedTableManifest, tableManifest.ToString());
2401Assert.Equal(expectedStorageManifest, storageManifest.ManifestNode.ToString());
2490Assert.Equal(expectedBlobManifest, blobManifest.ToString());
2505Assert.Equal(expectedQueueManifest, queueManifest.ToString());
2520Assert.Equal(expectedTableManifest, tableManifest.ToString());
2564Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
2632Assert.Equal("{ai.value}", aiManifest["connectionString"]?.ToString());
2633Assert.Equal("parameter.v0", aiManifest["type"]?.ToString());
2636Assert.Equal("{servicebus.value}", serviceBusManifest["connectionString"]?.ToString());
2637Assert.Equal("parameter.v0", serviceBusManifest["type"]?.ToString());
2640Assert.Equal("{ai.connectionString}", serviceManifest["env"]?["APPLICATIONINSIGHTS_CONNECTION_STRING"]?.ToString());
2641Assert.Equal("{servicebus.connectionString}", serviceManifest["env"]?["ConnectionStrings__servicebus"]?.ToString());
2685Assert.Equal(expectedManifest, manifest.ManifestNode.ToString());
2858Assert.Equal(expectedManifest, manifest.ToString());
Aspire.Hosting.Containers.Tests (5)
Aspire.Hosting.Elasticsearch.Tests (2)
Aspire.Hosting.Garnet.Tests (1)
Aspire.Hosting.Kafka.Tests (1)
Aspire.Hosting.Keycloak.Tests (1)
Aspire.Hosting.Milvus.Tests (2)
Aspire.Hosting.MongoDB.Tests (2)
Aspire.Hosting.MySql.Tests (3)
Aspire.Hosting.Nats.Tests (4)
Aspire.Hosting.NodeJs.Tests (2)
Aspire.Hosting.Oracle.Tests (3)
Aspire.Hosting.PostgreSQL.Tests (5)
Aspire.Hosting.Qdrant.Tests (2)
Aspire.Hosting.RabbitMQ.Tests (4)
Aspire.Hosting.Redis.Tests (1)
Aspire.Hosting.SqlServer.Tests (3)
Aspire.Hosting.Tests (27)
Aspire.Hosting.Valkey.Tests (1)
Microsoft.Build.BuildCheck.UnitTests (3)
Microsoft.DotNet.Internal.SymbolHelper (2)
Roslyn.VisualStudio.Next.UnitTests (4)
Stress.ApiService (1)