329 references to StartsWith
Aspire.Dashboard.Tests (1)
Aspire.Hosting.Azure.Tests (9)
Aspire.Hosting.Garnet.Tests (1)
Aspire.Hosting.MySql.Tests (1)
Aspire.Hosting.Oracle.Tests (1)
Aspire.Hosting.Redis.Tests (1)
Aspire.Hosting.Valkey.Tests (1)
Aspire.StackExchange.Redis.OutputCaching.Tests (1)
Aspire.StackExchange.Redis.Tests (1)
Diagnostics.EFCore.FunctionalTests (4)
IIS.Common.TestLib (1)
IIS.FunctionalTests (3)
IISExpress.FunctionalTests (3)
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Antiforgery.Test (2)
Microsoft.AspNetCore.App.Analyzers.Test (3)
Microsoft.AspNetCore.Authentication.Test (23)
Microsoft.AspNetCore.Components.Endpoints.Tests (5)
Microsoft.AspNetCore.Components.Forms.Tests (1)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Components.Tests (13)
Microsoft.AspNetCore.Components.Web.Tests (5)
Microsoft.AspNetCore.Http.Extensions.Tests (7)
Microsoft.AspNetCore.Http.Tests (7)
Microsoft.AspNetCore.HttpLogging.Tests (11)
Microsoft.AspNetCore.HttpOverrides.Tests (2)
Microsoft.AspNetCore.Identity.FunctionalTests (3)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Microsoft.AspNetCore.Mvc.FunctionalTests (28)
RazorPagesTest.cs (24)
69Assert.StartsWith("Method: OnGetCustomer", content.Trim());
79Assert.StartsWith("Method: OnGetCustomer", content.Trim());
89Assert.StartsWith("Method: OnGetCustomer", content.Trim());
111Assert.StartsWith("Method: OnPostAsync", content.Trim());
121Assert.StartsWith("Method: OnGetViewCustomerAsync", content.Trim());
202Assert.StartsWith("Method: OnGetCustomer", content.Trim());
224Assert.StartsWith("Method: OnPostAsync", content.Trim());
234Assert.StartsWith("Method: OnGetViewCustomerAsync", content.Trim());
326Assert.StartsWith("<a href=\"/Show?id=2\">Post title</a>", content.Trim());
427Assert.StartsWith("Hello, You posted!", content.Trim());
446Assert.StartsWith("Hello, pagemodel!", content.Trim());
565Assert.StartsWith("Message: Secret Message", content.Trim());
590Assert.StartsWith("Message: Secret post", content.Trim());
603Assert.StartsWith("Message: Secret post", content.Trim());
687Assert.StartsWith(expected, content.Trim());
742Assert.StartsWith(expected, content.Trim());
858Assert.StartsWith(expected, content.Trim());
882Assert.StartsWith(expected, content.Trim());
931Assert.StartsWith(expected, content.Trim());
1177Assert.StartsWith(expected, response.Trim());
1190Assert.StartsWith(expected, response.Trim());
1203Assert.StartsWith(expected, response.Trim());
1303Assert.StartsWith(expected, responseContent.Trim());
1344Assert.StartsWith(expected, responseContent.Trim());
Microsoft.AspNetCore.Mvc.Localization.Test (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (3)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (11)
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
Microsoft.AspNetCore.Shared.Tests (1)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
Microsoft.AspNetCore.SignalR.Client.Tests (3)
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
Microsoft.AspNetCore.SignalR.Tests (1)
Microsoft.AspNetCore.Testing.Tests (1)
Microsoft.Build.CommandLine.UnitTests (4)
Microsoft.Build.Engine.UnitTests (7)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (3)
Microsoft.Build.Tasks.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
178Assert.StartsWith($"error CS0016: Could not write to output file '{xmlPath}' -- ", outWriter.ToString());
4777Assert.StartsWith($"error CS2012: Cannot open '{subFolder}' for writing -- ", output); // Cannot create a file when that file already exists.
14767Assert.StartsWith($"error CS8785: Generator 'FailsExecuteGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'Exception' with message 'THROW'",
14812Assert.StartsWith($"error CS8784: Generator 'FailsInitializeGenerator' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'Exception' with message 'THROW'",
15677Assert.StartsWith("test.cs(3,47): error CS9211: The diagnosticId argument to the 'Experimental' attribute must be a valid identifier",
15716Assert.StartsWith("test.cs(1,1): warning DiagID: 'C' is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.",
15756Assert.StartsWith("test.cs(1,1): error DiagID: 'C' is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.",
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (6)
Microsoft.DotNet.Helix.JobSender.Tests (2)
Microsoft.DotNet.XUnitAssert.Tests (15)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (1)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.JSInterop.Tests (4)
Microsoft.ML.AutoML.Tests (11)
UserInputValidationTests.cs (11)
30Assert.StartsWith("Training data cannot be null", ex.Message);
120Assert.StartsWith("Training data and validation data schemas do not match. Train data has '2' columns,and validation data has '1' columns.", ex.Message);
143Assert.StartsWith("Training data and validation data schemas do not match. Column '1' exists in train data, but not in validation data.", ex.Message);
166Assert.StartsWith("Training data and validation data schemas do not match. Column '1' is of type String in train data, and type Single in validation data.", ex.Message);
174Assert.StartsWith("Provided path cannot be null", ex.Message);
181Assert.StartsWith("File 'idontexist' does not exist", ex.Message);
190Assert.StartsWith("File at path 'empty' cannot be empty", ex.Message);
209Assert.StartsWith("Features column must be of data type Single", ex.Message);
304Assert.StartsWith("Only supported feature column types are Boolean, Single, and String. Please change the feature column UInt64 of type UInt64 to one of the supported types.", ex.Message);
317Assert.StartsWith("Training data has 0 rows", ex.Message);
340Assert.StartsWith("Validation data has 0 rows", ex.Message);
Microsoft.ML.Tests (3)
Roslyn.VisualStudio.Next.UnitTests (2)
ServerComparison.FunctionalTests (2)
Shared.Tests (48)
Throw\DoubleTests.cs (12)
20Assert.StartsWith("Argument less than minimum value 1", exception.Message);
24Assert.StartsWith("Argument less than minimum value 1", exception.Message);
39Assert.StartsWith("Argument greater than maximum value 0", exception.Message);
43Assert.StartsWith("Argument greater than maximum value 0", exception.Message);
58Assert.StartsWith("Argument less or equal than minimum value 1.2", exception.Message);
62Assert.StartsWith("Argument less or equal than minimum value 1.2", exception.Message);
77Assert.StartsWith("Argument greater or equal than maximum value 1.22", exception.Message);
81Assert.StartsWith("Argument greater or equal than maximum value 1.22", exception.Message);
98Assert.StartsWith("Argument is zero", exception.Message);
117Assert.StartsWith("Argument not in the range", exception.Message);
121Assert.StartsWith("Argument not in the range", exception.Message);
128Assert.StartsWith("Argument not in the range", exception.Message);
Throw\IntegerTests.cs (14)
20Assert.StartsWith("Argument less than minimum value 1", exception.Message);
35Assert.StartsWith("Argument greater than maximum value 0", exception.Message);
50Assert.StartsWith("Argument less or equal than minimum value 1", exception.Message);
65Assert.StartsWith("Argument greater or equal than maximum value 1", exception.Message);
80Assert.StartsWith("Argument is zero", exception.Message);
95Assert.StartsWith("Argument not in the range", exception.Message);
99Assert.StartsWith("Argument not in the range", exception.Message);
180Assert.StartsWith("Argument less than minimum value 1", exception.Message);
195Assert.StartsWith("Argument greater than maximum value 0", exception.Message);
210Assert.StartsWith("Argument less or equal than minimum value 1", exception.Message);
225Assert.StartsWith("Argument greater or equal than maximum value 1", exception.Message);
240Assert.StartsWith("Argument is zero", exception.Message);
255Assert.StartsWith("Argument not in the range", exception.Message);
259Assert.StartsWith("Argument not in the range", exception.Message);
Throw\LongTests.cs (14)
20Assert.StartsWith("Argument less than minimum value 1", exception.Message);
35Assert.StartsWith("Argument greater than maximum value 0", exception.Message);
50Assert.StartsWith("Argument less or equal than minimum value 1", exception.Message);
65Assert.StartsWith("Argument greater or equal than maximum value 1", exception.Message);
80Assert.StartsWith("Argument is zero", exception.Message);
95Assert.StartsWith("Argument not in the range", exception.Message);
99Assert.StartsWith("Argument not in the range", exception.Message);
180Assert.StartsWith("Argument less than minimum value 1", exception.Message);
195Assert.StartsWith("Argument greater than maximum value 0", exception.Message);
210Assert.StartsWith("Argument less or equal than minimum value 1", exception.Message);
225Assert.StartsWith("Argument greater or equal than maximum value 1", exception.Message);
240Assert.StartsWith("Argument is zero", exception.Message);
255Assert.StartsWith("Argument not in the range", exception.Message);
259Assert.StartsWith("Argument not in the range", exception.Message);
System.Windows.Forms.Primitives.Tests (6)
System.Windows.Forms.Tests (13)
Templates.Blazor.Tests (1)
Templates.Blazor.WebAssembly.Auth.Tests (1)
Templates.Blazor.WebAssembly.Tests (1)
Templates.Mvc.Tests (1)
Templates.Tests (1)