Changeset 708
- Timestamp:
- 06/05/07 21:19:32 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/test/php/net/stubbles/xml/stubXMLSerializerTestCase.php
r707 r708 153 153 */ 154 154 public $xml = '<foo>bar</foo>'; 155 156 /** 157 * Property containing XML 158 * 159 * @XMLFragment(tagName=false); 160 * @var string 161 */ 162 public $xml2 = '<foo>bar</foo>'; 155 163 } 156 164 … … 330 338 $obj = new XMLSerializerFragmentTest(); 331 339 $this->serializer->serialize($obj, $writer); 332 $this->assertEqual('<?xml version="1.0" encoding="ISO-8859-1"?>' . "\n" . '<test><xml><foo>bar</foo></xml>< /test>', $writer->asXML());340 $this->assertEqual('<?xml version="1.0" encoding="ISO-8859-1"?>' . "\n" . '<test><xml><foo>bar</foo></xml><foo>bar</foo></test>', $writer->asXML()); 333 341 } 334 342
