Changeset 4924 for trunk/tests/Orm

Show
Ignore:
Timestamp:
09/12/08 10:58:02 (4 months ago)
Author:
romanb
Message:

moved hydration stuff

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/Orm/Hydration/BasicHydrationTest.php

    r4776 r4924  
    7272             
    7373        $stmt = new Doctrine_HydratorMockStatement($resultSet); 
    74         $hydrator = new Doctrine_HydratorNew($this->_em); 
     74        $hydrator = new Doctrine_ORM_Internal_Hydration_StandardHydrator($this->_em); 
    7575         
    7676        $result = $hydrator->hydrateResultSet($this->_createParserResult( 
     
    159159             
    160160        $stmt = new Doctrine_HydratorMockStatement($resultSet); 
    161         $hydrator = new Doctrine_HydratorNew($this->_em); 
     161        $hydrator = new Doctrine_ORM_Internal_Hydration_StandardHydrator($this->_em); 
    162162         
    163163        $result = $hydrator->hydrateResultSet($this->_createParserResult( 
     
    255255             
    256256        $stmt = new Doctrine_HydratorMockStatement($resultSet); 
    257         $hydrator = new Doctrine_HydratorNew($this->_em); 
     257        $hydrator = new Doctrine_ORM_Internal_Hydration_StandardHydrator($this->_em); 
    258258         
    259259        $result = $hydrator->hydrateResultSet($this->_createParserResult( 
     
    348348             
    349349        $stmt = new Doctrine_HydratorMockStatement($resultSet); 
    350         $hydrator = new Doctrine_HydratorNew($this->_em); 
     350        $hydrator = new Doctrine_ORM_Internal_Hydration_StandardHydrator($this->_em); 
    351351         
    352352        $result = $hydrator->hydrateResultSet($this->_createParserResult( 
     
    488488             
    489489        $stmt = new Doctrine_HydratorMockStatement($resultSet); 
    490         $hydrator = new Doctrine_HydratorNew($this->_em); 
     490        $hydrator = new Doctrine_ORM_Internal_Hydration_StandardHydrator($this->_em); 
    491491         
    492492        $result = $hydrator->hydrateResultSet($this->_createParserResult( 
     
    663663             
    664664        $stmt = new Doctrine_HydratorMockStatement($resultSet); 
    665         $hydrator = new Doctrine_HydratorNew($this->_em); 
     665        $hydrator = new Doctrine_ORM_Internal_Hydration_StandardHydrator($this->_em); 
    666666         
    667667        $result = $hydrator->hydrateResultSet($this->_createParserResult( 
     
    828828             
    829829        $stmt = new Doctrine_HydratorMockStatement($resultSet); 
    830         $hydrator = new Doctrine_HydratorNew($this->_em); 
     830        $hydrator = new Doctrine_ORM_Internal_Hydration_StandardHydrator($this->_em); 
    831831         
    832832        $result = $hydrator->hydrateResultSet($this->_createParserResult( 
     
    919919             
    920920        $stmt = new Doctrine_HydratorMockStatement($resultSet); 
    921         $hydrator = new Doctrine_HydratorNew($this->_em); 
     921        $hydrator = new Doctrine_ORM_Internal_Hydration_StandardHydrator($this->_em); 
    922922         
    923923        if ($name == 'result1') { 
     
    934934                    $stmt, $queryComponents, $tableAliasMap, Doctrine::HYDRATE_SINGLE_SCALAR)); 
    935935                $this->fail(); 
    936             } catch (Doctrine_Hydrator_Exception $ex) {} 
     936            } catch (Doctrine_ORM_Exceptions_HydrationException $ex) {} 
    937937        } 
    938938