Fix some problem with Monocle and add unit test. re #52
Bu işleme şunda yer alıyor:
ebeveyn
40de093311
işleme
5bc09db6fb
3 değiştirilmiş dosya ile 12 ekleme ve 2 silme
|
|
@ -63,4 +63,14 @@ class EpubFsTest extends PHPUnit_Framework_TestCase
|
|||
}
|
||||
$this->assertEquals ('epubfs.php?data=20&comp=css~SLASH~page.css', $import);
|
||||
}
|
||||
|
||||
public function testUrlInCss () {
|
||||
$data = getComponentContent (self::$book, "css~SLASH~main.css", self::$add);
|
||||
|
||||
$src = "";
|
||||
if (preg_match("/url\s*\(\'(.*?)\'\)/", $data, $matches)) {
|
||||
$src = $matches [1];
|
||||
}
|
||||
$this->assertEquals ('epubfs.php?data=20&comp=fonts~SLASH~times.ttf', $src);
|
||||
}
|
||||
}
|
||||
Yükleniyor…
Tablo ekle
Add a link
Yeni konuda referans