Applies semantic actions to a test to estalish its runtime behavior.

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

Syntax

C#
protected virtual void SetTestSemantics(
	ITestBuilder testBuilder,
	ITypeInfo type
)
Visual Basic (Declaration)
Protected Overridable Sub SetTestSemantics ( _
	testBuilder As ITestBuilder, _
	type As ITypeInfo _
)

Parameters

testBuilder
Type: Gallio.Framework.Pattern..::.ITestBuilder
The test builder.
type
Type: Gallio.Common.Reflection..::.ITypeInfo
The test type.

Remarks

This method is called after InitializeTest(IPatternScope, ITypeInfo).

The default behavior for a TestTypePatternAttribute is to configure the test actions as follows:

You can override this method to change the semantics as required.

See Also