PHP Класс Phalcon\Test\Mvc\Model\EagerLoading\EagerLoadingTest

Автор: Óscar Enríquez
Наследование: extends Codeception\TestCase\Test
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$previousDependencyInjector Phalcon\DiInterface
$tester UnitTester UnitTester Object

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

Метод Описание
providerIncompleteEntity ( )
providerRelationIsNotDefinedOrSupported ( )
providerSubjectIsNotValid ( )
providerWithoutArguments ( )
testBelongsTo ( )
testManyEagerLoadsAndConstraints ( )
testShouldLoadChildOfEmptyParentWithoutException ( ) https://github.com/stibiumz/phalcon.eager-loading/issues/4
testShouldThrowBadMethodCallExceptionIfArgumentsWereNotProvided ( string $method )
testShouldThrowInvalidArgumentExceptionIfLoaderSubjectIsNotValid ( array $args )
testShouldThrowLogicExceptionIfTheEntityWillBeIncomplete ( string $method, array $args )
testShouldThrowRuntimeExceptionIfTheRelationIsNotDefinedOrSupported ( array $args )
testShouldUseEagerLoadingAndDetectBelongsToDeep ( )
testShouldUseEagerLoadingAndDetectHasMany ( )
testShouldUseEagerLoadingAndDetectHasManyToMany ( )
testShouldUseEagerLoadingAndDetectHasOne ( )
testShouldUseEagerLoadingAndGetModelByUsingMethods ( )

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

Метод Описание
_after ( ) executed after each test
_before ( ) executed before each test
resultSetToEagerLoadingEquivalent ( $val )

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

_after() защищенный метод

executed after each test
protected _after ( )

_before() защищенный метод

executed before each test
protected _before ( )

providerIncompleteEntity() публичный метод

providerRelationIsNotDefinedOrSupported() публичный метод

providerSubjectIsNotValid() публичный метод

providerWithoutArguments() публичный метод

resultSetToEagerLoadingEquivalent() защищенный метод

testBelongsTo() публичный метод

public testBelongsTo ( )

testManyEagerLoadsAndConstraints() публичный метод

testShouldLoadChildOfEmptyParentWithoutException() публичный метод

https://github.com/stibiumz/phalcon.eager-loading/issues/4

testShouldThrowBadMethodCallExceptionIfArgumentsWereNotProvided() публичный метод

testShouldThrowInvalidArgumentExceptionIfLoaderSubjectIsNotValid() публичный метод

testShouldThrowLogicExceptionIfTheEntityWillBeIncomplete() публичный метод

testShouldThrowRuntimeExceptionIfTheRelationIsNotDefinedOrSupported() публичный метод

testShouldUseEagerLoadingAndDetectBelongsToDeep() публичный метод

testShouldUseEagerLoadingAndDetectHasMany() публичный метод

testShouldUseEagerLoadingAndDetectHasManyToMany() публичный метод

testShouldUseEagerLoadingAndDetectHasOne() публичный метод

testShouldUseEagerLoadingAndGetModelByUsingMethods() публичный метод

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

$previousDependencyInjector защищенное свойство

protected DiInterface,Phalcon $previousDependencyInjector
Результат Phalcon\DiInterface

$tester защищенное свойство

UnitTester Object
protected UnitTester $tester
Результат UnitTester