C# 클래스 System.Xml.Tests.XsltcTestCaseBase

상속: OLEDB.Test.ModuleCore.CTestCase
파일 보기 프로젝트 열기: dotnet/corefx

공개 프로퍼티들

프로퍼티 타입 설명
szDefaultNS String
szEmpty String
szInvalid String
szLongNS String
szLongString String
szSimple String
szWhiteSpace String[]
szXslNS String

보호된 프로퍼티들

프로퍼티 타입 설명
_createFromInputFile bool
_isInProc bool

공개 메소드들

메소드 설명
Init ( object objParam ) : int
XsltcTestCaseBase ( ITestOutputHelper output ) : Xunit
xsltcExeFound ( ) : bool

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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.

메소드 상세

CompareOutput() 보호된 정적인 메소드

protected static CompareOutput ( Stream expectedStream, Stream actualStream, int count ) : void
expectedStream Stream
actualStream Stream
count int
리턴 void

CompareOutput() 보호된 정적인 메소드

protected static CompareOutput ( string expected, Stream actualStream ) : void
expected string
actualStream Stream
리턴 void

Init() 공개 메소드

public Init ( object objParam ) : int
objParam object
리턴 int

LoadPersistedTransformAssembly() 보호된 메소드

protected LoadPersistedTransformAssembly ( string asmName, string typeName, string baselineFile, bool pdb ) : bool
asmName string
typeName string
baselineFile string
pdb bool
리턴 bool

ReplaceCurrentWorkingDirectory() 보호된 메소드

protected ReplaceCurrentWorkingDirectory ( string commandLine ) : string
commandLine string
리턴 string

ShouldSkip() 보호된 메소드

protected ShouldSkip ( object varParams ) : bool
varParams object
리턴 bool

VerifyTest() 보호된 메소드

protected VerifyTest ( String cmdLine, String baselineFile, bool loadFromFile ) : void
cmdLine String
baselineFile String
loadFromFile bool
리턴 void

VerifyTest() 보호된 메소드

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
리턴 void

VerifyTest() 보호된 메소드

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
리턴 void

VerifyTest() 보호된 메소드

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
리턴 void

XsltcTestCaseBase() 공개 메소드

public XsltcTestCaseBase ( ITestOutputHelper output ) : Xunit
output ITestOutputHelper
리턴 Xunit

xsltcExeFound() 공개 정적인 메소드

public static xsltcExeFound ( ) : bool
리턴 bool

프로퍼티 상세

_createFromInputFile 보호되어 있는 프로퍼티

protected bool _createFromInputFile
리턴 bool

_isInProc 보호되어 있는 프로퍼티

protected bool _isInProc
리턴 bool

szDefaultNS 공개적으로 프로퍼티

public String szDefaultNS
리턴 String

szEmpty 공개적으로 프로퍼티

public String szEmpty
리턴 String

szInvalid 공개적으로 프로퍼티

public String szInvalid
리턴 String

szLongNS 공개적으로 프로퍼티

public String szLongNS
리턴 String

szLongString 공개적으로 프로퍼티

public String szLongString
리턴 String

szSimple 공개적으로 프로퍼티

public String szSimple
리턴 String

szWhiteSpace 공개적으로 프로퍼티

public String[] szWhiteSpace
리턴 String[]

szXslNS 공개적으로 프로퍼티

public String szXslNS
리턴 String