A pattern test data context introduces a scope for data source declarations.

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

Syntax

C#
public class PatternTestDataContext : IDataSourceResolver
Visual Basic (Declaration)
Public Class PatternTestDataContext _
	Implements IDataSourceResolver

Remarks

Each PatternTest or PatternTestParameter has a PatternTestDataContext. However, data contexts may also be nested.

For example, the constructor of a test class typically augments its containing test with additional test parameters that represent its own constructor parameters. If data binding attributes are applied to the constructor, they should operate within the scope of that constructor only. To achieve this effect, the constructor declares a new PatternTestDataContext within which its test parameters will be created.

Inheritance Hierarchy

System..::.Object
  Gallio.Framework.Pattern..::.PatternTestDataContext

See Also