C# Class MonoDevelop.UnitTesting.NUnit.NUnitAssemblyTestSuite

Inheritance: UnitTestGroup
Datei anzeigen Open project: powerumc/monodevelop_korean Class Usage Examples

Public Methods

Method Description
CollectTests ( UnitTestGroup group ) : string[]
CountTestCases ( ) : int
Dispose ( ) : void
GetCustomConsoleRunner ( string &command, string &args ) : void
GetCustomTestRunner ( string &assembly, string &type ) : void
NUnitAssemblyTestSuite ( string name ) : System
NUnitAssemblyTestSuite ( string name, WorkspaceObject ownerSolutionItem ) : System
Refresh ( CancellationToken ct ) : Task

Protected Methods

Method Description
GetSourceCodeLocation ( string fixtureTypeNamespace, string fixtureTypeName, string testName ) : SourceCodeLocation
OnActiveConfigurationChanged ( ) : void
OnCanRun ( MonoDevelop executionContext ) : bool
OnCreateTests ( ) : void
OnRun ( TestContext testContext ) : UnitTestResult

Private Methods

Method Description
AsyncCreateTests ( object ob ) : void
AsyncLoadTest ( LoadData ld ) : void
FillTests ( NunitTestInfo ti ) : void
GetAssemblyTime ( ) : System.DateTime
GetCustomConsoleRunnerCommand ( ) : MonoDevelop.Core.Execution.ProcessExecutionCommand
GetSourceCodeLocation ( UnitTest test ) : SourceCodeLocation
ReportCrash ( TestContext testContext, string crashLogFile ) : bool
ReportXmlResult ( IRemoteEventListener listener, System.Xml.Linq.XElement elem, string testPrefix, bool macunitStyle ) : UnitTestResult
RunAsyncLoadTest ( ) : void
RunUnitTest ( UnitTest test, string suiteName, string pathName, string testName, TestContext testContext ) : UnitTestResult
RunWithConsoleRunner ( MonoDevelop.Core.Execution.ProcessExecutionCommand cmd, UnitTest test, string suiteName, string pathName, string testName, TestContext testContext ) : UnitTestResult
RuntimeErrorCleanup ( TestContext testContext, UnitTest t, Exception ex ) : void

Method Details

CollectTests() public method

public CollectTests ( UnitTestGroup group ) : string[]
group UnitTestGroup
return string[]

CountTestCases() public method

public CountTestCases ( ) : int
return int

Dispose() public method

public Dispose ( ) : void
return void

GetCustomConsoleRunner() public method

public GetCustomConsoleRunner ( string &command, string &args ) : void
command string
args string
return void

GetCustomTestRunner() public method

public GetCustomTestRunner ( string &assembly, string &type ) : void
assembly string
type string
return void

GetSourceCodeLocation() protected method

protected GetSourceCodeLocation ( string fixtureTypeNamespace, string fixtureTypeName, string testName ) : SourceCodeLocation
fixtureTypeNamespace string
fixtureTypeName string
testName string
return SourceCodeLocation

NUnitAssemblyTestSuite() public method

public NUnitAssemblyTestSuite ( string name ) : System
name string
return System

NUnitAssemblyTestSuite() public method

public NUnitAssemblyTestSuite ( string name, WorkspaceObject ownerSolutionItem ) : System
name string
ownerSolutionItem WorkspaceObject
return System

OnActiveConfigurationChanged() protected method

protected OnActiveConfigurationChanged ( ) : void
return void

OnCanRun() protected method

protected OnCanRun ( MonoDevelop executionContext ) : bool
executionContext MonoDevelop
return bool

OnCreateTests() protected method

protected OnCreateTests ( ) : void
return void

OnRun() protected method

protected OnRun ( TestContext testContext ) : UnitTestResult
testContext TestContext
return UnitTestResult

Refresh() public method

public Refresh ( CancellationToken ct ) : Task
ct System.Threading.CancellationToken
return Task