PHP 클래스 lithium\tests\cases\data\CollectionTest

상속: extends lithium\test\Unit
파일 보기 프로젝트 열기: unionofrad/lithium

보호된 프로퍼티들

프로퍼티 타입 설명
$_database string Mock database class.
$_model string Used model.

공개 메소드들

메소드 설명
testAccessorMethods ( ) Tests Collection accessors (getters/setters).
testArrayFiltering ( ) Tests that arrays can be used to filter objects in find() and first() methods.
testAssignTo ( ) Tests Collection::assignTo.
testClosed ( ) Tests Collection::closed && Collection::close.
testData ( ) Tests Collection::data.
testEach ( ) Tests Collection::each.
testGetStats ( ) Tests Collection::stats().
testHandlers ( )
testMap ( ) Tests Collection::map.
testNextRewindCurrent ( ) Tests Collection::rewind and Collection::current.
testOffsetExists ( ) Tests Collection::offsetExists().
testReduce ( ) Tests Collection::reduce.
testSort ( ) Tests the sort method in lithium\data\Collection.

메소드 상세

testAccessorMethods() 공개 메소드

Tests Collection accessors (getters/setters).
public testAccessorMethods ( )

testArrayFiltering() 공개 메소드

Tests that arrays can be used to filter objects in find() and first() methods.
public testArrayFiltering ( )

testAssignTo() 공개 메소드

Tests Collection::assignTo.
public testAssignTo ( )

testClosed() 공개 메소드

Tests Collection::closed && Collection::close.
public testClosed ( )

testData() 공개 메소드

Tests Collection::data.
public testData ( )

testEach() 공개 메소드

Tests Collection::each.
public testEach ( )

testGetStats() 공개 메소드

Tests Collection::stats().
public testGetStats ( )

testHandlers() 공개 메소드

public testHandlers ( )

testMap() 공개 메소드

Tests Collection::map.
public testMap ( )

testNextRewindCurrent() 공개 메소드

Tests Collection::rewind and Collection::current.

testOffsetExists() 공개 메소드

Tests Collection::offsetExists().
public testOffsetExists ( )

testReduce() 공개 메소드

Tests Collection::reduce.
public testReduce ( )

testSort() 공개 메소드

Tests the sort method in lithium\data\Collection.
public testSort ( )

프로퍼티 상세

$_database 보호되어 있는 프로퍼티

Mock database class.
protected string $_database
리턴 string

$_model 보호되어 있는 프로퍼티

Used model.
protected string $_model
리턴 string