Changeset 325

Show
Ignore:
Timestamp:
02/27/08 17:20:44 (9 months ago)
Author:
ndory
Message:

Add Set Description? test

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cleversvg/trunk/tests/csDocumentTest.php

    r324 r325  
    4646  } 
    4747 
     48  public function testSetDescription() 
     49  { 
     50    $this->doc->setDescription('Changed description'); 
     51    $xml = $this->doc->toXML(); 
     52    $this->assertEquals(preg_match('#<desc>Changed description</desc>#si', $xml), 1, $xml); 
     53  } 
     54 
    4855  public function testToXml() 
    4956  {