PHP Class ElggCoreEntityTest, Elgg

Inheritance: extends ElggCoreUnitTest
Show file Open project: elgg/elgg

Protected Properties

Property Type Description
$entity ElggObject

Public Methods

Method Description
__destruct ( )
setUp ( ) Called before each test method.
tearDown ( ) Called after each test method.
testAlreadyPersistedAttributeSetsAreRecorded ( )
testCreateWithContainerGuidEqualsZero ( )
testElggEntityAppendMetadata ( )
testElggEntityArrayAppendMetadata ( )
testElggEntityDisableAndEnable ( )
testElggEntityGetAndSetAnnotations ( )
testElggEntityGetIconURL ( )
testElggEntityMetadata ( )
testElggEntityMultipleMetadata ( )
testElggEntityRecursiveDisableAndEnable ( )
testElggEntitySaveAndDelete ( )
testElggEntitySingleElementArrayAppendMetadata ( )
testElggEntitySingleElementArrayMetadata ( )
testGetSubtype ( )
testModifedAttributesSettingEmptyString ( )
testModifedAttributesSettingIntsAsStrings ( )
testModifiedAttributesAreAvailableDuringUpdateNotAfter ( )
testMultipleAttributeSetsDontOverwriteOriginals ( )
testSubtypeAddRemove ( )
testSubtypePropertyReads ( )
testUnsavedEntitiesDontRecordAttributeSets ( )
testUpdateAbilityDependsOnCanEdit ( )

Method Details

__destruct() public method

public __destruct ( )

setUp() public method

Called before each test method.
public setUp ( )

tearDown() public method

Called after each test method.
public tearDown ( )

testAlreadyPersistedAttributeSetsAreRecorded() public method

testCreateWithContainerGuidEqualsZero() public method

testElggEntityAppendMetadata() public method

testElggEntityArrayAppendMetadata() public method

testElggEntityDisableAndEnable() public method

testElggEntityGetAndSetAnnotations() public method

testElggEntityGetIconURL() public method

testElggEntityMetadata() public method

testElggEntityMultipleMetadata() public method

testElggEntityRecursiveDisableAndEnable() public method

testElggEntitySaveAndDelete() public method

testElggEntitySingleElementArrayAppendMetadata() public method

testElggEntitySingleElementArrayMetadata() public method

testGetSubtype() public method

public testGetSubtype ( )

testModifedAttributesSettingEmptyString() public method

testModifedAttributesSettingIntsAsStrings() public method

testModifiedAttributesAreAvailableDuringUpdateNotAfter() public method

testMultipleAttributeSetsDontOverwriteOriginals() public method

testSubtypeAddRemove() public method

testSubtypePropertyReads() public method

testUnsavedEntitiesDontRecordAttributeSets() public method

testUpdateAbilityDependsOnCanEdit() public method

Property Details

$entity protected property

protected ElggObject $entity
return ElggObject