C# Класс UnityEngine.NUnit.Framework.Constraints.EndsWithConstraint

EndsWithConstraint can test whether a string ends with an expected substring.
Наследование: StringConstraint
Показать файл Открыть проект

Открытые методы

Метод Описание
EndsWithConstraint ( string expected )

Initializes a new instance of the T:EndsWithConstraint class.

WriteDescriptionTo ( MessageWriter writer ) : void

Write the constraint description to a MessageWriter

Защищенные методы

Метод Описание
Matches ( string actual ) : bool

Test whether the constraint is matched by the actual value. This is a template method, which calls the IsMatch method of the derived class.

Описание методов

EndsWithConstraint() публичный Метод

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

Matches() защищенный Метод

Test whether the constraint is matched by the actual value. This is a template method, which calls the IsMatch method of the derived class.
protected Matches ( string actual ) : bool
actual string
Результат bool

WriteDescriptionTo() публичный Метод

Write the constraint description to a MessageWriter
public WriteDescriptionTo ( MessageWriter writer ) : void
writer MessageWriter The writer on which the description is displayed
Результат void