C# 클래스 Xunit.XunitFrontController

Default implementation of IFrontController which supports running tests from both xUnit.net v1 and v2.
상속: IFrontController
파일 보기 프로젝트 열기: xunit/xunit 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Deserialize ( string value ) : ITestCase
Dispose ( ) : void
Find ( bool includeSourceInformation, IMessageSink messageSink, ITestFrameworkDiscoveryOptions discoveryOptions ) : void
Find ( string typeName, bool includeSourceInformation, IMessageSink messageSink, ITestFrameworkDiscoveryOptions discoveryOptions ) : void
RunAll ( IMessageSink messageSink, ITestFrameworkDiscoveryOptions discoveryOptions, ITestFrameworkExecutionOptions executionOptions ) : void
RunTests ( IEnumerable testMethods, IMessageSink messageSink, ITestFrameworkExecutionOptions executionOptions ) : void
Serialize ( ITestCase testCase ) : string
XunitFrontController ( AppDomainSupport appDomainSupport, string assemblyFileName, string configFileName = null, bool shadowCopy = true, string shadowCopyFolder = null, ISourceInformationProvider sourceInformationProvider = null, IMessageSink diagnosticMessageSink = null ) : System

Initializes a new instance of the XunitFrontController class.

보호된 메소드들

메소드 설명
CreateInnerController ( ) : IFrontController

FOR INTERNAL USE ONLY.

XunitFrontController ( ) : System

This constructor is for unit testing purposes only.

메소드 상세

CreateInnerController() 보호된 메소드

FOR INTERNAL USE ONLY.
protected CreateInnerController ( ) : IFrontController
리턴 IFrontController

Deserialize() 공개 메소드

public Deserialize ( string value ) : ITestCase
value string
리턴 ITestCase

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Find() 공개 메소드

public Find ( bool includeSourceInformation, IMessageSink messageSink, ITestFrameworkDiscoveryOptions discoveryOptions ) : void
includeSourceInformation bool
messageSink IMessageSink
discoveryOptions ITestFrameworkDiscoveryOptions
리턴 void

Find() 공개 메소드

public Find ( string typeName, bool includeSourceInformation, IMessageSink messageSink, ITestFrameworkDiscoveryOptions discoveryOptions ) : void
typeName string
includeSourceInformation bool
messageSink IMessageSink
discoveryOptions ITestFrameworkDiscoveryOptions
리턴 void

RunAll() 공개 메소드

public RunAll ( IMessageSink messageSink, ITestFrameworkDiscoveryOptions discoveryOptions, ITestFrameworkExecutionOptions executionOptions ) : void
messageSink IMessageSink
discoveryOptions ITestFrameworkDiscoveryOptions
executionOptions ITestFrameworkExecutionOptions
리턴 void

RunTests() 공개 메소드

public RunTests ( IEnumerable testMethods, IMessageSink messageSink, ITestFrameworkExecutionOptions executionOptions ) : void
testMethods IEnumerable
messageSink IMessageSink
executionOptions ITestFrameworkExecutionOptions
리턴 void

Serialize() 공개 메소드

public Serialize ( ITestCase testCase ) : string
testCase ITestCase
리턴 string

XunitFrontController() 보호된 메소드

This constructor is for unit testing purposes only.
protected XunitFrontController ( ) : System
리턴 System

XunitFrontController() 공개 메소드

Initializes a new instance of the XunitFrontController class.
public XunitFrontController ( AppDomainSupport appDomainSupport, string assemblyFileName, string configFileName = null, bool shadowCopy = true, string shadowCopyFolder = null, ISourceInformationProvider sourceInformationProvider = null, IMessageSink diagnosticMessageSink = null ) : System
appDomainSupport AppDomainSupport Determines whether tests should be run in a separate app domain.
assemblyFileName string The test assembly.
configFileName string The test assembly configuration file.
shadowCopy bool If set to true, runs tests in a shadow copied app domain, which allows /// tests to be discovered and run without locking assembly files on disk.
shadowCopyFolder string The path on disk to use for shadow copying; if null, a folder /// will be automatically (randomly) generated
sourceInformationProvider ISourceInformationProvider The source information provider. If null, uses the default ().
diagnosticMessageSink IMessageSink The message sink which received messages.
리턴 System