PHP Класс lithium\tests\cases\util\CollectionTest

Наследование: extends lithium\test\Unit
Показать файл Открыть проект

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

Метод Описание
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 ( )