Author: maksim_ka
Date: 2010-04-25 09:51:22 +0200 (Sun, 25 Apr 2010)
New Revision: 29251

Removed:
   
plugins/sfPhpunitPlugin/branches/1.2/lib/fixture/data/sfPhpunitDoctrineData.php
   plugins/sfPhpunitPlugin/branches/1.2/lib/fixture/data/sfPhpunitPropelData.php
Log:
[sfPhpunitPlugin][sf1.2] lost file for the previus commit.

Deleted: 
plugins/sfPhpunitPlugin/branches/1.2/lib/fixture/data/sfPhpunitDoctrineData.php
===================================================================
--- 
plugins/sfPhpunitPlugin/branches/1.2/lib/fixture/data/sfPhpunitDoctrineData.php 
    2010-04-25 07:50:30 UTC (rev 29250)
+++ 
plugins/sfPhpunitPlugin/branches/1.2/lib/fixture/data/sfPhpunitDoctrineData.php 
    2010-04-25 07:51:22 UTC (rev 29251)
@@ -1,29 +0,0 @@
-<?php
-
-class sfPhpunitDoctrineData extends Doctrine_Data_Import
-{
-       /**
-        * (non-PHPdoc)
-        * @see 
plugins/sfPhpunitPlugin/lib/fixture/data/sfPhpunitDataInterface#getObject($id, 
$class)
-        */
-       public function getObject($id)
-       {
-         if (strpos($id, '_') === false) {
-           throw new Exception('The id should match the pattern {class}_{id} 
but you provide: `'.$id.'`'); 
-         }
-         
-         list($table, $id) = explode('_', $id, 2);
-    $id = '('.strtolower($table).') '.strtolower($id);
-
-       if (!isset($this->_importedObjects[$id])) {
-         throw new Exception('The data object with given id `'.$id.'` does not 
exist');  
-       }
-       
-       return $this->_importedObjects[$id];
-       }
-       
-       public function cleanObjects()
-       {
-               $this->_importedObjects = array();
-       }
-}
\ No newline at end of file

Deleted: 
plugins/sfPhpunitPlugin/branches/1.2/lib/fixture/data/sfPhpunitPropelData.php
===================================================================
--- 
plugins/sfPhpunitPlugin/branches/1.2/lib/fixture/data/sfPhpunitPropelData.php   
    2010-04-25 07:50:30 UTC (rev 29250)
+++ 
plugins/sfPhpunitPlugin/branches/1.2/lib/fixture/data/sfPhpunitPropelData.php   
    2010-04-25 07:51:22 UTC (rev 29251)
@@ -1,26 +0,0 @@
-<?php
-
-class sfPhpunitPropelData extends sfPropelData
-{
-       /**
-        * (non-PHPdoc)
-        * @see 
plugins/sfPhpunitPlugin/lib/fixture/data/sfPhpunitDataInterface#getObject($id, 
$class)
-        */
-       public function getObject($id)
-       {       
-         if (strpos($id, '_') === false) {
-      throw new Exception('The id should match the pattern {class}_{id} but 
you provide: `'.$id.'`'); 
-    }
-    
-         if (!isset($this->object_references[$id])) {
-      throw new Exception('The data object with given id `'.$id.'` does not 
exist');  
-    }
-         
-               return $this->object_references[$id];
-       }
-       
-       public function cleanObjects()
-       {
-               $this->object_references = array();
-       }
-}
\ No newline at end of file

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to