Method | Description | |
---|---|---|
AssertTextFileContent ( FileInfo expectedFile, string actualFileContent ) : void |
Assert text file(.txt).
|
|
AssertTextFiles ( FileInfo expectedFile, FileInfo actualFile ) : void |
Assert 2 text files with extensions .txt, .csv, .docx, .odt. The two files should have same extensions.
|
Method | Description | |
---|---|---|
GetDifrences ( Array expectedTextFileLines, Array actualFileContentLines ) : List |
public static AssertTextFileContent ( FileInfo expectedFile, string actualFileContent ) : void | ||
expectedFile | FileInfo | Text File which content is expected. |
actualFileContent | string | Actual file content. |
return | void |
public static AssertTextFiles ( FileInfo expectedFile, FileInfo actualFile ) : void | ||
expectedFile | FileInfo | Expected file. |
actualFile | FileInfo | Actual file. |
return | void |