C# Class PclUnit.Constraints.Pieces.StringConstraint

StringConstraint is the abstract base for constraints that operate on strings. It supports the IgnoreCase modifier for string operations.
Inheritance: Constraint
显示文件 Open project: jbtule/PclUnit

Protected Properties

Property Type Description
caseInsensitive bool
expected string

Public Methods

Method Description
StringConstraint ( string expected ) : System

Constructs a StringConstraint given an expected value

Method Details

StringConstraint() public method

Constructs a StringConstraint given an expected value
public StringConstraint ( string expected ) : System
expected string The expected value
return System

Property Details

caseInsensitive protected_oe property

Indicates whether tests should be case-insensitive
protected bool caseInsensitive
return bool

expected protected_oe property

The expected value
protected string expected
return string