C# Class UnityEngine.NUnit.Framework.Constraints.SamePathConstraint

Summary description for SamePathConstraint.
Inheritance: PathConstraint
ファイルを表示 Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
SamePathConstraint ( string expected )

Initializes a new instance of the T:SamePathConstraint class.

WriteDescriptionTo ( MessageWriter writer ) : void

Write the constraint description to a MessageWriter

Protected Methods

Method Description
IsMatch ( string expectedPath, string actualPath ) : bool

Test whether the constraint is satisfied by a given value

Method Details

IsMatch() protected method

Test whether the constraint is satisfied by a given value
protected IsMatch ( string expectedPath, string actualPath ) : bool
expectedPath string The expected path
actualPath string The actual path
return bool

SamePathConstraint() public method

Initializes a new instance of the T:SamePathConstraint class.
public SamePathConstraint ( string expected )
expected string The expected path

WriteDescriptionTo() public method

Write the constraint description to a MessageWriter
public WriteDescriptionTo ( MessageWriter writer ) : void
writer MessageWriter The writer on which the description is displayed
return void