PHP Class lithium\tests\cases\data\source\DatabaseTest

Inheritance: extends lithium\test\Unit
Datei anzeigen Open project: unionofrad/lithium

Protected Properties

Property Type Description
$_comment
$_configs
$_db
$_gallery
$_imageTag
$_model

Public Methods

Method Description
setUp ( )
tearDown ( )
testBooleanValueByIntrospection ( )
testBooleanValueWithSchemaFormatter ( )
testCalculation ( )
testCastingQueryConditionsWithSchemaWithAlias ( )
testCleanRenderCommand ( )
testConditions ( )
testConstraints ( )
testCreate ( )
testCreateGenericSyntax ( )
testCreateWithKey ( )
testCreateWithValueBySchema ( )
testCustomField ( )
testDateTimeValueWithSchemaFormatter ( )
testDefaultConfig ( )
testDelete ( )
testExportedFieldsWithJoinedStrategy ( )
testExportedFieldsWithJoinedStrategyAndRecursiveRelation ( )
testFields ( )
testFieldsWithEmptyAlias ( )
testGroup ( )
testGroupOnRelation ( )
testGroupWithAlias ( )
testHasManyRelationsWithLimitAndWithoutConditions ( )
testHaving ( )
testIncrement ( )
testInvalidQueryType ( )
testItem ( )
testJoin ( )
testLimit ( )
testModelFindBy ( )
testModelFindFirstPassesConditionsIntoSubsequent ( ) Tests that when using LIMIT together with relation conditions and relationship, relation conditions are passed into the subsequent query issued.
testModifyConfig ( )
testMultiHasManyRelationsWithLimit ( )
testName ( )
testNestedQueryConditions ( )
testNullValueWithSchemaFormatter ( )
testNumericValueByIntrospection ( )
testNumericValueWithSchemaFormatter ( )
testObjectValueWithSchemaFormatter ( )
testOn ( )
testOrder ( )
testOrderOnRelated ( )
testQueryJoin ( )
testQueryOperators ( )
testQueryOrderSyntaxes ( ) Tests that various syntaxes for the 'order' key of the query object produce the correct SQL.
testRawConditions ( )
testRawHaving ( )
testRawOptionSettingWithNoResultResource ( ) Verifies that setting options using a raw SQL string works, when the operation returns no result.
testReadConditionsWithModel ( )
testReadWithHasManyAndLimit ( )
testReadWithQueryObjectArray ( )
testReadWithQueryObjectRecordSet ( )
testReadWithQueryStringReturnArrayWithSchema ( )
testReadWithQueryStringReturnResource ( )
testReadWithRelationship ( )
testReadWithRelationshipWithNullConstraint ( )
testRelationshipGeneration ( )
testRelationshipGenerationWithNullConstraint ( )
testRenderArrayJoin ( )
testRenderArrayJoinConstraintComplex ( ) Tests that complex model constraints with custom operators render correct constraint strings.
testRenderArrayJoinConstraintComplexArray ( ) Tests that complex model constraints with custom operators render correct constraint strings.
testReturnArrayOnReadWithQuery ( )
testReturnArrayOnReadWithString ( )
testSchema ( )
testSchemaFromManualFieldList ( )
testScopedDelete ( )
testScopedUpdate ( )
testSimpleQueryRender ( )
testStringValueByIntrospection ( )
testStringValueWithSchemaFormatter ( )
testUpdate ( )
testUpdateWithValueBySchema ( )
testWithGeneration ( )
testWithOptionAndConstraintInRelation ( )
testWithOptionAndCustomAlias ( )
testWithOptionAndInlineConstraint ( )
testWithOptionWithNullConstraint ( )
testsplitFieldname ( )

Method Details

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

testBooleanValueByIntrospection() public method

testBooleanValueWithSchemaFormatter() public method

testCalculation() public method

public testCalculation ( )

testCastingQueryConditionsWithSchemaWithAlias() public method

testCleanRenderCommand() public method

testConditions() public method

public testConditions ( )

testConstraints() public method

public testConstraints ( )

testCreate() public method

public testCreate ( )

testCreateGenericSyntax() public method

testCreateWithKey() public method

public testCreateWithKey ( )

testCreateWithValueBySchema() public method

testCustomField() public method

public testCustomField ( )

testDateTimeValueWithSchemaFormatter() public method

testDefaultConfig() public method

public testDefaultConfig ( )

testDelete() public method

public testDelete ( )

testExportedFieldsWithJoinedStrategy() public method

testExportedFieldsWithJoinedStrategyAndRecursiveRelation() public method

testFields() public method

public testFields ( )

testFieldsWithEmptyAlias() public method

testGroup() public method

public testGroup ( )

testGroupOnRelation() public method

public testGroupOnRelation ( )

testGroupWithAlias() public method

public testGroupWithAlias ( )

testHasManyRelationsWithLimitAndWithoutConditions() public method

testHaving() public method

public testHaving ( )

testIncrement() public method

public testIncrement ( )

testInvalidQueryType() public method

testItem() public method

public testItem ( )

testJoin() public method

public testJoin ( )

testLimit() public method

public testLimit ( )

testModelFindBy() public method

public testModelFindBy ( )

testModelFindFirstPassesConditionsIntoSubsequent() public method

Tests that when using LIMIT together with relation conditions and relationship, relation conditions are passed into the subsequent query issued.

testModifyConfig() public method

public testModifyConfig ( )

testMultiHasManyRelationsWithLimit() public method

testName() public method

public testName ( )

testNestedQueryConditions() public method

testNullValueWithSchemaFormatter() public method

testNumericValueByIntrospection() public method

testNumericValueWithSchemaFormatter() public method

testObjectValueWithSchemaFormatter() public method

testOn() public method

public testOn ( )

testOrder() public method

public testOrder ( )

testOrderOnRelated() public method

public testOrderOnRelated ( )

testQueryJoin() public method

public testQueryJoin ( )

testQueryOperators() public method

public testQueryOperators ( )

testQueryOrderSyntaxes() public method

Tests that various syntaxes for the 'order' key of the query object produce the correct SQL.

testRawConditions() public method

public testRawConditions ( )

testRawHaving() public method

public testRawHaving ( )

testRawOptionSettingWithNoResultResource() public method

Verifies that setting options using a raw SQL string works, when the operation returns no result.

testReadConditionsWithModel() public method

testReadWithHasManyAndLimit() public method

testReadWithQueryObjectArray() public method

testReadWithQueryObjectRecordSet() public method

testReadWithQueryStringReturnArrayWithSchema() public method

testReadWithQueryStringReturnResource() public method

testReadWithRelationship() public method

testReadWithRelationshipWithNullConstraint() public method

testRelationshipGeneration() public method

testRelationshipGenerationWithNullConstraint() public method

testRenderArrayJoin() public method

public testRenderArrayJoin ( )

testRenderArrayJoinConstraintComplex() public method

Tests that complex model constraints with custom operators render correct constraint strings.

testRenderArrayJoinConstraintComplexArray() public method

Tests that complex model constraints with custom operators render correct constraint strings.

testReturnArrayOnReadWithQuery() public method

testReturnArrayOnReadWithString() public method

testSchema() public method

public testSchema ( )

testSchemaFromManualFieldList() public method

testScopedDelete() public method

public testScopedDelete ( )

testScopedUpdate() public method

public testScopedUpdate ( )

testSimpleQueryRender() public method

testStringValueByIntrospection() public method

testStringValueWithSchemaFormatter() public method

testUpdate() public method

public testUpdate ( )

testUpdateWithValueBySchema() public method

testWithGeneration() public method

public testWithGeneration ( )

testWithOptionAndConstraintInRelation() public method

testWithOptionAndCustomAlias() public method

testWithOptionAndInlineConstraint() public method

testWithOptionWithNullConstraint() public method

testsplitFieldname() public method

public testsplitFieldname ( )

Property Details

$_comment protected_oe property

protected $_comment

$_configs protected_oe property

protected $_configs

$_db protected_oe property

protected $_db

$_imageTag protected_oe property

protected $_imageTag

$_model protected_oe property

protected $_model