Changeset 4785 for trunk/tests/Orm

Show
Ignore:
Timestamp:
08/21/08 21:45:19 (5 months ago)
Author:
guilhermeblanco
Message:

DQL Parser refactorings and enhancements. Finished basic drat of Join support.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/Orm/Query/SelectSqlGenerationTest.php

    r4725 r4785  
    168168    } 
    169169 
     170 
     171    public function testPlainJoinWithoutClause() 
     172    { 
     173        $this->assertSqlGeneration( 
     174            'SELECT u.id, a.id FROM CmsUser u LEFT JOIN u.articles a', 
     175            'SELECT cu.id AS cu__id, ca.id AS ca__id FROM cms_user cu LEFT JOIN cms_article ca ON ca.user_id = cu.id WHERE 1 = 1' 
     176        ); 
     177    } 
     178 
    170179}