Mercurial > hg > rc1
annotate vendor/sabre/vobject/tests/VObject/Parser/MimeDirTest.php @ 35:05c4c32948af
.hgignore: add vendor tree
composer.json: new packages
plugins/thunderbird_labels/thunderbird_labels.php: change hook and RFC822 use wrt whitelisting to avoid deprecated stuff
index.php: commented debugging hooks
others: new releases of vendor packages?
| author | Charlie Root |
|---|---|
| date | Thu, 30 Aug 2018 16:21:59 -0400 |
| parents | 430dbd5346f7 |
| children |
| rev | line source |
|---|---|
| 7 | 1 <?php |
| 2 | |
| 3 namespace Sabre\VObject\Parser; | |
| 4 | |
| 5 /** | |
| 6 * Note that most MimeDir related tests can actually be found in the ReaderTest | |
| 7 * class one level up. | |
| 8 */ | |
| 9 class MimeDirTest extends \PHPUnit_Framework_TestCase { | |
| 10 | |
| 11 /** | |
| 12 * @expectedException \Sabre\VObject\ParseException | |
| 13 */ | |
| 14 function testParseError() { | |
| 15 | |
| 16 $mimeDir = new MimeDir(); | |
| 17 $mimeDir->parse(fopen(__FILE__,'a')); | |
| 18 | |
| 19 } | |
| 20 | |
| 21 } |
