C# Class StatePrinting.TestAssistance.Parser

Mostrar archivo Open project: kbilsted/StatePrinter Class Usage Examples

Public Methods

Method Description
ReplaceExpected ( string content, int lineNo, string originalExpected, string newExpected ) : string

Private Methods

Method Description
EscapeForRegEx ( string s ) : string
EscapeForString ( string s ) : string
EscapeForVerbatimString ( string s ) : string
FindLastIndexOfLineNo ( string content, int lineNo ) : int

Does not support files using only \r as newlines

Method Details

ReplaceExpected() public method

public ReplaceExpected ( string content, int lineNo, string originalExpected, string newExpected ) : string
content string
lineNo int
originalExpected string
newExpected string
return string