Generates static or dynamic tests from the contract.

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

Syntax

C#
protected virtual void GenerateTestsFromContract(
	IPatternScope fieldScope,
	IFieldInfo field,
	IPatternScope containingScope
)
Visual Basic (Declaration)
Protected Overridable Sub GenerateTestsFromContract ( _
	fieldScope As IPatternScope, _
	field As IFieldInfo, _
	containingScope As IPatternScope _
)

Parameters

fieldScope
Type: Gallio.Framework.Pattern..::.IPatternScope
The field scope.
field
Type: Gallio.Common.Reflection..::.IFieldInfo
The field.
containingScope
Type: Gallio.Framework.Pattern..::.IPatternScope
The containing scope.

See Also