Development

Changeset 28673 for plugins/sfImageTransformExtraPlugin

You must first sign up to be able to contribute.

Show
Ignore:
Timestamp:
03/22/10 14:14:29 (3 years ago)
Author:
caefer
Message:

added TestCase? for Propel source (still empty) - typofix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfImageTransformExtraPlugin/trunk/test/unit/lib/source/sfImageSourcePropelTest.php

    r28671 r28673  
    3737  public function testStream_close() 
    3838  { 
    39     $this->markTestSkipped('No Propel fixture written yet..') 
    40     //$fh = fopen($this->testSourceUri, 'r')
     39    $this->markTestSkipped('No Propel fixture written yet..'); 
     40    //$fh = fopen($this->testSourceUri, ..');
    4141    //$this->assertTrue(is_resource($fh)); 
    4242    //fclose($fh); 
     
    4646  public function testStream_eof() 
    4747  { 
    48     $this->markTestSkipped('No Propel fixture written yet..') 
    49     //$fh = fopen($this->testSourceUri, 'r')
     48    $this->markTestSkipped('No Propel fixture written yet..'); 
     49    //$fh = fopen($this->testSourceUri, ..');
    5050    //$this->assertFalse(feof($fh)); 
    5151    //while(!feof($fh)) 
     
    5959  public function testStream_flush() 
    6060  { 
    61     $this->markTestSkipped('No Propel fixture written yet..') 
    62     //$fh = fopen($this->testSourceUri, 'r')
     61    $this->markTestSkipped('No Propel fixture written yet..'); 
     62    //$fh = fopen($this->testSourceUri, ..');
    6363    //$this->assertTrue(fflush($fh)); 
    6464    //fclose($fh); 
     
    6767  public function testStream_open() 
    6868  { 
    69     $this->markTestSkipped('No Propel fixture written yet..') 
    70     //$fh = fopen($this->testSourceUri, 'r')
     69    $this->markTestSkipped('No Propel fixture written yet..'); 
     70    //$fh = fopen($this->testSourceUri, ..');
    7171    //$this->assertTrue(is_resource($fh)); 
    7272    //fclose($fh); 
     
    7575  public function testStream_read() 
    7676  { 
    77     $this->markTestSkipped('No Propel fixture written yet..') 
    78     //$fh = fopen($this->testSourceUri, 'r')
     77    $this->markTestSkipped('No Propel fixture written yet..'); 
     78    //$fh = fopen($this->testSourceUri, ..');
    7979    //$this->assertEquals(10, strlen(fread($fh, 10))); 
    8080    //fclose($fh); 
     
    8383  public function testStream_stat() 
    8484  { 
    85     $this->markTestSkipped('No Propel fixture written yet..') 
    86     //$fh = fopen($this->testSourceUri, 'r')
     85    $this->markTestSkipped('No Propel fixture written yet..'); 
     86    //$fh = fopen($this->testSourceUri, ..');
    8787    //$this->assertTrue(is_array(fstat($fh))); 
    8888    //fclose($fh); 
     
    9191  public function testUrl_stat() 
    9292  { 
    93     $this->markTestSkipped('No Propel fixture written yet..') 
     93    $this->markTestSkipped('No Propel fixture written yet..'); 
    9494    //$this->assertTrue(is_array(stat($this->testSourceUri))); 
    9595  } 
     
    9797  public function testBuildURIfromParameters() 
    9898  { 
    99     $this->markTestSkipped('No Propel fixture written yet..') 
     99    $this->markTestSkipped('No Propel fixture written yet..'); 
    100100    //$this->assertEquals('sfImageSource://TestRecord/file#1', sfImageSourcePropel::buildURIfromParameters($this->testParameters)); 
    101101  } 
     
    103103  protected function setUp() 
    104104  { 
    105     $this->markTestSkipped('No Propel fixture written yet..') 
    106     //$this->dbh = new Propel_Adapter_Mock('mysql')
     105    $this->markTestSkipped('No Propel fixture written yet..'); 
     106    //$this->dbh = new Propel_Adapter_Mock('mys..');
    107107    //$this->conn = Propel_Manager::getInstance()->openConnection($this->dbh, 'mysql', true); 
    108108 
    109109    //if(in_array('sfImageSource', stream_get_wrappers())) 
    110110    //{ 
    111     //  stream_wrapper_unregister('sfImageSource')
     111    //  stream_wrapper_unregister('sfImageSour..');
    112112    //} 
    113     //stream_wrapper_register('sfImageSource', 'sfImageSourcePropel') or die('Failed to register protocol..')
     113    //stream_wrapper_register('sfImageSource', 'sfImageSourceProp..'); or die('Failed to register protocol..');
    114114 
    115115    //$this->testSourceUri = sfImageSourcePropel::buildURIfromParameters($this->testParameters);