PHP 클래스 Phalcon\Test\Mvc\Model\EagerLoading\EagerLoadingTest

저자: Óscar Enríquez
상속: extends Codeception\TestCase\Test
파일 보기 프로젝트 열기: phalcon/incubator 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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