-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable multiplier style max threads support
- Loading branch information
1 parent
9677d41
commit 3722e54
Showing
17 changed files
with
186 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.Text.RegularExpressions; | ||
|
||
namespace Xunit | ||
{ | ||
/// <summary> | ||
/// Utilities for reading configuration values. | ||
/// </summary> | ||
public static class ConfigUtility | ||
{ | ||
/// <summary> | ||
/// Gets the regular expression that matches the multiplier-style value for maximum | ||
/// parallel threads (that is, '0.5x', '2x', etc.). | ||
/// </summary> | ||
public static readonly Regex MultiplierStyleMaxParallelThreadsRegex = new(@"^(\d+((\.|,)\d+)?)(x|X)$"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.