Method | Description | |
---|---|---|
AssertEqualLines ( string msgPrefix, |
||
AssertEqualLines ( string msgPrefix, string expected, string actual ) : void |
Method | Description | |
---|---|---|
BuildTestResourceName ( string kind, int pos, bool fail, string ext ) : string | ||
DoTest ( string kind, Stream testRes, string testCaseName ) : void | ||
GetResourceAsStream ( string name ) : Stream |
Opens a stream to the given embedded resource in the test assembly. Fails if the given test resource cannot be located in the assembly.
|
|
GetTestResource ( string filename ) : Stream | ||
IterateResourceTestCases ( string kind, string ext, bool expectFailures ) : void |
Method | Description | |
---|---|---|
Cleanup ( ) : void | ||
Initialize ( ) : void |
public static AssertEqualLines ( string msgPrefix, |
||
msgPrefix | string | |
expectedReader | ||
actualReader | ||
return | void |
public static AssertEqualLines ( string msgPrefix, string expected, string actual ) : void | ||
msgPrefix | string | |
expected | string | |
actual | string | |
return | void |
protected BuildTestResourceName ( string kind, int pos, bool fail, string ext ) : string | ||
kind | string | |
pos | int | |
fail | bool | |
ext | string | |
return | string |
protected DoTest ( string kind, Stream testRes, string testCaseName ) : void | ||
kind | string | |
testRes | Stream | |
testCaseName | string | |
return | void |
protected GetResourceAsStream ( string name ) : Stream | ||
name | string | the name of the embedded resource without assembly prefix |
return | Stream |
protected GetTestResource ( string filename ) : Stream | ||
filename | string | |
return | Stream |
protected IterateResourceTestCases ( string kind, string ext, bool expectFailures ) : void | ||
kind | string | |
ext | string | |
expectFailures | bool | |
return | void |