Builds a static test during test exploration.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
protected override void BuildStaticTest(
	IPatternScope containingScope,
	ICodeElementInfo declaringCodeElement
)
Visual Basic (Declaration)
Protected Overrides Sub BuildStaticTest ( _
	containingScope As IPatternScope, _
	declaringCodeElement As ICodeElementInfo _
)

Parameters

containingScope
Type: Gallio.Framework.Pattern..::.IPatternScope
The containing pattern evaluation scope.
declaringCodeElement
Type: Gallio.Common.Reflection..::.ICodeElementInfo
The code element that represents the scope in which the test was defined.

Remarks

Subclasses may override this behavior to change how the static test gets added to the test model.

See Also