Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

GroupBysReportQueryBuilderTest Class Reference

Inheritance diagram for GroupBysReportQueryBuilderTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setup ()
 testDynamicUserOnClassThatExtendsPerson ()
 testModifierGroupBysWhenDate ()
 testModifierGroupBysWhenRelatedDate ()
 testModifierGroupBysWhenDateTime ()
 testModifierGroupBysWhenRelatedDateTime ()
 testLikeContactStateGroupBy ()
 testLikeContactStateGroupByWhenRelated ()
 testNonRelatedNonDerivedAttribute ()
 testNonRelatedNonDerivedCastedUpAttribute ()
 testTwoNonRelatedNonDerivedCastedUpAttributeWithOneOnAHasOneRelation ()
 testTwoNonRelatedNonDerivedCastedUpAttributeWithOneOnAHasManyRelation ()
 testTwoNonRelatedNonDerivedCastedUpAttributeWithOneOnAHasManyBelongsToRelation ()
 testTwoNonRelatedNonDerivedCastedUpAttributeWithOneOnAManyManyRelation ()
 testTwoNonRelatedNonDerivedCastedUpAttributeWithBothOnAHasOneRelation ()
 testTwoNonRelatedNonDerivedCastedUpAttributeWithBothOnAHasManyRelation ()
 testTwoNonRelatedNonDerivedCastedUpAttributeWithBothOnAHasManyBelongsToRelation ()
 testTwoNonRelatedNonDerivedCastedUpAttributeWithBothOnAManyManyRelation ()
 testThreeNonRelatedNonDerivedCastedUpAttributeWithTwoOnAHasOneRelationAndOneOnSelf ()
 testThreeNonRelatedNonDerivedCastedUpAttributeWithTwoOnAHasManyRelationAndOneOnSelf ()
 testThreeNonRelatedNonDerivedCastedUpAttributeWithTwoOnAHasManyBelongsToRelationAndOneOnSelf ()
 testThreeNonRelatedNonDerivedCastedUpAttributeWithTwoOnAManyManyRelationAndOneOnSelf ()
 testTwoCustomFieldsWhenOneIsOnRelatedModelAndOneIsOnSelf ()
 testTwoCustomFieldsWhenBothAreOnTheSameRelatedModelButDifferentRelations ()
 testTwoCustomFieldsWhenBothAreOnRelatedModelsThatAreDifferent ()
 testTwoCustomFieldsWhenBothAreOnTheSameRelatedModel ()
 testDynamicallyDerivedAttributeOnSelf ()
 testDynamicallyDerivedAttributeOneOnSelfAndOneOnRelatedModelWhereSameAttribute ()
 testDynamicallyDerivedAttributeOneOnSelfAndOneOnRelatedModelWhereDifferentAttributes ()
 testDynamicallyDerivedAttributeBothOnRelatedModelWhereDifferentAttributes ()
 testNestedRelationsThatComeBackOnTheBaseModel ()
 testThreeTestedRelationsWhereTheyBothGoToTheSameModelButAtDifferentNestingPoints ()
 testDerivedRelationViaCastedUpModelAttributeThatCastsDownAndSkipsAModelOne ()
 testDerivedRelationViaCastedUpModelAttributeThatCastsDownAndSkipsAModelTwo ()
 testTwoAttributesDerivedRelationViaCastedUpModelAttributeThatCastsDownAndSkipsAModel ()
 testDerivedRelationViaCastedUpModelAttributeThatDoesNotCastDown ()
 testDerivedRelationViaCastedUpModelAttributeWhenThroughARelation ()
 testDerivedRelationViaCastedUpModelAttributeWithCastingHintToNotCastDownSoFar ()
 testInferredRelationModelAttributeWithTwoAttributes ()
 testInferredRelationModelAttributeWithTwoAttributesNestedTwoLevelsDeep ()
 testInferredRelationModelAttributeWithTwoAttributesComingAtItFromANestedPoint ()
 testInferredRelationModelAttributeWithCastingHintToNotCastDownSoFarWithItemAttribute ()
 testInferredRelationModelAttributeWithCastingHintToNotCastDownSoFarWithMixedInAttribute ()
 testInferredRelationModelAttributeWithCastingHintToNotCastDowButAlsoWithFullCastDown ()
 testHasManyForHasManyBelongsToOnCastedUpModel ()
 testDerivedRelationViaCastedUpModelAttributeThatCastsDownTwiceWithNoSkips ()
 testPolymorphic ()

Static Public Member Functions

static setUpBeforeClass ()

Static Protected Attributes

static $chicagoOffsetInSeconds = 0

Detailed Description

Definition at line 37 of file GroupBysReportQueryBuilderTest.php.


Member Function Documentation

testLikeContactStateGroupBy (  ) 

Technically likeContactState doesn't need to join the reportModelTestItem7 table and could just group on the foreign id column on reportmodeltestitem. Unfortunetely this will require some additional refactoring in GroupBysReportQueryBuilder to make a custom ModelJoinBuilder. The only advantage of this would be potential performance gains since a join would not be used.

Definition at line 232 of file GroupBysReportQueryBuilderTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Apr 24 07:10:56 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8