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

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

공개 메소드들

메소드 설명
setUp ( )
tearDown ( )
testArrayAccessOffsetMethods ( ) Tests the ArrayAccess interface implementation for manipulating values by direct offsets.
testArrayAccessTraversalMethods ( ) Tests the ArrayAccess interface implementation for traversing values.
testArrayLike ( )
testCollectionEachFilter ( ) Tests that the each() filter applies the callback to each item in the current collection, returning an instance of itself.
testCollectionFindFilter ( ) Tests that the find() method properly filters items out of the resulting collection.
testCollectionFirstFilter ( ) Tests that the first() method properly returns the first non-empty value.
testCollectionFormatConversion ( ) Tests that various types of handlers can be registered with Collection::formats(), and that collection instances are converted correctly.
testCollectionHandlers ( )
testCollectionMapFilter ( )
testCollectionReduceFilter ( )
testCollectionSort ( ) Tests that the Collection::sort method works appropriately.
testCount ( )
testInternalKeys ( ) Tests getting the index of the internal array.
testObjectCasting ( )
testObjectMethodDispatch ( )
testRespondsToMagic ( )
testRespondsToParent ( )
testUnsetInForeach ( )
testValid ( )
testValueAppend ( ) Tests objects and scalar values being appended to the collection.

메소드 상세

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

testArrayAccessOffsetMethods() 공개 메소드

Tests the ArrayAccess interface implementation for manipulating values by direct offsets.

testArrayAccessTraversalMethods() 공개 메소드

Tests the ArrayAccess interface implementation for traversing values.

testArrayLike() 공개 메소드

public testArrayLike ( )

testCollectionEachFilter() 공개 메소드

Tests that the each() filter applies the callback to each item in the current collection, returning an instance of itself.

testCollectionFindFilter() 공개 메소드

Tests that the find() method properly filters items out of the resulting collection.

testCollectionFirstFilter() 공개 메소드

Tests that the first() method properly returns the first non-empty value.

testCollectionFormatConversion() 공개 메소드

Tests that various types of handlers can be registered with Collection::formats(), and that collection instances are converted correctly.

testCollectionHandlers() 공개 메소드

testCollectionMapFilter() 공개 메소드

testCollectionReduceFilter() 공개 메소드

testCollectionSort() 공개 메소드

Tests that the Collection::sort method works appropriately.
public testCollectionSort ( )

testCount() 공개 메소드

public testCount ( )

testInternalKeys() 공개 메소드

Tests getting the index of the internal array.
public testInternalKeys ( )

testObjectCasting() 공개 메소드

public testObjectCasting ( )

testObjectMethodDispatch() 공개 메소드

testRespondsToMagic() 공개 메소드

public testRespondsToMagic ( )

testRespondsToParent() 공개 메소드

testUnsetInForeach() 공개 메소드

public testUnsetInForeach ( )

testValid() 공개 메소드

public testValid ( )

testValueAppend() 공개 메소드

Tests objects and scalar values being appended to the collection.
public testValueAppend ( )