59 references to Matches
Aspire.Dashboard.Tests (1)
dotnet.Tests (16)
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestsForMultipleTFMs.cs (15)
34MatchCollection previousDotnetProjectMatches = Regex.Matches(result.StdOut!, RegexPatternHelper.GenerateProjectRegexPattern("TestProject", TestingConstants.Failed, useCurrentVersion: false, configuration));
35MatchCollection currentDotnetProjectMatches = Regex.Matches(result.StdOut!, RegexPatternHelper.GenerateProjectRegexPattern("OtherTestProject", TestingConstants.Passed, useCurrentVersion: true, configuration));
37MatchCollection skippedTestsMatches = Regex.Matches(result.StdOut!, "skipped Test2");
38MatchCollection failedTestsMatches = Regex.Matches(result.StdOut!, "failed Test3");
74MatchCollection previousDotnetProjectMatches = Regex.Matches(result.StdOut!, RegexPatternHelper.GenerateProjectRegexPattern("TestProject", TestingConstants.Failed, useCurrentVersion: false, configuration));
75MatchCollection currentDotnetProjectMatches = Regex.Matches(result.StdOut!, RegexPatternHelper.GenerateProjectRegexPattern("TestProject", TestingConstants.Failed, useCurrentVersion: true, configuration));
76MatchCollection currentDotnetOtherProjectMatches = Regex.Matches(result.StdOut!, RegexPatternHelper.GenerateProjectRegexPattern("OtherTestProject", TestingConstants.Passed, useCurrentVersion: true, configuration));
78MatchCollection skippedTestsMatches = Regex.Matches(result.StdOut!, "skipped Test1");
79MatchCollection failedTestsMatches = Regex.Matches(result.StdOut!, "failed Test2");
80MatchCollection timeoutTestsMatches = Regex.Matches(result.StdOut!, @"failed \(canceled\) Test3");
81MatchCollection errorTestsMatches = Regex.Matches(result.StdOut!, "failed Test4");
82MatchCollection canceledTestsMatches = Regex.Matches(result.StdOut!, @"failed \(canceled\) Test5");
190MatchCollection previousDotnetProjectMatches = Regex.Matches(result.StdOut!, RegexPatternHelper.GenerateProjectRegexPattern("TestProject", TestingConstants.Failed, useCurrentVersion: false, configuration));
191MatchCollection currentDotnetProjectMatches = Regex.Matches(result.StdOut!, RegexPatternHelper.GenerateProjectRegexPattern("TestProject", TestingConstants.Failed, useCurrentVersion: true, configuration));
193MatchCollection failedTestsMatches = Regex.Matches(result.StdOut!, "failed TestMethod3");
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (11)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.Build.BuildCheck.UnitTests (11)
EndToEndTests.cs (11)
65Regex.Matches(output, "BC0201: .* Property").Count.ShouldBe(2);
66Regex.Matches(output, "BC0202: .* Property").Count.ShouldBe(2);
67Regex.Matches(output, "BC0203 .* Property").Count.ShouldBe(2);
130Regex.Matches(output.LogOutput, expectedDiagnostic).Count.ShouldBe(2);
244Regex.Matches(output, expectedDiagnostic).Count.ShouldBe(2);
354Regex.Matches(output, "BC0202: .* Property").Count.ShouldBe(2);
355Regex.Matches(output, "BC0203: .* Property").Count.ShouldBe(38);
359Regex.Matches(output, "BC0202: .* Property").Count.ShouldBe(2);
360Regex.Matches(output, "BC0203: .* Property").Count.ShouldBe(42);
396Regex.Matches(output, expectedDiagnostic).Count.ShouldBe(2);
474Regex.Matches(output, expectedDiagnostic).Count.ShouldBe(expectCheckTrigger ? 2 : 0);
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Engine.UnitTests (4)
Microsoft.Build.Tasks.UnitTests (2)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.DotNet.Open.Api.Tools.Tests (4)
Microsoft.Extensions.AI.OpenAI.Tests (1)
Microsoft.Maui.Controls (1)
QuarantineTools.Tests (2)