Property | Type | Description | |
---|---|---|---|
szDefaultNS | String | ||
szEmpty | String | ||
szInvalid | String | ||
szLongNS | String | ||
szLongString | String | ||
szSimple | String | ||
szWhiteSpace | String[] | ||
szXslNS | String |
Property | Type | Description | |
---|---|---|---|
_createFromInputFile | bool | ||
_isInProc | bool |
Method | Description | |
---|---|---|
Init ( object objParam ) : int | ||
XsltcTestCaseBase ( ITestOutputHelper output ) : Xunit | ||
xsltcExeFound ( ) : bool |
Method | Description | |
---|---|---|
CompareOutput ( Stream expectedStream, Stream actualStream, int count ) : void | ||
CompareOutput ( string expected, Stream actualStream ) : void | ||
LoadPersistedTransformAssembly ( string asmName, string typeName, string baselineFile, bool pdb ) : bool | ||
ReplaceCurrentWorkingDirectory ( string commandLine ) : string | ||
ShouldSkip ( object varParams ) : bool | ||
VerifyTest ( String cmdLine, String baselineFile, bool loadFromFile ) : void | ||
VerifyTest ( String cmdLine, String asmName, bool asmCreated, String typeName, String baselineFile, bool loadFromFile ) : void | ||
VerifyTest ( String cmdLine, String asmName, bool asmCreated, String typeName, String pdbName, bool pdbCreated, String baselineFile, bool loadFromFile ) : void | ||
VerifyTest ( String cmdLine, String asmName, bool asmCreated, String typeName, String pdbName, bool pdbCreated, String baselineFile, bool runAssemblyVerification, bool loadFromFile ) : void |
Method | Description | |
---|---|---|
CreateInputFile ( string commandLine ) : string | ||
GetPath ( string fileName ) : string | ||
SafeDeleteFile ( string fileName ) : void | ||
TryCreatePersistedTransformAssembly ( string commandLine, bool createFromInputFile, bool expectedToSucceed, string targetDirectory ) : string |
Currently this method supports only 1 input file. For variations that require more than one input file to test @file functionality, custom-craft and write those input files in the body of the variation method, then pass an appropriate commandline such as @file1 @file2 @file3, along with createFromInputFile = false.
|
protected static CompareOutput ( Stream expectedStream, Stream actualStream, int count ) : void | ||
expectedStream | Stream | |
actualStream | Stream | |
count | int | |
return | void |
protected static CompareOutput ( string expected, Stream actualStream ) : void | ||
expected | string | |
actualStream | Stream | |
return | void |
protected LoadPersistedTransformAssembly ( string asmName, string typeName, string baselineFile, bool pdb ) : bool | ||
asmName | string | |
typeName | string | |
baselineFile | string | |
pdb | bool | |
return | bool |
protected ReplaceCurrentWorkingDirectory ( string commandLine ) : string | ||
commandLine | string | |
return | string |
protected ShouldSkip ( object varParams ) : bool | ||
varParams | object | |
return | bool |
protected VerifyTest ( String cmdLine, String baselineFile, bool loadFromFile ) : void | ||
cmdLine | String | |
baselineFile | String | |
loadFromFile | bool | |
return | void |
protected VerifyTest ( String cmdLine, String asmName, bool asmCreated, String typeName, String baselineFile, bool loadFromFile ) : void | ||
cmdLine | String | |
asmName | String | |
asmCreated | bool | |
typeName | String | |
baselineFile | String | |
loadFromFile | bool | |
return | void |
protected VerifyTest ( String cmdLine, String asmName, bool asmCreated, String typeName, String pdbName, bool pdbCreated, String baselineFile, bool loadFromFile ) : void | ||
cmdLine | String | |
asmName | String | |
asmCreated | bool | |
typeName | String | |
pdbName | String | |
pdbCreated | bool | |
baselineFile | String | |
loadFromFile | bool | |
return | void |
protected VerifyTest ( String cmdLine, String asmName, bool asmCreated, String typeName, String pdbName, bool pdbCreated, String baselineFile, bool runAssemblyVerification, bool loadFromFile ) : void | ||
cmdLine | String | |
asmName | String | |
asmCreated | bool | |
typeName | String | |
pdbName | String | |
pdbCreated | bool | |
baselineFile | String | |
runAssemblyVerification | bool | |
loadFromFile | bool | |
return | void |
public XsltcTestCaseBase ( ITestOutputHelper output ) : Xunit | ||
output | ITestOutputHelper | |
return | Xunit |