FGX.Asserts: различия между версиями

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 15: Строка 15:
 
|-
 
|-
 
| [[.TAssertFailCallback | TAssertFailCallback ]] ||  
 
| [[.TAssertFailCallback | TAssertFailCallback ]] ||  
 +
|}
 +
 +
== Константы ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| [[.SSpecifiedConditionalShouldBeTrue | SSpecifiedConditionalShouldBeTrue ]] ||
 +
|-
 +
| [[.SSpecifiedConditionalShouldBeFalse | SSpecifiedConditionalShouldBeFalse ]] ||
 +
|-
 +
| [[.SNotNilInterfacesIsRequired | SNotNilInterfacesIsRequired ]] ||
 +
|-
 +
| [[.SNotNilObjectIsRequired | SNotNilObjectIsRequired ]] ||
 +
|-
 +
| [[.SNotNilClassIsRequired | SNotNilClassIsRequired ]] ||
 +
|-
 +
| [[.SObjectIsNotValidClass | SObjectIsNotValidClass ]] ||
 +
|-
 +
| [[.SObjectDoesntSupportsInterface | SObjectDoesntSupportsInterface ]] ||
 +
|-
 +
| [[.SValueIsNotInIntegerRange | SValueIsNotInIntegerRange ]] ||
 +
|-
 +
| [[.SValueIsNotInFloatRange | SValueIsNotInFloatRange ]] ||
 +
|-
 +
| [[.SIntegerValueShouldBeLess | SIntegerValueShouldBeLess ]] ||
 +
|-
 +
| [[.SFloatValueShouldBeLess | SFloatValueShouldBeLess ]] ||
 +
|-
 +
| [[.SIntegerValueShouldBeLessOrEqual | SIntegerValueShouldBeLessOrEqual ]] ||
 +
|-
 +
| [[.SFloatValueShouldBeLessOrEqual | SFloatValueShouldBeLessOrEqual ]] ||
 +
|-
 +
| [[.SIntegerValueShouldBeMoreOrEqual | SIntegerValueShouldBeMoreOrEqual ]] ||
 +
|-
 +
| [[.SFloatValueShouldBeMoreOrEqual | SFloatValueShouldBeMoreOrEqual ]] ||
 +
|-
 +
| [[.SIntegerValueShouldBeMore | SIntegerValueShouldBeMore ]] ||
 +
|-
 +
| [[.SFloatValueShouldBeMore | SFloatValueShouldBeMore ]] ||
 +
|-
 +
| [[.SFloatValuesAreNotEqualed | SFloatValuesAreNotEqualed ]] ||
 +
|-
 +
| [[.SIntegerValuesAreNotEqualed | SIntegerValuesAreNotEqualed ]] ||
 +
|-
 +
| [[.SFail | SFail ]] ||
 
|}
 
|}

Версия 02:51, 10 июня 2019

Классы и интерфейсы

EfgAssertError
TfgAssert Класс проверки контрактов в коде библиотеке. Отвечает за выполнение базовых проверок. Работает только в DEBUG конфигурации. Во всех остальных проверки вырезаются. По умолчанию, все нарушения выводятся в системный лог устройства.

Types

TAssertFailCallback

Константы

SSpecifiedConditionalShouldBeTrue
SSpecifiedConditionalShouldBeFalse
SNotNilInterfacesIsRequired
SNotNilObjectIsRequired
SNotNilClassIsRequired
SObjectIsNotValidClass
SObjectDoesntSupportsInterface
SValueIsNotInIntegerRange
SValueIsNotInFloatRange
SIntegerValueShouldBeLess
SFloatValueShouldBeLess
SIntegerValueShouldBeLessOrEqual
SFloatValueShouldBeLessOrEqual
SIntegerValueShouldBeMoreOrEqual
SFloatValueShouldBeMoreOrEqual
SIntegerValueShouldBeMore
SFloatValueShouldBeMore
SFloatValuesAreNotEqualed
SIntegerValuesAreNotEqualed
SFail