]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - tests/unit/lib/DumpHtml.php
cache groups, added load and save tests
[SourceForge/phpwiki.git] / tests / unit / lib / DumpHtml.php
1 <?php
2 /**
3  * Check if all pages can be rendered (dumped)
4  */
5
6 require_once 'lib/loadsave.php';
7 require_once 'PHPUnit.php';
8
9 class DumpHtml extends PHPUnit_TestCase {
10     // constructor of the test suite
11     function DumpHtml($name) {
12        $this->PHPUnit_TestCase($name);
13     }
14
15     function testDumpHtml() {
16         global $request;
17         $request->setArg('directory','.dumphtml');
18
19         DumpHtmlToDir($request);
20         
21         //$this->assertEquals(2, $pl->getTotal(), "count 2");
22     }
23 }
24
25
26 ?>