@@ 34-40 (lines=7) @@ | ||
31 | $this->_assertEqualsXmlFile($doc, 'documentPlain.html'); |
|
32 | } |
|
33 | ||
34 | function testBasic() |
|
35 | { |
|
36 | $doc = new hemio\html\Document(new hemio\html\Str('Basic test')); |
|
37 | $doc->getHtml()->getHead()->addMeta('author', 'Author Name "'); |
|
38 | ||
39 | $this->_assertEqualsXmlFile($doc, 'documentBasic.html'); |
|
40 | } |
|
41 | ||
42 | function testUnicode() |
|
43 | { |
|
@@ 42-49 (lines=8) @@ | ||
39 | $this->_assertEqualsXmlFile($doc, 'documentBasic.html'); |
|
40 | } |
|
41 | ||
42 | function testUnicode() |
|
43 | { |
|
44 | $doc = new hemio\html\Document(new hemio\html\Str('ת—א')); |
|
45 | $doc->getHtml()->getHead()->addMeta('author', |
|
46 | 'أبو زيد حنين بن إسحاق العبادي'); |
|
47 | ||
48 | $this->_assertEqualsXmlFile($doc, 'documentUnicode.html'); |
|
49 | } |
|
50 | } |
|
51 |