C# Class System.Xml.Tests.XsltcTestCaseBase

Inheritance: OLEDB.Test.ModuleCore.CTestCase
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Свойство Type Description
szDefaultNS String
szEmpty String
szInvalid String
szLongNS String
szLongString String
szSimple String
szWhiteSpace String[]
szXslNS String

Protected Properties

Свойство Type Description
_createFromInputFile bool
_isInProc bool

Méthodes publiques

Méthode Description
Init ( object objParam ) : int
XsltcTestCaseBase ( ITestOutputHelper output ) : Xunit
xsltcExeFound ( ) : bool

Méthodes protégées

Méthode 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

Private Methods

Méthode 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.

Method Details

CompareOutput() protected static méthode

protected static CompareOutput ( Stream expectedStream, Stream actualStream, int count ) : void
expectedStream Stream
actualStream Stream
count int
Résultat void

CompareOutput() protected static méthode

protected static CompareOutput ( string expected, Stream actualStream ) : void
expected string
actualStream Stream
Résultat void

Init() public méthode

public Init ( object objParam ) : int
objParam object
Résultat int

LoadPersistedTransformAssembly() protected méthode

protected LoadPersistedTransformAssembly ( string asmName, string typeName, string baselineFile, bool pdb ) : bool
asmName string
typeName string
baselineFile string
pdb bool
Résultat bool

ReplaceCurrentWorkingDirectory() protected méthode

protected ReplaceCurrentWorkingDirectory ( string commandLine ) : string
commandLine string
Résultat string

ShouldSkip() protected méthode

protected ShouldSkip ( object varParams ) : bool
varParams object
Résultat bool

VerifyTest() protected méthode

protected VerifyTest ( String cmdLine, String baselineFile, bool loadFromFile ) : void
cmdLine String
baselineFile String
loadFromFile bool
Résultat void

VerifyTest() protected méthode

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
Résultat void

VerifyTest() protected méthode

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
Résultat void

VerifyTest() protected méthode

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
Résultat void

XsltcTestCaseBase() public méthode

public XsltcTestCaseBase ( ITestOutputHelper output ) : Xunit
output ITestOutputHelper
Résultat Xunit

xsltcExeFound() public static méthode

public static xsltcExeFound ( ) : bool
Résultat bool

Property Details

_createFromInputFile protected_oe property

protected bool _createFromInputFile
Résultat bool

_isInProc protected_oe property

protected bool _isInProc
Résultat bool

szDefaultNS public_oe property

public String szDefaultNS
Résultat String

szEmpty public_oe property

public String szEmpty
Résultat String

szInvalid public_oe property

public String szInvalid
Résultat String

szLongNS public_oe property

public String szLongNS
Résultat String

szLongString public_oe property

public String szLongString
Résultat String

szSimple public_oe property

public String szSimple
Résultat String

szWhiteSpace public_oe property

public String[] szWhiteSpace
Résultat String[]

szXslNS public_oe property

public String szXslNS
Résultat String