All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Static Protected Attributes
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 ()
 
- Public Member Functions inherited from ZurmoBaseTest
 setUp ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

static setUpBeforeClass ()
 
- Static Public Member Functions inherited from ZurmoBaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
- Static Public Member Functions inherited from BaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
static resetAndPopulateFilesArrayByFilePathAndName ($arrayName, $filePath, $fileName)
 
static getDependentTestModelClassNames ()
 
static getReflectedPropertyValue ($object, $propertyName)
 

Static Protected Attributes

static $chicagoOffsetInSeconds = 0
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

Additional Inherited Members

- Static Public Attributes inherited from ZurmoBaseTest
static $activateDefaultLanguages = false
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Protected Member Functions inherited from ZurmoBaseTest
 endPrintOutputBufferAndFail ()
 
- Protected Member Functions inherited from BaseTest
 assertWithinTolerance ($expected, $actual, $plusMinus)
 
 assertWithinPercentage ($expected, $actual, $percentage)
 
 isDebug ()
 
- Static Protected Member Functions inherited from ZurmoBaseTest
static startOutputBuffer ()
 
static endAndGetOutputBuffer ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 

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:
Generated on Thu May 28 2020 07:10:48