PHP Class lithium\tests\cases\data\entity\DocumentTest

Inheritance: extends lithium\test\Unit
Show file Open project: unionofrad/lithium

Protected Properties

Property Type Description
$_model

Public Methods

Method Description
setUp ( )
tearDown ( )
testArrayInterface ( )
testArrayValueGet ( )
testArrayValueNestedDocument ( )
testArrayValueSet ( )
testBooleanValues ( )
testCall ( )
testData ( )
testDocumentNesting ( )
testEmptyValues ( )
testEnsureArrayExportFidelity ( ) Ensures that the data returned from the data() method matches the internal state of the object.
testErrors ( )
testExplicitSet ( )
testExport ( )
testFindAllAndIterate ( )
testFindOne ( )
testGetFields ( )
testHandlers ( )
testIdGetDoesNotSet ( )
testInitializationWithNestedFields ( )
testInvalidCall ( )
testIsset ( )
testModifiedExport ( ) Tests that a modified Document exports the proper fields in a newly-appended nested Document.
testNestedKeyGetSet ( )
testNestedObjectExistence ( ) Tests that documents nested within existing documents also exist, and vice versa.
testNestedSingle ( )
testNoItems ( )
testPropertyIteration ( )
testRewindData ( )
testRewindNoData ( )
testSchemaValueInitialization ( ) Tests that unassigned fields with default schema values are auto-populated at access time.
testSetAndCoerceArray ( )
testSetField ( )
testSetMultiple ( )
testSetMultipleNested ( )
testSetNested ( )
testSyncModified ( )
testUnset ( )
testUnsetNested ( )
testUpdateWithMultipleKeys ( )
testUpdateWithSingleKey ( )
testWithArraySchemaReusedName ( )
testWithData ( )

Method Details

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

testArrayInterface() public method

public testArrayInterface ( )

testArrayValueGet() public method

public testArrayValueGet ( )

testArrayValueNestedDocument() public method

testArrayValueSet() public method

public testArrayValueSet ( )

testBooleanValues() public method

public testBooleanValues ( )

testCall() public method

public testCall ( )

testData() public method

public testData ( )

testDocumentNesting() public method

public testDocumentNesting ( )

testEmptyValues() public method

public testEmptyValues ( )

testEnsureArrayExportFidelity() public method

Ensures that the data returned from the data() method matches the internal state of the object.

testErrors() public method

public testErrors ( )

testExplicitSet() public method

public testExplicitSet ( )

testExport() public method

public testExport ( )

testFindAllAndIterate() public method

testFindOne() public method

public testFindOne ( )

testGetFields() public method

public testGetFields ( )

testHandlers() public method

public testHandlers ( )

testIdGetDoesNotSet() public method

public testIdGetDoesNotSet ( )

testInitializationWithNestedFields() public method

testInvalidCall() public method

public testInvalidCall ( )

testIsset() public method

public testIsset ( )

testModifiedExport() public method

Tests that a modified Document exports the proper fields in a newly-appended nested Document.
public testModifiedExport ( )

testNestedKeyGetSet() public method

public testNestedKeyGetSet ( )

testNestedObjectExistence() public method

Tests that documents nested within existing documents also exist, and vice versa.

testNestedSingle() public method

public testNestedSingle ( )

testNoItems() public method

public testNoItems ( )

testPropertyIteration() public method

testRewindData() public method

public testRewindData ( )

testRewindNoData() public method

public testRewindNoData ( )

testSchemaValueInitialization() public method

Tests that unassigned fields with default schema values are auto-populated at access time.

testSetAndCoerceArray() public method

testSetField() public method

public testSetField ( )

testSetMultiple() public method

public testSetMultiple ( )

testSetMultipleNested() public method

testSetNested() public method

public testSetNested ( )

testSyncModified() public method

public testSyncModified ( )

testUnset() public method

public testUnset ( )

testUnsetNested() public method

public testUnsetNested ( )

testUpdateWithMultipleKeys() public method

testUpdateWithSingleKey() public method

testWithArraySchemaReusedName() public method

testWithData() public method

public testWithData ( )

Property Details

$_model protected property

protected $_model