2009-11-24 12:52:53 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once('PHPUnit/Framework.php');
|
|
|
|
require_once('MockPress/mockpress.php');
|
|
|
|
require_once('backends/ComicPressBackendFilesystem.inc');
|
2009-11-25 00:33:16 +00:00
|
|
|
require_once('ComicPress.inc');
|
2009-11-24 12:52:53 +00:00
|
|
|
require_once('vfsStream/vfsStream.php');
|
|
|
|
|
|
|
|
class ComicPressBackendFilesystemTest extends PHPUnit_Framework_TestCase {
|
|
|
|
function setUp() {
|
|
|
|
_reset_wp();
|
|
|
|
$this->fs = new ComicPressBackendFilesystem();
|
2009-11-25 00:19:53 +00:00
|
|
|
|
|
|
|
vfsStreamWrapper::register();
|
|
|
|
vfsStreamWrapper::setRoot(new vfsStreamDirectory('root'));
|
2009-11-24 12:52:53 +00:00
|
|
|
}
|
|
|
|
|
2009-12-06 21:17:09 +00:00
|
|
|
function testSomething() {}
|
2009-11-25 03:15:34 +00:00
|
|
|
}
|