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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_altSchema

공개 메소드들

메소드 설명
setUp ( )
tearDown ( )
testAttributesInheritanceWithObject ( )
testClassInitialization ( )
testCountSyntax ( ) Tests that varying count syntaxes all produce the same query operation (i.e.
testCountSyntaxWithoutConditions ( ) Test that magic count condition-less syntax works.
testCreateCollection ( )
testCustomAttributesInheritance ( )
testCustomFindMethods ( )
testCustomFinder ( )
testCustomValidationCriteria ( )
testDefaultValuesFromSchema ( )
testDelete ( )
testErrorsIsClearedOnEachValidates ( )
testFieldIntrospection ( )
testFieldName ( )
testFilteredFind ( )
testFindByObjectKey ( ) Tests that objects can be passed as keys to Model::find() and be properly translated to query conditions.
testFindFirst ( )
testImplicitKeyFind ( )
testInitializationInheritance ( )
testInstanceMethods ( )
testKeyGeneration ( )
testLazyLoad ( )
testLazyMetadataInit ( )
testLiveConfiguration ( )
testMagicFinders ( )
testMetaInformation ( )
testModelWithNoBackend ( )
testMultiRecordDelete ( )
testMultiRecordUpdate ( )
testOverrideMeta ( )
testRelationFromFieldName ( )
testRelationshipIntrospection ( ) Tests introspecting the relationship settings for the model as a whole, various relationship types, and individual relationships.
testRespondsTo ( )
testRespondsToInstanceMethod ( )
testRespondsToParentCall ( )
testSave ( )
testSaveFailedWithValidationByModelDefinition ( )
testSaveFailedWithValidationByModelDefinitionAndTriggeredCustomEvents ( )
testSaveWithFailedValidation ( )
testSaveWithNoCallbacks ( )
testSaveWithValidationAndWhitelist ( )
testSchemaInheritance ( )
testSchemaLoading ( )
testSettingNestedObjectDefaults ( )
testSimpleFind ( )
testSimpleFindFirst ( ) Tests the find 'first' filter on a simple record set.
testSimpleFindList ( )
testSimpleRecordCreation ( )
testValidateWithRequiredFalse ( )
testValidateWithRequiredNull ( )
testValidateWithRequiredTrue ( )
testValidatesCustomEventFalse ( )
testValidatesCustomEventValid ( )
testValidatesCustomEventsFalse ( )
testValidatesCustomEventsFirstValid ( )
testValidatesCustomEventsValid ( )
testValidatesEmailIsNotEmpty ( )
testValidatesEmailIsValid ( )
testValidatesFalse ( )
testValidatesTitle ( )
testValidatesWithWhitelist ( )
testValidationInheritance ( )
testWhitelistWhenLockedUsingCreateForData ( )
testWhitelistWhenLockedUsingCreateWithValidAndSaveForInvalidData ( )
testWhitelistWhenLockedUsingSaveForData ( )

메소드 상세

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

testAttributesInheritanceWithObject() 공개 메소드

testClassInitialization() 공개 메소드

testCountSyntax() 공개 메소드

Model::count(...), Model::find('count', ...) etc).
public testCountSyntax ( )

testCountSyntaxWithoutConditions() 공개 메소드

Test that magic count condition-less syntax works.

testCreateCollection() 공개 메소드

testCustomAttributesInheritance() 공개 메소드

testCustomFindMethods() 공개 메소드

testCustomFinder() 공개 메소드

public testCustomFinder ( )

testCustomValidationCriteria() 공개 메소드

testDefaultValuesFromSchema() 공개 메소드

testDelete() 공개 메소드

public testDelete ( )

testErrorsIsClearedOnEachValidates() 공개 메소드

testFieldIntrospection() 공개 메소드

testFieldName() 공개 메소드

public testFieldName ( )

testFilteredFind() 공개 메소드

public testFilteredFind ( )

testFindByObjectKey() 공개 메소드

Tests that objects can be passed as keys to Model::find() and be properly translated to query conditions.
public testFindByObjectKey ( )

testFindFirst() 공개 메소드

public testFindFirst ( )

testImplicitKeyFind() 공개 메소드

public testImplicitKeyFind ( )

testInitializationInheritance() 공개 메소드

testInstanceMethods() 공개 메소드

public testInstanceMethods ( )

testKeyGeneration() 공개 메소드

public testKeyGeneration ( )

testLazyLoad() 공개 메소드

public testLazyLoad ( )

testLazyMetadataInit() 공개 메소드

testLiveConfiguration() 공개 메소드

testMagicFinders() 공개 메소드

public testMagicFinders ( )

testMetaInformation() 공개 메소드

public testMetaInformation ( )

testModelWithNoBackend() 공개 메소드

testMultiRecordDelete() 공개 메소드

testMultiRecordUpdate() 공개 메소드

testOverrideMeta() 공개 메소드

public testOverrideMeta ( )

testRelationFromFieldName() 공개 메소드

testRelationshipIntrospection() 공개 메소드

Tests introspecting the relationship settings for the model as a whole, various relationship types, and individual relationships.

testRespondsTo() 공개 메소드

public testRespondsTo ( )

testRespondsToInstanceMethod() 공개 메소드

testRespondsToParentCall() 공개 메소드

testSave() 공개 메소드

public testSave ( )

testSaveFailedWithValidationByModelDefinition() 공개 메소드

testSaveFailedWithValidationByModelDefinitionAndTriggeredCustomEvents() 공개 메소드

testSaveWithFailedValidation() 공개 메소드

testSaveWithNoCallbacks() 공개 메소드

testSaveWithValidationAndWhitelist() 공개 메소드

testSchemaInheritance() 공개 메소드

testSchemaLoading() 공개 메소드

public testSchemaLoading ( )

testSettingNestedObjectDefaults() 공개 메소드

testSimpleFind() 공개 메소드

public testSimpleFind ( )

testSimpleFindFirst() 공개 메소드

Tests the find 'first' filter on a simple record set.
public testSimpleFindFirst ( )

testSimpleFindList() 공개 메소드

public testSimpleFindList ( )

testSimpleRecordCreation() 공개 메소드

testValidateWithRequiredFalse() 공개 메소드

testValidateWithRequiredNull() 공개 메소드

testValidateWithRequiredTrue() 공개 메소드

testValidatesCustomEventFalse() 공개 메소드

testValidatesCustomEventValid() 공개 메소드

testValidatesCustomEventsFalse() 공개 메소드

testValidatesCustomEventsFirstValid() 공개 메소드

testValidatesCustomEventsValid() 공개 메소드

testValidatesEmailIsNotEmpty() 공개 메소드

testValidatesEmailIsValid() 공개 메소드

testValidatesFalse() 공개 메소드

public testValidatesFalse ( )

testValidatesTitle() 공개 메소드

public testValidatesTitle ( )

testValidatesWithWhitelist() 공개 메소드

testValidationInheritance() 공개 메소드

testWhitelistWhenLockedUsingCreateForData() 공개 메소드

testWhitelistWhenLockedUsingCreateWithValidAndSaveForInvalidData() 공개 메소드

testWhitelistWhenLockedUsingSaveForData() 공개 메소드

프로퍼티 상세

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

protected $_altSchema