C# 클래스 NUnit.Framework.Internal.TestSuite

TestSuite represents a composite test, which contains other tests.
상속: Test
파일 보기 프로젝트 열기: nunit/nunit 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Test test ) : void

Adds a test to the suite.

AddToXml ( TNode parentNode, bool recursive ) : TNode

Returns an XmlNode representing the current result after adding it as a child of the supplied parent node.

MakeTestResult ( ) : TestResult

Overridden to return a TestSuiteResult.

Sort ( ) : void

Sorts tests under this suite.

Sort ( IComparer comparer ) : void

Sorts tests under this suite using the specified comparer.

TestSuite ( ITypeInfo fixtureType ) : System

Initializes a new instance of the TestSuite class.

TestSuite ( Type fixtureType ) : System

Initializes a new instance of the TestSuite class.

TestSuite ( string name ) : System

Initializes a new instance of the TestSuite class.

TestSuite ( string parentSuiteName, string name ) : System

Initializes a new instance of the TestSuite class.

보호된 메소드들

메소드 설명
CheckSetUpTearDownMethods ( Type attrType ) : void

Check that setup and teardown methods marked by certain attributes meet NUnit's requirements and mark the tests not runnable otherwise.

메소드 상세

Add() 공개 메소드

Adds a test to the suite.
public Add ( Test test ) : void
test Test The test.
리턴 void

AddToXml() 공개 메소드

Returns an XmlNode representing the current result after adding it as a child of the supplied parent node.
public AddToXml ( TNode parentNode, bool recursive ) : TNode
parentNode TNode The parent node.
recursive bool If true, descendant results are included
리턴 TNode

CheckSetUpTearDownMethods() 보호된 메소드

Check that setup and teardown methods marked by certain attributes meet NUnit's requirements and mark the tests not runnable otherwise.
protected CheckSetUpTearDownMethods ( Type attrType ) : void
attrType Type The attribute type to check for
리턴 void

MakeTestResult() 공개 메소드

Overridden to return a TestSuiteResult.
public MakeTestResult ( ) : TestResult
리턴 TestResult

Sort() 공개 메소드

Sorts tests under this suite.
public Sort ( ) : void
리턴 void

Sort() 공개 메소드

Sorts tests under this suite using the specified comparer.
public Sort ( IComparer comparer ) : void
comparer IComparer The comparer.
리턴 void

TestSuite() 공개 메소드

Initializes a new instance of the TestSuite class.
public TestSuite ( ITypeInfo fixtureType ) : System
fixtureType ITypeInfo Type of the fixture.
리턴 System

TestSuite() 공개 메소드

Initializes a new instance of the TestSuite class.
public TestSuite ( Type fixtureType ) : System
fixtureType Type Type of the fixture.
리턴 System

TestSuite() 공개 메소드

Initializes a new instance of the TestSuite class.
public TestSuite ( string name ) : System
name string The name of the suite.
리턴 System

TestSuite() 공개 메소드

Initializes a new instance of the TestSuite class.
public TestSuite ( string parentSuiteName, string name ) : System
parentSuiteName string Name of the parent suite.
name string The name of the suite.
리턴 System