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 Thu Jul 27 07:10:25 2017