QueryBuilderDocumentationTest Class Reference

Inheritance diagram for QueryBuilderDocumentationTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setup ()
 testSomething ()
 testOrderByNoteCreatedDateTimeAndConfirmJoinsAreCorrect ()
 testOrderByWorksOnAccountsAndNoteReport ()
 testFiltersWorksOnAccountsAndNoteReport ()

Static Public Member Functions

static setUpBeforeClass ()

Detailed Description

Definition at line 37 of file QueryBuilderDocumentationTest.php.


Member Function Documentation

testOrderByNoteCreatedDateTimeAndConfirmJoinsAreCorrect (  ) 

Test to confirm joins are working correctly when ordering by an attribute on item. Testing when the join adapter has already added a display attribute from a related account

Definition at line 63 of file QueryBuilderDocumentationTest.php.

testOrderByWorksOnAccountsAndNoteReport (  ) 

Running a report centered on notes, with a display attribute from notes and accounts. Ordered by created date time in notes. Should produce proper query to order by notes. This test just makes sure the sql is structured properly

Definition at line 98 of file QueryBuilderDocumentationTest.php.

testFiltersWorksOnAccountsAndNoteReport (  ) 

Running a report centered on notes, with a display attribute from notes and accounts. With a created by dateTime filter should produce proper query filter notes. This test just makes sure the sql is structured properly

Definition at line 135 of file QueryBuilderDocumentationTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Aug 23 07:10:29 2017