C# 클래스 Xunit.ExecutorWrapper

Wraps calls to the Executor. Used by runners to perform version-resilient test enumeration and execution.
상속: IExecutorWrapper
파일 보기 프로젝트 열기: quetzalcoatl/xvsr10 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EnumerateTests ( ) : XmlNode
ExecutorWrapper ( string assemblyFilename, string configFilename, bool shadowCopy ) : System

Initializes a new instance of the ExecutorWrapper class.

GetAssemblyTestCount ( ) : int
RunAssembly ( Predicate callback ) : XmlNode
RunClass ( string type, Predicate callback ) : XmlNode
RunTest ( string type, string method, Predicate callback ) : XmlNode
RunTests ( string type, List methods, Predicate callback ) : XmlNode

비공개 메소드들

메소드 설명
CreateAppDomain ( string assemblyFilename, string configFilename, bool shadowCopy ) : AppDomain
CreateObject ( string typeName ) : object
ExecutorWrapper ( ) : System

Initializes the ExecutorWrapper class.

GetDefaultConfigFile ( string assemblyFile ) : string
RethrowWithNoStackTraceLoss ( Exception ex ) : void

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

EnumerateTests() 공개 메소드

public EnumerateTests ( ) : XmlNode
리턴 System.Xml.XmlNode

ExecutorWrapper() 공개 메소드

Initializes a new instance of the ExecutorWrapper class.
public ExecutorWrapper ( string assemblyFilename, string configFilename, bool shadowCopy ) : System
assemblyFilename string The assembly filename.
configFilename string The config filename. If null, the default config filename will be used.
shadowCopy bool Set to true to enable shadow copying; false, otherwise.
리턴 System

GetAssemblyTestCount() 공개 메소드

public GetAssemblyTestCount ( ) : int
리턴 int

RunAssembly() 공개 메소드

public RunAssembly ( Predicate callback ) : XmlNode
callback Predicate
리턴 System.Xml.XmlNode

RunClass() 공개 메소드

public RunClass ( string type, Predicate callback ) : XmlNode
type string
callback Predicate
리턴 System.Xml.XmlNode

RunTest() 공개 메소드

public RunTest ( string type, string method, Predicate callback ) : XmlNode
type string
method string
callback Predicate
리턴 System.Xml.XmlNode

RunTests() 공개 메소드

public RunTests ( string type, List methods, Predicate callback ) : XmlNode
type string
methods List
callback Predicate
리턴 System.Xml.XmlNode