Mercurial > hg > rc1
comparison vendor/sabre/vobject/tests/VObject/Parser/MimeDirTest.php @ 7:430dbd5346f7
vendor sabre as distributed
| author | Charlie Root |
|---|---|
| date | Sat, 13 Jan 2018 09:06:10 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 6:cec75ba50afc | 7:430dbd5346f7 |
|---|---|
| 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 } |
