C# Class System.Text.RegularExpressions.Tests.RegexMatchTests

Datei anzeigen Open project: dotnet/corefx

Public Methods

Method Description
Match_Advanced_TestData ( ) : IEnumerable
Match_Basic_TestData ( ) : IEnumerable
VerifyMatch ( Match match, bool expectedSuccess, CaptureData expected ) : void
VerifyMatch ( Match match, bool expectedSuccess, string expectedValue ) : void

Private Methods

Method Description
IsMatch_Invalid ( ) : void
Match ( string pattern, string input, RegexOptions options, int beginning, int length, CaptureData expected ) : void
Match ( string pattern, string input, RegexOptions options, int beginning, int length, bool expectedSuccess, string expectedValue ) : void
Match_Invalid ( ) : void
Match_InvalidPattern ( string pattern ) : void
Match_SpecialUnicodeCharacters ( ) : void
Match_Timeout ( ) : void
Result ( string pattern, string input, string replacement, string expected ) : void
Result_Invalid ( ) : void

Method Details

Match_Advanced_TestData() public static method

public static Match_Advanced_TestData ( ) : IEnumerable
return IEnumerable

Match_Basic_TestData() public static method

public static Match_Basic_TestData ( ) : IEnumerable
return IEnumerable

VerifyMatch() public static method

public static VerifyMatch ( Match match, bool expectedSuccess, CaptureData expected ) : void
match Match
expectedSuccess bool
expected CaptureData
return void

VerifyMatch() public static method

public static VerifyMatch ( Match match, bool expectedSuccess, string expectedValue ) : void
match Match
expectedSuccess bool
expectedValue string
return void