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

StringConstraint is the abstract base for constraints that operate on strings. It supports the IgnoreCase modifier for string operations.
Наследование: Constraint
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
caseInsensitive bool
expected string

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

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

Test whether the constraint is satisfied by a given value

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

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

Test whether the constraint is satisfied by a given string

StringConstraint ( string expected )

Constructs a StringConstraint given an expected value

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

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

Test whether the constraint is satisfied by a given value
public Matches ( object actual ) : bool
actual object The value to be tested
Результат bool

Matches() защищенный абстрактный Метод

Test whether the constraint is satisfied by a given string
protected abstract Matches ( string actual ) : bool
actual string The string to be tested
Результат bool

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

Constructs a StringConstraint given an expected value
protected StringConstraint ( string expected )
expected string The expected value

Описание свойств

caseInsensitive защищенное свойство

Indicates whether tests should be case-insensitive
protected bool caseInsensitive
Результат bool

expected защищенное свойство

The expected value
protected string expected
Результат string